![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
ProtoShower class. More...
#include "LArProtoShower.h"
Public Member Functions | |
| ProtoShower (const ShowerCore &showerCore, const ConnectionPathway &connectionPathway, const pandora::CaloHitList &spineHitList, const pandora::CaloHitList &ambiguousHitList, const pandora::CartesianPointVector &ambiguousDirectionVector, const pandora::CaloHitList &hitsToAdd) | |
| Constructor. More... | |
| ProtoShower (const ProtoShower &protoShower) | |
| Copy constructor. More... | |
| const ShowerCore & | GetShowerCore () const |
| Get the shower core. More... | |
| const ConnectionPathway & | GetConnectionPathway () const |
| Get the connection pathway. More... | |
| const pandora::CaloHitList & | GetSpineHitList () const |
| Get the spine hit list. More... | |
| const pandora::CaloHitList & | GetAmbiguousHitList () const |
| Get the ambiguous hit list. More... | |
| void | AddAmbiguousHit (const pandora::CaloHit *const ambiguousHit) |
| Add an ambiguous hit to the ambiguous hit list. More... | |
| const pandora::CartesianPointVector & | GetAmbiguousDirectionVector () const |
| Get the ambiguous direction vector. More... | |
| void | AddAmbiguousDirection (const pandora::CartesianVector &ambiguousDirection) |
| Add an ambiguous direction to the ambiguous direction vector. More... | |
| const pandora::CaloHitList & | GetHitsToAddList () const |
| Get the hits to add list. More... | |
| void | SetHitsToAddList (const pandora::CaloHitList &hitsToAddList) |
| Set the hits to add list. More... | |
| void | AddHitToAdd (const pandora::CaloHit *const hitToAdd) |
| Add a hit to the hits to add list. More... | |
Private Attributes | |
| const ShowerCore | m_showerCore |
| the ShowerCore object More... | |
| const ConnectionPathway | m_connectionPathway |
| the ConnectionPathway object More... | |
| pandora::CaloHitList | m_spineHitList |
| the shower spine hit list More... | |
| pandora::CaloHitList | m_ambiguousHitList |
| the list of ambiguous hits (those with shared energy deposits) More... | |
| pandora::CartesianPointVector | m_ambiguousDirectionVector |
| the initial directions of the ambiguous hit owners More... | |
| pandora::CaloHitList | m_hitsToAdd |
| the list of hits to add to an electron shower pfo More... | |
ProtoShower class.
Definition at line 149 of file LArProtoShower.h.
|
inline |
Constructor.
| showerCore | the ShowerCore object |
| connectionPathway | the ConnectionPathway object |
| spineHitList | the shower spine hit list |
| ambiguousHitList | the list of ambiguous hits (those with shared energy deposits) |
| ambiguousDirectionVector | the initial directions of the ambiguous hit owners |
| hitsToAdd | the list of hits to add to an electron shower pfo |
Definition at line 256 of file LArProtoShower.h.
|
inline |
Copy constructor.
| protoShower | the input ProtoShower object to copy |
Definition at line 270 of file LArProtoShower.h.
|
inline |
Add an ambiguous direction to the ambiguous direction vector.
| ambiguousDirection | the ambiguous direction to add |
Definition at line 325 of file LArProtoShower.h.
References m_ambiguousDirectionVector.
Referenced by lar_content::ElectronInitialRegionRefinementAlgorithm::RefineHitsToAdd().
|
inline |
Add an ambiguous hit to the ambiguous hit list.
| ambiguousHit | the ambiguous hit to add |
Definition at line 311 of file LArProtoShower.h.
References m_ambiguousHitList.
Referenced by lar_content::ElectronInitialRegionRefinementAlgorithm::RefineHitsToAdd().
|
inline |
Add a hit to the hits to add list.
| hitToAdd | the hit to add |
Definition at line 346 of file LArProtoShower.h.
References m_hitsToAdd.
Referenced by lar_content::ElectronInitialRegionRefinementAlgorithm::BuildViewProtoShowers().
|
inline |
Get the ambiguous direction vector.
Definition at line 318 of file LArProtoShower.h.
References m_ambiguousDirectionVector.
Referenced by lar_content::AmbiguousRegionFeatureTool::BuildAmbiguousSpines(), and lar_content::ElectronInitialRegionRefinementAlgorithm::RefineHitsToAdd().
|
inline |
Get the ambiguous hit list.
Definition at line 304 of file LArProtoShower.h.
References m_ambiguousHitList.
Referenced by lar_content::AmbiguousRegionFeatureTool::BuildAmbiguousSpines(), lar_content::AmbiguousRegionFeatureTool::CalculateNAmbiguousViews(), and lar_content::AmbiguousRegionFeatureTool::GetViewAmbiguousHitVariables().
|
inline |
Get the connection pathway.
Definition at line 290 of file LArProtoShower.h.
References m_connectionPathway.
Referenced by lar_content::ProtoShowerMatchingTool::AreDirectionsConsistent(), lar_content::LArConnectionPathwayHelper::FindClosestSpinePosition(), lar_content::AmbiguousRegionFeatureTool::GetViewAmbiguousHitVariables(), lar_content::InitialRegionFeatureTool::GetViewInitialRegionVariables(), lar_content::LArConnectionPathwayHelper::ProjectShowerStartByDirection(), and lar_content::ElectronInitialRegionRefinementAlgorithm::RefineHitsToAdd().
|
inline |
Get the hits to add list.
Definition at line 332 of file LArProtoShower.h.
References m_hitsToAdd.
Referenced by lar_content::ElectronInitialRegionRefinementAlgorithm::RefineHitsToAdd().
|
inline |
Get the shower core.
Definition at line 283 of file LArProtoShower.h.
References m_showerCore.
Referenced by lar_content::ProtoShowerMatchingTool::AreDirectionsConsistent(), lar_content::ProtoShowerMatchingTool::AreShowerStartsConsistent(), lar_content::LArConnectionPathwayHelper::FindShowerStartFromPosition(), lar_content::LArConnectionPathwayHelper::FindShowerStartFromXProjection(), lar_content::LArConnectionPathwayHelper::FindShowerStartFromXProjectionRelaxed(), and lar_content::LArConnectionPathwayHelper::ProjectShowerStartByDirection().
|
inline |
Get the spine hit list.
Definition at line 297 of file LArProtoShower.h.
References m_spineHitList.
Referenced by lar_content::ProtoShowerMatchingTool::AreDirectionsConsistent(), lar_content::LArConnectionPathwayHelper::FindClosestSpinePosition(), lar_content::LArConnectionPathwayHelper::FindShowerStartFromPosition(), lar_content::LArConnectionPathwayHelper::FindShowerStartFromXProjection(), lar_content::LArConnectionPathwayHelper::FindShowerStartFromXProjectionRelaxed(), lar_content::ConnectionRegionFeatureTool::Get2DKink(), lar_content::AmbiguousRegionFeatureTool::GetViewAmbiguousHitVariables(), lar_content::InitialRegionFeatureTool::GetViewInitialRegionVariables(), and lar_content::ShowerRegionFeatureTool::GetViewShowerRegionVariables().
|
inline |
Set the hits to add list.
| the | hits to add list |
Definition at line 339 of file LArProtoShower.h.
References m_hitsToAdd.
Referenced by lar_content::ElectronInitialRegionRefinementAlgorithm::RefineHitsToAdd().
|
private |
the initial directions of the ambiguous hit owners
Definition at line 248 of file LArProtoShower.h.
Referenced by AddAmbiguousDirection(), and GetAmbiguousDirectionVector().
|
private |
the list of ambiguous hits (those with shared energy deposits)
Definition at line 247 of file LArProtoShower.h.
Referenced by AddAmbiguousHit(), and GetAmbiguousHitList().
|
private |
the ConnectionPathway object
Definition at line 245 of file LArProtoShower.h.
Referenced by GetConnectionPathway().
|
private |
the list of hits to add to an electron shower pfo
Definition at line 249 of file LArProtoShower.h.
Referenced by AddHitToAdd(), GetHitsToAddList(), and SetHitsToAddList().
|
private |
the ShowerCore object
Definition at line 244 of file LArProtoShower.h.
Referenced by GetShowerCore().
|
private |
the shower spine hit list
Definition at line 246 of file LArProtoShower.h.
Referenced by GetSpineHitList().