CMS 3D CMS Logo

HepMCParticle.cc
Go to the documentation of this file.
2 
4 
5 HepMCParticle::HepMCParticle(G4PrimaryParticle *pp, int status) : theParticle(pp), status_code(status) {}
6 
8 
9 const HepMCParticle &HepMCParticle::operator=(const HepMCParticle &right) { return *this; }
10 
11 int HepMCParticle::operator==(const HepMCParticle &right) const { return false; }
12 int HepMCParticle::operator!=(const HepMCParticle &right) const { return true; }
13 
14 G4PrimaryParticle *HepMCParticle::getTheParticle() { return theParticle; }
16 const int HepMCParticle::getStatus() { return status_code; }
int operator==(const HepMCParticle &right) const
int operator!=(const HepMCParticle &right) const
const int getStatus()
G4PrimaryParticle * theParticle
Definition: HepMCParticle.h:16
G4PrimaryParticle * getTheParticle()
const HepMCParticle & operator=(const HepMCParticle &right)
Definition: HepMCParticle.cc:9