LongitudinalTrackHitsBaseTool class. More...
#include <LongitudinalTrackHitsBaseTool.h>
Public Member Functions | |
| LongitudinalTrackHitsBaseTool () | |
| Default constructor. More... | |
Public Member Functions inherited from lar_content::TrackHitsBaseTool | |
| 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 Member Functions | |
| virtual void | GetLongitudinalTrackHit3D (const MatchedSlidingFitMap &matchedSlidingFitMap, const pandora::CartesianVector &vtx3D, const pandora::CartesianVector &end3D, ProtoHit &protoHit) const =0 |
| Get the three dimensional position using a provided two dimensional calo hit and sliding linear fits in the other two views. More... | |
| virtual void | GetTrackHits3D (const pandora::CaloHitVector &inputTwoDHits, const MatchedSlidingFitMap &matchedSlidingFitMap, ProtoHitVector &protoHitVector) const |
| Calculate 3D hits from an input list of 2D hits. More... | |
| virtual pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Protected Member Functions inherited from lar_content::TrackHitsBaseTool | |
| virtual void | BuildSlidingFitMap (const pandora::ParticleFlowObject *const pPfo, MatchedSlidingFitMap &matchedSlidingFitMap) const |
| Calculate sliding fit results for clusters from each view. More... | |
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... | |
Private Member Functions | |
| void | GetVertexAndEndPositions (const MatchedSlidingFitMap &inputSlidingFitMap, MatchedSlidingFitMap &outputSlidingFitMap, pandora::CartesianVector &outputVtx3D, pandora::CartesianVector &outputEnd3D) const |
| Get reconstructed vertex and end positions for this 3D track. More... | |
| void | UpdateBestPosition (const pandora::HitType hitType1, const pandora::HitType hitType2, const pandora::CartesianVector &vtx1, const pandora::CartesianVector &vtx2, pandora::CartesianVector &bestVtx, float &bestChi2) const |
| Combine two 2D coordinates to give a 3D coordinate. More... | |
Private Attributes | |
| float | m_vtxDisplacementCutSquared |
| float | m_minTrackLengthSquared |
Additional Inherited Members | |
Public Types inherited from lar_content::HitCreationBaseTool | |
| typedef ThreeDHitCreationAlgorithm::ProtoHit | ProtoHit |
| typedef ThreeDHitCreationAlgorithm::ProtoHitVector | ProtoHitVector |
| typedef ThreeDHitCreationAlgorithm::TrajectorySample | TrajectorySample |
Protected Types inherited from lar_content::TrackHitsBaseTool | |
| typedef std::map< pandora::HitType, TwoDSlidingFitResult > | MatchedSlidingFitMap |
Protected Attributes inherited from lar_content::TrackHitsBaseTool | |
| 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... | |
LongitudinalTrackHitsBaseTool class.
Definition at line 19 of file LongitudinalTrackHitsBaseTool.h.
| lar_content::LongitudinalTrackHitsBaseTool::LongitudinalTrackHitsBaseTool | ( | ) |
Default constructor.
Definition at line 21 of file LongitudinalTrackHitsBaseTool.cc.
|
protectedpure virtual |
Get the three dimensional position using a provided two dimensional calo hit and sliding linear fits in the other two views.
| matchedSlidingFitMap | map of sliding fit results from each view |
| vtx3D | the 3D vertex position |
| end3D | the 3D end position |
| protoHit | to receive the populated proto hit |
Implemented in lar_content::ClearLongitudinalTrackHitsTool, and lar_content::MultiValuedLongitudinalTrackHitsTool.
|
protectedvirtual |
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 |
Implements lar_content::TrackHitsBaseTool.
Definition at line 29 of file LongitudinalTrackHitsBaseTool.cc.
|
private |
Get reconstructed vertex and end positions for this 3D track.
| inputSlidingFitMap | input map of sliding fit results from each view |
| outputSlidingFitMap | output map of clean sliding fit results from each view |
| outputVtx3D | reconstructed start position of 3D track |
| outputEnd3D | reconstructed end position of 3D track |
Definition at line 54 of file LongitudinalTrackHitsBaseTool.cc.
|
protectedvirtual |
Reimplemented from lar_content::TrackHitsBaseTool.
Definition at line 214 of file LongitudinalTrackHitsBaseTool.cc.
|
private |
Combine two 2D coordinates to give a 3D coordinate.
| hitType1 | the view corresponding to the first position |
| hitType2 | the view corresponding to the second position |
| vtx1 | the first position |
| vtx2 | the second position |
| bestVtx | the combined vertex position |
| bestChi2 | the chi-squared from the combination |
Definition at line 197 of file LongitudinalTrackHitsBaseTool.cc.
|
private |
Definition at line 70 of file LongitudinalTrackHitsBaseTool.h.
|
private |
Definition at line 69 of file LongitudinalTrackHitsBaseTool.h.
1.8.11