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.

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

Definition at line 8 of file HepMCParticle.cc.

8 {}

Member Function Documentation

void HepMCParticle::done ( )

Definition at line 17 of file HepMCParticle.cc.

References status_code.

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

Definition at line 18 of file HepMCParticle.cc.

References status_code.

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

Definition at line 16 of file HepMCParticle.cc.

References theParticle.

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

Definition at line 14 of file HepMCParticle.cc.

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

Definition at line 10 of file HepMCParticle.cc.

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

Definition at line 13 of file HepMCParticle.cc.

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