CMS 3D CMS Logo

HepMCParticle.cc

Go to the documentation of this file.
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;}

Generated on Tue Jun 9 17:47:02 2009 for CMSSW by  doxygen 1.5.4