TrackHitsBaseTool class. More...
#include <TrackHitsBaseTool.h>
Public Member Functions | |
TrackHitsBaseTool () | |
Default constructor. More... | |
virtual void | Run (ThreeDHitCreationAlgorithm *const pAlgorithm, const pandora::ParticleFlowObject *const pPfo, const pandora::CaloHitVector &inputTwoDHits, ProtoHitVector &protoHitVector) |
Run the algorithm tool. More... | |
Public Member Functions inherited from lar_content::HitCreationBaseTool | |
HitCreationBaseTool () | |
Default constructor. More... | |
virtual | ~HitCreationBaseTool () |
Destructor. More... | |
Protected Types | |
typedef std::map < pandora::HitType, TwoDSlidingFitResult > | MatchedSlidingFitMap |
Protected Member Functions | |
virtual void | GetTrackHits3D (const pandora::CaloHitVector &inputTwoDHits, const MatchedSlidingFitMap &matchedSlidingFitMap, ProtoHitVector &protoHitVector) const =0 |
Calculate 3D hits from an input list of 2D hits. More... | |
virtual void | BuildSlidingFitMap (const pandora::ParticleFlowObject *const pPfo, MatchedSlidingFitMap &matchedSlidingFitMap) const |
Calculate sliding fit results for clusters from each view. More... | |
virtual pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Protected Member Functions inherited from lar_content::HitCreationBaseTool | |
virtual void | GetBestPosition3D (const pandora::HitType hitType1, const pandora::HitType hitType2, const pandora::CartesianPointVector &fitPositionList1, const pandora::CartesianPointVector &fitPositionList2, ProtoHit &protoHit) const |
Get the three dimensional position using a provided two dimensional calo hit and candidate fit positions from the other two views. More... | |
virtual void | GetBestPosition3D (const pandora::HitType hitType1, const pandora::HitType hitType2, const pandora::CartesianVector &fitPosition1, const pandora::CartesianVector &fitPosition2, ProtoHit &protoHit) const |
Get the three dimensional position using a provided two dimensional calo hit and candidate fit positions from the other two views. More... | |
virtual void | GetBestPosition3D (const pandora::HitType hitType, const pandora::CartesianVector &fitPosition, ProtoHit &protoHit) const |
Get the three dimensional position using a provided two dimensional calo hit and a candidate fit position from another view. More... | |
Protected Attributes | |
unsigned int | m_minViews |
The minimum number of views required for building hits. More... | |
unsigned int | m_slidingFitWindow |
The layer window for the sliding linear fits. More... | |
Protected Attributes inherited from lar_content::HitCreationBaseTool | |
double | m_sigmaX2 |
The sigmaX squared value, for calculation of chi2 deltaX term. More... | |
double | m_chiSquaredCut |
The chi squared cut (accept only values below the cut value) More... | |
Additional Inherited Members | |
Public Types inherited from lar_content::HitCreationBaseTool | |
typedef ThreeDHitCreationAlgorithm::ProtoHit | ProtoHit |
typedef ThreeDHitCreationAlgorithm::ProtoHitVector | ProtoHitVector |
typedef ThreeDHitCreationAlgorithm::TrajectorySample | TrajectorySample |
TrackHitsBaseTool class.
Definition at line 23 of file TrackHitsBaseTool.h.
|
protected |
Definition at line 35 of file TrackHitsBaseTool.h.
lar_content::TrackHitsBaseTool::TrackHitsBaseTool | ( | ) |
Default constructor.
Definition at line 23 of file TrackHitsBaseTool.cc.
|
protectedvirtual |
Calculate sliding fit results for clusters from each view.
pPfo | the input particle flow object |
matchedSlidingFitMap | the group of sliding fit results |
Definition at line 55 of file TrackHitsBaseTool.cc.
|
protectedpure virtual |
Calculate 3D hits from an input list of 2D hits.
pAlgorithm | the hit creation algorithm |
inputTwoDHits | the input vector of 2D hits |
matchedSlidingFitMap | the group of sliding fit results |
protoHitVector | to receive the new three dimensional proto hits |
Implemented in lar_content::LongitudinalTrackHitsBaseTool, and lar_content::TransverseTrackHitsBaseTool.
|
protectedvirtual |
Reimplemented from lar_content::HitCreationBaseTool.
Reimplemented in lar_content::LongitudinalTrackHitsBaseTool.
Definition at line 91 of file TrackHitsBaseTool.cc.
|
virtual |
Run the algorithm tool.
pAlgorithm | address of the calling algorithm |
pPfo | the address of the pfo |
inputTwoDHits | the vector of input two dimensional hits |
protoHitVector | to receive the new three dimensional proto hits |
Implements lar_content::HitCreationBaseTool.
Definition at line 29 of file TrackHitsBaseTool.cc.
|
protected |
The minimum number of views required for building hits.
Definition at line 58 of file TrackHitsBaseTool.h.
|
protected |
The layer window for the sliding linear fits.
Definition at line 59 of file TrackHitsBaseTool.h.