00001 #include "SimG4Core/Generators/interface/HepMCParticle.h" 00002 00003 HepMCParticle::HepMCParticle() {} 00004 00005 HepMCParticle::HepMCParticle(G4PrimaryParticle* pp, int status) : 00006 theParticle(pp),status_code(status) {} 00007 00008 HepMCParticle::~HepMCParticle() {} 00009 00010 const HepMCParticle & HepMCParticle::operator=(const HepMCParticle &right) 00011 { return *this; } 00012 00013 int HepMCParticle::operator==(const HepMCParticle &right) const { return false; } 00014 int HepMCParticle::operator!=(const HepMCParticle &right) const { return true;} 00015 00016 G4PrimaryParticle * HepMCParticle::getTheParticle() { return theParticle; } 00017 void HepMCParticle::done() { status_code= -1; } 00018 const int HepMCParticle::getStatus() { return status_code;}