![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
| Particle (const pandora::MCParticle *const pRoot) | |
| Default constructor. More... | |
| Particle (const pandora::MCParticle *const pRoot, const pandora::CaloHitList &caloHitList) | |
| Default constructor. More... | |
| virtual | ~Particle () |
| Destructor. More... | |
| void | AddChild (Particle *pChild) |
| Add a child particle to this particle. More... | |
| void | GetVertices (pandora::CartesianPointVector &vertices) const |
| Extract the clear topological vertices from the event. More... | |
| void | Parse (const MCHitMap &mcHitMap) |
| Assess this child particle and its descendents to see if it is topologically significant either indepednently or within the context of downstream activity. More... | |
| void | Prune () |
| Prune particles from the hierarchy if they are not deemed topologically significant. More... | |
| const std::string | Print (const MCHitMap &mcHitMap, const std::string &indent) const |
| Print the visible hierarchy. More... | |
Private Attributes | |
| pandora::MCParticleList | m_particles |
| pandora::CaloHitList | m_caloHits |
| std::list< Particle * > | m_children |
| bool | m_fold |
Definition at line 26 of file LArEventTopology.h.
| lar_content::LArEventTopology::Particle::Particle | ( | const pandora::MCParticle *const | pRoot | ) |
Default constructor.
Referenced by lar_content::LArEventTopology::PruneHierarchy().
| lar_content::LArEventTopology::Particle::Particle | ( | const pandora::MCParticle *const | pRoot, |
| const pandora::CaloHitList & | caloHitList | ||
| ) |
Default constructor.
| pRoot | The MC particle |
| caloHitList | The list of hits associated with this particle |
|
virtual |
Destructor.
Definition at line 149 of file LArEventTopology.cc.
| void lar_content::LArEventTopology::Particle::AddChild | ( | Particle * | pChild | ) |
Add a child particle to this particle.
| pChild | The child particle to add |
Definition at line 157 of file LArEventTopology.cc.
Referenced by lar_content::LArEventTopology::Print().
| void lar_content::LArEventTopology::Particle::GetVertices | ( | pandora::CartesianPointVector & | vertices | ) | const |
Extract the clear topological vertices from the event.
Definition at line 164 of file LArEventTopology.cc.
References util::abs(), and lar_content::LArMCParticleHelper::IsNeutrino().
Referenced by lar_content::LArEventTopology::GetVertices().
| void lar_content::LArEventTopology::Particle::Parse | ( | const MCHitMap & | mcHitMap | ) |
Assess this child particle and its descendents to see if it is topologically significant either indepednently or within the context of downstream activity.
| mcHitMap | The map from MC particles to hits |
Definition at line 217 of file LArEventTopology.cc.
References util::abs(), and target.
Referenced by lar_content::LArEventTopology::PruneHierarchy().
| const std::string lar_content::LArEventTopology::Particle::Print | ( | const MCHitMap & | mcHitMap, |
| const std::string & | indent | ||
| ) | const |
Print the visible hierarchy.
| mcHitMap | The map from MC particles to hits |
| indent | The level of indent for printing |
Definition at line 273 of file LArEventTopology.cc.
Referenced by lar_content::LArEventTopology::Print().
| void lar_content::LArEventTopology::Particle::Prune | ( | ) |
Prune particles from the hierarchy if they are not deemed topologically significant.
Definition at line 256 of file LArEventTopology.cc.
Referenced by lar_content::LArEventTopology::PruneHierarchy().
|
private |
Definition at line 84 of file LArEventTopology.h.
|
private |
Definition at line 85 of file LArEventTopology.h.
|
private |
Definition at line 86 of file LArEventTopology.h.
|
private |
Definition at line 83 of file LArEventTopology.h.