#include <HepMCParticle.h>
Public Member Functions | |
void | done () |
const int | getStatus () |
G4PrimaryParticle * | getTheParticle () |
HepMCParticle (G4PrimaryParticle *pp, int status) | |
HepMCParticle () | |
int | operator!= (const HepMCParticle &right) const |
const HepMCParticle & | operator= (const HepMCParticle &right) |
int | operator== (const HepMCParticle &right) const |
~HepMCParticle () | |
Private Attributes | |
int | status_code |
G4PrimaryParticle * | theParticle |
Definition at line 6 of file HepMCParticle.h.
HepMCParticle::HepMCParticle | ( | ) |
Definition at line 3 of file HepMCParticle.cc.
{}
HepMCParticle::HepMCParticle | ( | G4PrimaryParticle * | pp, |
int | status | ||
) |
Definition at line 5 of file HepMCParticle.cc.
: theParticle(pp),status_code(status) {}
HepMCParticle::~HepMCParticle | ( | ) |
Definition at line 8 of file HepMCParticle.cc.
{}
void HepMCParticle::done | ( | ) |
const int HepMCParticle::getStatus | ( | void | ) |
G4PrimaryParticle * HepMCParticle::getTheParticle | ( | ) |
int HepMCParticle::operator!= | ( | const HepMCParticle & | right | ) | const |
Definition at line 14 of file HepMCParticle.cc.
{ return true;}
const HepMCParticle & HepMCParticle::operator= | ( | const HepMCParticle & | right | ) |
Definition at line 10 of file HepMCParticle.cc.
{ return *this; }
int HepMCParticle::operator== | ( | const HepMCParticle & | right | ) | const |
Definition at line 13 of file HepMCParticle.cc.
{ return false; }
int HepMCParticle::status_code [private] |
status code of the entry set to 0 after generating links of G4PrimaryParticle object
Definition at line 19 of file HepMCParticle.h.
Referenced by done(), and getStatus().
G4PrimaryParticle* HepMCParticle::theParticle [private] |
Definition at line 16 of file HepMCParticle.h.
Referenced by getTheParticle().