![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Proto hits are temporary constructs to be used during iterative 3D hit procedure. More...
#include "ThreeDHitCreationAlgorithm.h"
Public Member Functions | |
| ProtoHit (const pandora::CaloHit *const pParentCaloHit2D) | |
| Constructor. More... | |
| const pandora::CaloHit * | GetParentCaloHit2D () const |
| Get the address of the parent 2D calo hit. More... | |
| bool | IsPositionSet () const |
| Whether the proto hit position is set. More... | |
| const pandora::CartesianVector & | GetPosition3D () const |
| Get the output 3D position. More... | |
| double | GetChi2 () const |
| Get the chi squared value. More... | |
| unsigned int | GetNTrajectorySamples () const |
| Get the number of trajectory samples. More... | |
| const TrajectorySample & | GetFirstTrajectorySample () const |
| Get the first trajectory sample. More... | |
| const TrajectorySample & | GetLastTrajectorySample () const |
| Get the last trajectory sample. More... | |
| void | SetPosition3D (const pandora::CartesianVector &position3D, const double chi2) |
| Set position 3D. More... | |
| void | AddTrajectorySample (const TrajectorySample &trajectorySample) |
| Add a trajectory sample. More... | |
Private Attributes | |
| const pandora::CaloHit * | m_pParentCaloHit2D |
| The address of the parent 2D calo hit. More... | |
| bool | m_isPositionSet |
| Whether the output 3D position has been set. More... | |
| pandora::CartesianVector | m_position3D |
| The output 3D position. More... | |
| double | m_chi2 |
| The output chi squared value. More... | |
| TrajectorySampleVector | m_trajectorySampleVector |
| The trajectory sample vector. More... | |
Proto hits are temporary constructs to be used during iterative 3D hit procedure.
Definition at line 73 of file ThreeDHitCreationAlgorithm.h.
|
inline |
Constructor.
| pParentCaloHit2D | the address of the parent 2D calo hit |
Definition at line 319 of file ThreeDHitCreationAlgorithm.h.
|
inline |
Add a trajectory sample.
| the | trajectory sample |
Definition at line 359 of file ThreeDHitCreationAlgorithm.h.
References m_trajectorySampleVector.
Referenced by lar_content::HitCreationBaseTool::~HitCreationBaseTool().
| double lar_content::ThreeDHitCreationAlgorithm::ProtoHit::GetChi2 | ( | ) | const |
Get the chi squared value.
| StatusCodeException |
Definition at line 412 of file ThreeDHitCreationAlgorithm.cc.
Referenced by lar_content::TransverseTrackHitsBaseTool::AddTransverseChi2(), lar_content::ThreeViewShowerHitsTool::GetShowerHit3D(), lar_content::TransverseTrackHitsBaseTool::GetTrackHits3D(), lar_content::LongitudinalTrackHitsBaseTool::GetTrackHits3D(), and lar_content::HitCreationBaseTool::~HitCreationBaseTool().
| const ThreeDHitCreationAlgorithm::TrajectorySample & lar_content::ThreeDHitCreationAlgorithm::ProtoHit::GetFirstTrajectorySample | ( | ) | const |
Get the first trajectory sample.
| StatusCodeException |
Definition at line 422 of file ThreeDHitCreationAlgorithm.cc.
| const ThreeDHitCreationAlgorithm::TrajectorySample & lar_content::ThreeDHitCreationAlgorithm::ProtoHit::GetLastTrajectorySample | ( | ) | const |
Get the last trajectory sample.
| StatusCodeException |
Definition at line 432 of file ThreeDHitCreationAlgorithm.cc.
|
inline |
Get the number of trajectory samples.
Definition at line 343 of file ThreeDHitCreationAlgorithm.h.
References m_trajectorySampleVector.
|
inline |
Get the address of the parent 2D calo hit.
Definition at line 329 of file ThreeDHitCreationAlgorithm.h.
References m_pParentCaloHit2D.
Referenced by lar_content::TransverseTrackHitsBaseTool::AddTransverseChi2(), lar_content::ThreeDHitCreationAlgorithm::CreateThreeDHit(), lar_content::MultiValuedLongitudinalTrackHitsTool::GetLongitudinalTrackHit3D(), lar_content::ClearLongitudinalTrackHitsTool::GetLongitudinalTrackHit3D(), lar_content::ThreeViewShowerHitsTool::GetShowerHit3D(), lar_content::ClearTransverseTrackHitsTool::GetTransverseTrackHit3D(), lar_content::MultiValuedTransverseTrackHitsTool::GetTransverseTrackHit3D(), and lar_content::HitCreationBaseTool::~HitCreationBaseTool().
| const CartesianVector & lar_content::ThreeDHitCreationAlgorithm::ProtoHit::GetPosition3D | ( | ) | const |
Get the output 3D position.
| StatusCodeException |
Definition at line 402 of file ThreeDHitCreationAlgorithm.cc.
Referenced by lar_content::TransverseTrackHitsBaseTool::AddTransverseChi2(), lar_content::ThreeDHitCreationAlgorithm::CheckThreeDHit(), and lar_content::ThreeDHitCreationAlgorithm::CreateThreeDHit().
|
inline |
Whether the proto hit position is set.
Definition at line 336 of file ThreeDHitCreationAlgorithm.h.
References m_isPositionSet.
Referenced by lar_content::DeltaRayShowerHitsTool::CreateDeltaRayShowerHits3D(), lar_content::ThreeViewShowerHitsTool::GetShowerHit3D(), lar_content::TransverseTrackHitsBaseTool::GetTrackHits3D(), lar_content::LongitudinalTrackHitsBaseTool::GetTrackHits3D(), and lar_content::HitCreationBaseTool::~HitCreationBaseTool().
|
inline |
Set position 3D.
| the | output 3D position |
| the | output chi squared value |
Definition at line 350 of file ThreeDHitCreationAlgorithm.h.
References m_chi2, m_isPositionSet, and m_position3D.
Referenced by lar_content::TransverseTrackHitsBaseTool::AddTransverseChi2(), and lar_content::HitCreationBaseTool::~HitCreationBaseTool().
|
private |
The output chi squared value.
Definition at line 159 of file ThreeDHitCreationAlgorithm.h.
Referenced by SetPosition3D().
|
private |
Whether the output 3D position has been set.
Definition at line 157 of file ThreeDHitCreationAlgorithm.h.
Referenced by IsPositionSet(), and SetPosition3D().
|
private |
The output 3D position.
Definition at line 158 of file ThreeDHitCreationAlgorithm.h.
Referenced by SetPosition3D().
|
private |
The address of the parent 2D calo hit.
Definition at line 156 of file ThreeDHitCreationAlgorithm.h.
Referenced by GetParentCaloHit2D().
|
private |
The trajectory sample vector.
Definition at line 160 of file ThreeDHitCreationAlgorithm.h.
Referenced by AddTrajectorySample(), and GetNTrajectorySamples().