CMS 3D CMS Logo

HepMCParticle.h
Go to the documentation of this file.
1 #ifndef SimG4Core_HepMCParticle_h
2 #define SimG4Core_HepMCParticle_h
3 
4 #include "G4PrimaryParticle.hh"
5 
6 class HepMCParticle {
7 public:
9  HepMCParticle(G4PrimaryParticle *pp, int status);
11  const HepMCParticle &operator=(const HepMCParticle &right);
12  int operator==(const HepMCParticle &right) const;
13  int operator!=(const HepMCParticle &right) const;
14 
15 private:
16  G4PrimaryParticle *theParticle;
20 
21 public:
22  G4PrimaryParticle *getTheParticle();
23  void done();
24  const int getStatus();
25 };
26 
27 #endif
HepMCParticle::getStatus
const int getStatus()
Definition: HepMCParticle.cc:16
mps_update.status
status
Definition: mps_update.py:69
HepMCParticle::status_code
int status_code
Definition: HepMCParticle.h:19
HepMCParticle::operator=
const HepMCParticle & operator=(const HepMCParticle &right)
Definition: HepMCParticle.cc:9
HepMCParticle::operator==
int operator==(const HepMCParticle &right) const
Definition: HepMCParticle.cc:11
HepMCParticle::done
void done()
Definition: HepMCParticle.cc:15
HepMCParticle::HepMCParticle
HepMCParticle()
Definition: HepMCParticle.cc:3
HepMCParticle::~HepMCParticle
~HepMCParticle()
Definition: HepMCParticle.cc:7
HepMCParticle::getTheParticle
G4PrimaryParticle * getTheParticle()
Definition: HepMCParticle.cc:14
HepMCParticle
Definition: HepMCParticle.h:6
HepMCParticle::operator!=
int operator!=(const HepMCParticle &right) const
Definition: HepMCParticle.cc:12
createTree.pp
pp
Definition: createTree.py:17
HepMCParticle::theParticle
G4PrimaryParticle * theParticle
Definition: HepMCParticle.h:16