CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HepMCParticle.cc
Go to the documentation of this file.
2 
4 
5 HepMCParticle::HepMCParticle(G4PrimaryParticle* pp, int status) :
6  theParticle(pp),status_code(status) {}
7 
9 
11 { return *this; }
12 
13 int HepMCParticle::operator==(const HepMCParticle &right) const { return false; }
14 int HepMCParticle::operator!=(const HepMCParticle &right) const { return true;}
15 
16 G4PrimaryParticle * HepMCParticle::getTheParticle() { return theParticle; }
18 const int HepMCParticle::getStatus() { return status_code;}
tuple pp
Definition: createTree.py:15
int operator==(const HepMCParticle &right) const
const int getStatus()
G4PrimaryParticle * theParticle
Definition: HepMCParticle.h:16
G4PrimaryParticle * getTheParticle()
int operator!=(const HepMCParticle &right) const
tuple status
Definition: ntuplemaker.py:245
const HepMCParticle & operator=(const HepMCParticle &right)