Class to encapsulate the logic required determine if a Pfo should or shouldn't be tagged as a cosmic ray. More...
Public Member Functions | |
| CRCandidate (const pandora::Pandora &pandora, const pandora::ParticleFlowObject *const pPfo, const unsigned int sliceId) | |
| Constructor. More... | |
Public Attributes | |
| const pandora::ParticleFlowObject *const | m_pPfo |
| Address of the candidate Pfo. More... | |
| unsigned int | m_sliceId |
| Slice ID. More... | |
| bool | m_canFit |
| If there are a sufficient number of 3D hits to perform a fitting. More... | |
| pandora::CartesianVector | m_endPoint1 |
| First fitted end point in 3D. More... | |
| pandora::CartesianVector | m_endPoint2 |
| Second fitted end point in 3D. More... | |
| double | m_length |
| Straight line length of the linear fit. More... | |
| double | m_curvature |
| Measure of the curvature of the track. More... | |
| double | m_theta |
| Direction made with vertical. More... | |
Private Member Functions | |
| void | CalculateFitVariables (const ThreeDSlidingFitResult &slidingFitResult) |
| Calculate all variables which require a fit. More... | |
Class to encapsulate the logic required determine if a Pfo should or shouldn't be tagged as a cosmic ray.
Definition at line 38 of file CosmicRayTaggingTool.h.
| lar_content::CosmicRayTaggingTool::CRCandidate::CRCandidate | ( | const pandora::Pandora & | pandora, |
| const pandora::ParticleFlowObject *const | pPfo, | ||
| const unsigned int | sliceId | ||
| ) |
Constructor.
| pandora | the relevant pandora instance |
| pPfo | the address of the candidate pfo |
| slice | the slice id |
Definition at line 521 of file CosmicRayTaggingTool.cc.
|
private |
Calculate all variables which require a fit.
| slidingFitResult | the three dimensional sliding fit result |
Definition at line 545 of file CosmicRayTaggingTool.cc.
| bool lar_content::CosmicRayTaggingTool::CRCandidate::m_canFit |
If there are a sufficient number of 3D hits to perform a fitting.
Definition at line 52 of file CosmicRayTaggingTool.h.
| double lar_content::CosmicRayTaggingTool::CRCandidate::m_curvature |
Measure of the curvature of the track.
Definition at line 56 of file CosmicRayTaggingTool.h.
| pandora::CartesianVector lar_content::CosmicRayTaggingTool::CRCandidate::m_endPoint1 |
First fitted end point in 3D.
Definition at line 53 of file CosmicRayTaggingTool.h.
| pandora::CartesianVector lar_content::CosmicRayTaggingTool::CRCandidate::m_endPoint2 |
Second fitted end point in 3D.
Definition at line 54 of file CosmicRayTaggingTool.h.
| double lar_content::CosmicRayTaggingTool::CRCandidate::m_length |
Straight line length of the linear fit.
Definition at line 55 of file CosmicRayTaggingTool.h.
| const pandora::ParticleFlowObject* const lar_content::CosmicRayTaggingTool::CRCandidate::m_pPfo |
Address of the candidate Pfo.
Definition at line 50 of file CosmicRayTaggingTool.h.
| unsigned int lar_content::CosmicRayTaggingTool::CRCandidate::m_sliceId |
Slice ID.
Definition at line 51 of file CosmicRayTaggingTool.h.
| double lar_content::CosmicRayTaggingTool::CRCandidate::m_theta |
Direction made with vertical.
Definition at line 57 of file CosmicRayTaggingTool.h.
1.8.11