LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ParticleAncestryMap.h"
Public Member Functions | |
ParticleAncestryMap () | |
ParticleAncestryMap (const std::map< int, std::set< int >> &particleMap) | |
void | SetMap (const std::map< int, std::set< int >> &map) |
std::map< int, std::set< int > > const & | GetMap () const |
bool | HasDroppedDescendants (const int trackid) const |
std::set< int > const & | GetAllDroppedDescendants (const int trackid) const |
int | GetAncestor (const int trackid) const |
bool | Exists (const int trackid) const |
Private Attributes | |
std::map< int, std::set< int > > | fParticleMap |
Definition at line 20 of file ParticleAncestryMap.h.
|
inline |
Definition at line 26 of file ParticleAncestryMap.h.
|
inline |
Definition at line 29 of file ParticleAncestryMap.h.
References Exists(), GetAllDroppedDescendants(), GetAncestor(), GetMap(), HasDroppedDescendants(), and SetMap().
bool ParticleAncestryMap::Exists | ( | const int | trackid | ) | const |
Definition at line 39 of file ParticleAncestryMap.cxx.
Referenced by ParticleAncestryMap().
std::set< int > const & ParticleAncestryMap::GetAllDroppedDescendants | ( | const int | trackid | ) | const |
Definition at line 25 of file ParticleAncestryMap.cxx.
References fParticleMap.
Referenced by ParticleAncestryMap().
int ParticleAncestryMap::GetAncestor | ( | const int | trackid | ) | const |
Definition at line 30 of file ParticleAncestryMap.cxx.
References fParticleMap.
Referenced by ParticleAncestryMap().
std::map< int, std::set< int > > const & ParticleAncestryMap::GetMap | ( | ) | const |
Definition at line 15 of file ParticleAncestryMap.cxx.
References fParticleMap.
Referenced by larg4::CheckMCParticle::analyze(), sim::MergeSimSourcesUtility::offsetParticleAncestryMapTrackID(), and ParticleAncestryMap().
bool ParticleAncestryMap::HasDroppedDescendants | ( | const int | trackid | ) | const |
Definition at line 20 of file ParticleAncestryMap.cxx.
References fParticleMap.
Referenced by ParticleAncestryMap().
void ParticleAncestryMap::SetMap | ( | const std::map< int, std::set< int >> & | map | ) |
Definition at line 10 of file ParticleAncestryMap.cxx.
References fParticleMap.
Referenced by ParticleAncestryMap().
|
private |
Definition at line 22 of file ParticleAncestryMap.h.
Referenced by GetAllDroppedDescendants(), GetAncestor(), GetMap(), HasDroppedDescendants(), and SetMap().