CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HepMCParticle Class Reference

#include <HepMCParticle.h>

Public Member Functions

void done ()
 
const int getStatus ()
 
G4PrimaryParticle * getTheParticle ()
 
 HepMCParticle ()
 
 HepMCParticle (G4PrimaryParticle *pp, int status)
 
int operator!= (const HepMCParticle &right) const
 
const HepMCParticleoperator= (const HepMCParticle &right)
 
int operator== (const HepMCParticle &right) const
 
 ~HepMCParticle ()
 

Private Attributes

int status_code
 
G4PrimaryParticle * theParticle
 

Detailed Description

Definition at line 6 of file HepMCParticle.h.

Constructor & Destructor Documentation

HepMCParticle::HepMCParticle ( )

Definition at line 3 of file HepMCParticle.cc.

3 {}
HepMCParticle::HepMCParticle ( G4PrimaryParticle *  pp,
int  status 
)

Definition at line 5 of file HepMCParticle.cc.

G4PrimaryParticle * theParticle
Definition: HepMCParticle.h:16
HepMCParticle::~HepMCParticle ( )

Definition at line 7 of file HepMCParticle.cc.

7 {}

Member Function Documentation

void HepMCParticle::done ( )

Definition at line 15 of file HepMCParticle.cc.

References status_code.

15 { status_code = -1; }
const int HepMCParticle::getStatus ( )

Definition at line 16 of file HepMCParticle.cc.

References status_code.

16 { return status_code; }
G4PrimaryParticle * HepMCParticle::getTheParticle ( )

Definition at line 14 of file HepMCParticle.cc.

References theParticle.

14 { return theParticle; }
G4PrimaryParticle * theParticle
Definition: HepMCParticle.h:16
int HepMCParticle::operator!= ( const HepMCParticle right) const

Definition at line 12 of file HepMCParticle.cc.

12 { return true; }
const HepMCParticle & HepMCParticle::operator= ( const HepMCParticle right)

Definition at line 9 of file HepMCParticle.cc.

9 { return *this; }
int HepMCParticle::operator== ( const HepMCParticle right) const

Definition at line 11 of file HepMCParticle.cc.

11 { return false; }

Member Data Documentation

int HepMCParticle::status_code
private

status code of the entry set to 0 after generating links of G4PrimaryParticle object

Definition at line 19 of file HepMCParticle.h.

Referenced by done(), and getStatus().

G4PrimaryParticle* HepMCParticle::theParticle
private

Definition at line 16 of file HepMCParticle.h.

Referenced by getTheParticle().