#include <MCTruthParticleHistory.h>
Definition at line 97 of file MCTruthParticleHistory.h.
truth::MCTruthParticleHistory::MCTruthParticleHistory |
( |
const MCTruthParticleList * |
list, |
|
|
const int |
trackID |
|
) |
| |
Definition at line 18 of file MCTruthParticleHistory.cxx.
27 const simb::MCParticle* particle = (*search).second;
28 push_front( particle );
31 int trackID = particle->TrackId();
35 int parentID = particle->Mother();
list_type::const_iterator const_iterator
int m_trackID
The ParticleList associated with this chain.
const MCTruthParticleList * m_particleList
iterator find(const key_type &key)
bool IsPrimary(int trackID) const
truth::MCTruthParticleHistory::~MCTruthParticleHistory |
( |
| ) |
|
|
virtual |
int truth::MCTruthParticleHistory::EndParticleID |
( |
| ) |
const |
|
inline |
Definition at line 47 of file MCTruthParticleHistory.cxx.
50 MCTruthParticleHistory::size_type numberOfParticles =
list.size();
51 int numberOfDigits = (int) std::log10( (
double) numberOfParticles ) + 1;
54 output.width( numberOfDigits );
55 output <<
"#" <<
": < ID, particle >" <<
"\n";
58 MCTruthParticleHistory::size_type nParticle = 0;
59 for ( MCTruthParticleHistory::const_iterator particle =
list.begin();
60 particle !=
list.end(); ++particle, ++nParticle ){
61 output.width( numberOfDigits );
62 output << nParticle <<
": "
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM6O6 effSlidingORW output
int truth::MCTruthParticleHistory::m_trackID |
|
private |
The documentation for this class was generated from the following files: