#include <ParticleHistory.h>
Definition at line 98 of file ParticleHistory.h.
sim::ParticleHistory::ParticleHistory |
( |
const sim::ParticleList * |
list, |
|
|
const int |
trackID |
|
) |
| |
Definition at line 18 of file ParticleHistory.cxx.
28 push_front( particle );
31 int trackID = particle->
TrackId();
35 int parentID = particle->
Mother();
const sim::ParticleList * m_particleList
list_type::const_iterator const_iterator
iterator find(const key_type &key)
int m_trackID
The ParticleList associated with this chain.
bool IsPrimary(int trackID) const
sim::ParticleHistory::~ParticleHistory |
( |
| ) |
|
|
virtual |
int sim::ParticleHistory::EndParticleID |
( |
| ) |
const |
|
inline |
Definition at line 107 of file ParticleHistory.h.
int m_trackID
The ParticleList associated with this chain.
std::ostream& operator<< |
( |
std::ostream & |
output, |
|
|
const ParticleHistory & |
list |
|
) |
| |
|
friend |
Definition at line 47 of file ParticleHistory.cxx.
50 ParticleHistory::size_type numberOfParticles = list.size();
51 int numberOfDigits = (
int) std::log10( (
double) numberOfParticles ) + 1;
54 output.width( numberOfDigits );
55 output <<
"#" <<
": < ID, particle >" <<
"\n";
58 ParticleHistory::size_type nParticle = 0;
60 particle != list.end(); ++particle, ++nParticle ){
61 output.width( numberOfDigits );
62 output << nParticle <<
": "
int sim::ParticleHistory::m_trackID |
|
private |
The documentation for this class was generated from the following files: