#include <G4HepMCParticle.h>
Public Member Functions | |
void * | operator new (size_t) |
void | operator delete (void *aStackedTrack) |
G4HepMCParticle () | |
G4HepMCParticle (G4PrimaryParticle *pp, G4int isthep, G4int barcode) | |
~G4HepMCParticle () | |
const G4HepMCParticle & | operator= (const G4HepMCParticle &right) |
G4int | operator== (const G4HepMCParticle &right) const |
G4int | operator!= (const G4HepMCParticle &right) const |
G4PrimaryParticle * | GetTheParticle () |
void | Done () |
G4int | GetISTHEP () |
G4int | GetBarcodeEndVtx () |
Private Attributes | |
G4PrimaryParticle * | theParticle |
G4int | ISTHEP |
G4int | barcodeEndVtx |
Definition at line 44 of file G4HepMCParticle.h.
G4HepMCParticle::G4HepMCParticle | ( | ) |
G4HepMCParticle::G4HepMCParticle | ( | G4PrimaryParticle * | pp, | |
G4int | isthep, | |||
G4int | barcode | |||
) |
Definition at line 39 of file G4HepMCParticle.cpp.
00040 :theParticle(pp),ISTHEP(isthep), barcodeEndVtx(barcode) 00041 {;}
G4HepMCParticle::~G4HepMCParticle | ( | ) |
void G4HepMCParticle::Done | ( | ) | [inline] |
Definition at line 67 of file G4HepMCParticle.h.
References ISTHEP.
Referenced by G4HepMCInterface::HepMC2G4().
00068 { ISTHEP *= -1; }
G4int G4HepMCParticle::GetBarcodeEndVtx | ( | ) | [inline] |
Definition at line 71 of file G4HepMCParticle.h.
References barcodeEndVtx.
00072 { return barcodeEndVtx;}
G4int G4HepMCParticle::GetISTHEP | ( | ) | [inline] |
G4PrimaryParticle* G4HepMCParticle::GetTheParticle | ( | ) | [inline] |
Definition at line 65 of file G4HepMCParticle.h.
References theParticle.
00066 { return theParticle; }
void G4HepMCParticle::operator delete | ( | void * | aStackedTrack | ) | [inline] |
Definition at line 88 of file G4HepMCParticle.h.
References aHEPEvtParticleAllocator.
00089 { 00090 aHEPEvtParticleAllocator.FreeSingle((G4HepMCParticle *) aHEPEvtParticle); 00091 }
void * G4HepMCParticle::operator new | ( | size_t | ) | [inline] |
Definition at line 81 of file G4HepMCParticle.h.
References aHEPEvtParticleAllocator.
00082 { 00083 void * aHEPEvtParticle; 00084 aHEPEvtParticle = (void *) aHEPEvtParticleAllocator.MallocSingle(); 00085 return aHEPEvtParticle; 00086 }
G4int G4HepMCParticle::operator!= | ( | const G4HepMCParticle & | right | ) | const |
const G4HepMCParticle & G4HepMCParticle::operator= | ( | const G4HepMCParticle & | right | ) |
G4int G4HepMCParticle::operator== | ( | const G4HepMCParticle & | right | ) | const |
G4int G4HepMCParticle::barcodeEndVtx [private] |
G4int G4HepMCParticle::ISTHEP [private] |
G4PrimaryParticle* G4HepMCParticle::theParticle [private] |