GCNParticleFlow, a map of true particles to their parents. More...
#include <GCNParticleFlow.h>
Public Member Functions | |
| GCNParticleFlow () | |
| Default constructor. More... | |
| GCNParticleFlow (std::map< unsigned int, unsigned int > truthMap) | |
| Construct from map. More... | |
| ~GCNParticleFlow () | |
| Default destructor. More... | |
| void | AddParticle (unsigned int particle, unsigned int parent) |
| Add a new true particle. More... | |
| std::map< unsigned int, unsigned int > | GetMap () const |
| Retrieve truth information. More... | |
| unsigned int | GetParent (unsigned int particle) |
Private Attributes | |
| std::map< unsigned int, unsigned int > | fTruthMap |
| Map of true particle ID to parent particle ID. More... | |
GCNParticleFlow, a map of true particles to their parents.
Definition at line 16 of file GCNParticleFlow.h.
|
inline |
| cvn::GCNParticleFlow::GCNParticleFlow | ( | std::map< unsigned int, unsigned int > | truthMap | ) |
Construct from map.
Constructor.
Definition at line 13 of file GCNParticleFlow.cxx.
|
inline |
| void cvn::GCNParticleFlow::AddParticle | ( | unsigned int | particle, |
| unsigned int | parent | ||
| ) |
Add a new true particle.
Add true particle to map.
Definition at line 18 of file GCNParticleFlow.cxx.
|
inline |
Retrieve truth information.
Definition at line 31 of file GCNParticleFlow.h.
| unsigned int cvn::GCNParticleFlow::GetParent | ( | unsigned int | particle | ) |
Definition at line 40 of file GCNParticleFlow.cxx.
|
private |
Map of true particle ID to parent particle ID.
Definition at line 37 of file GCNParticleFlow.h.
1.8.11