CMS 3D CMS Logo

Public Member Functions | Private Attributes

HepMCParticle Class Reference

#include <HepMCParticle.h>

List of all members.

Public Member Functions

void done ()
const int getStatus ()
G4PrimaryParticle * getTheParticle ()
 HepMCParticle (G4PrimaryParticle *pp, int status)
 HepMCParticle ()
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.

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

Definition at line 5 of file HepMCParticle.cc.

HepMCParticle::~HepMCParticle ( )

Definition at line 8 of file HepMCParticle.cc.

{}

Member Function Documentation

void HepMCParticle::done ( )

Definition at line 17 of file HepMCParticle.cc.

References status_code.

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

Definition at line 18 of file HepMCParticle.cc.

References status_code.

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

Definition at line 16 of file HepMCParticle.cc.

References theParticle.

{ return theParticle; }
int HepMCParticle::operator!= ( const HepMCParticle right) const

Definition at line 14 of file HepMCParticle.cc.

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

Definition at line 10 of file HepMCParticle.cc.

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

Definition at line 13 of file HepMCParticle.cc.

{ return false; }

Member Data Documentation

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().