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 320 of file ThreeDHitCreationAlgorithm.h.
|
inline |
Add a trajectory sample.
the | trajectory sample |
Definition at line 360 of file ThreeDHitCreationAlgorithm.h.
double lar_content::ThreeDHitCreationAlgorithm::ProtoHit::GetChi2 | ( | ) | const |
Get the chi squared value.
StatusCodeException |
Definition at line 432 of file ThreeDHitCreationAlgorithm.cc.
const ThreeDHitCreationAlgorithm::TrajectorySample & lar_content::ThreeDHitCreationAlgorithm::ProtoHit::GetFirstTrajectorySample | ( | ) | const |
Get the first trajectory sample.
StatusCodeException |
Definition at line 442 of file ThreeDHitCreationAlgorithm.cc.
const ThreeDHitCreationAlgorithm::TrajectorySample & lar_content::ThreeDHitCreationAlgorithm::ProtoHit::GetLastTrajectorySample | ( | ) | const |
Get the last trajectory sample.
StatusCodeException |
Definition at line 452 of file ThreeDHitCreationAlgorithm.cc.
|
inline |
Get the number of trajectory samples.
Definition at line 344 of file ThreeDHitCreationAlgorithm.h.
|
inline |
Get the address of the parent 2D calo hit.
Definition at line 330 of file ThreeDHitCreationAlgorithm.h.
const CartesianVector & lar_content::ThreeDHitCreationAlgorithm::ProtoHit::GetPosition3D | ( | ) | const |
Get the output 3D position.
StatusCodeException |
Definition at line 422 of file ThreeDHitCreationAlgorithm.cc.
|
inline |
Whether the proto hit position is set.
Definition at line 337 of file ThreeDHitCreationAlgorithm.h.
|
inline |
Set position 3D.
the | output 3D position |
the | output chi squared value |
Definition at line 351 of file ThreeDHitCreationAlgorithm.h.
|
private |
The output chi squared value.
Definition at line 159 of file ThreeDHitCreationAlgorithm.h.
|
private |
Whether the output 3D position has been set.
Definition at line 157 of file ThreeDHitCreationAlgorithm.h.
|
private |
The output 3D position.
Definition at line 158 of file ThreeDHitCreationAlgorithm.h.
|
private |
The address of the parent 2D calo hit.
Definition at line 156 of file ThreeDHitCreationAlgorithm.h.
|
private |
The trajectory sample vector.
Definition at line 160 of file ThreeDHitCreationAlgorithm.h.