LArSoft
v09_90_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 166 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 273 of file LArProtoShower.h.
|
inline |
Copy constructor.
protoShower | the input ProtoShower object to copy |
Definition at line 287 of file LArProtoShower.h.
|
inline |
Add an ambiguous direction to the ambiguous direction vector.
ambiguousDirection | the ambiguous direction to add |
Definition at line 342 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 328 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 363 of file LArProtoShower.h.
References m_hitsToAdd.
Referenced by lar_content::ElectronInitialRegionRefinementAlgorithm::BuildViewProtoShowers().
|
inline |
Get the ambiguous direction vector.
Definition at line 335 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 321 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 307 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 349 of file LArProtoShower.h.
References m_hitsToAdd.
Referenced by lar_content::ElectronInitialRegionRefinementAlgorithm::RefineHitsToAdd().
|
inline |
Get the shower core.
Definition at line 300 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 314 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 356 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 265 of file LArProtoShower.h.
Referenced by AddAmbiguousDirection(), and GetAmbiguousDirectionVector().
|
private |
the list of ambiguous hits (those with shared energy deposits)
Definition at line 264 of file LArProtoShower.h.
Referenced by AddAmbiguousHit(), and GetAmbiguousHitList().
|
private |
the ConnectionPathway object
Definition at line 262 of file LArProtoShower.h.
Referenced by GetConnectionPathway().
|
private |
the list of hits to add to an electron shower pfo
Definition at line 266 of file LArProtoShower.h.
Referenced by AddHitToAdd(), GetHitsToAddList(), and SetHitsToAddList().
|
private |
the ShowerCore object
Definition at line 261 of file LArProtoShower.h.
Referenced by GetShowerCore().
|
private |
the shower spine hit list
Definition at line 263 of file LArProtoShower.h.
Referenced by GetSpineHitList().