CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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() [1/2]

HepMCParticle::HepMCParticle ( )

Definition at line 3 of file HepMCParticle.cc.

3 {}

◆ HepMCParticle() [2/2]

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

Definition at line 5 of file HepMCParticle.cc.

G4PrimaryParticle * theParticle
Definition: HepMCParticle.h:16

◆ ~HepMCParticle()

HepMCParticle::~HepMCParticle ( )

Definition at line 7 of file HepMCParticle.cc.

7 {}

Member Function Documentation

◆ done()

void HepMCParticle::done ( )

Definition at line 15 of file HepMCParticle.cc.

References status_code.

15 { status_code = -1; }

◆ getStatus()

const int HepMCParticle::getStatus ( )

Definition at line 16 of file HepMCParticle.cc.

References status_code.

16 { return status_code; }

◆ getTheParticle()

G4PrimaryParticle * HepMCParticle::getTheParticle ( )

Definition at line 14 of file HepMCParticle.cc.

References theParticle.

14 { return theParticle; }
G4PrimaryParticle * theParticle
Definition: HepMCParticle.h:16

◆ operator!=()

int HepMCParticle::operator!= ( const HepMCParticle right) const

Definition at line 12 of file HepMCParticle.cc.

12 { return true; }

◆ operator=()

const HepMCParticle & HepMCParticle::operator= ( const HepMCParticle right)

Definition at line 9 of file HepMCParticle.cc.

9 { return *this; }

◆ operator==()

int HepMCParticle::operator== ( const HepMCParticle right) const

Definition at line 11 of file HepMCParticle.cc.

11 { return false; }

Member Data Documentation

◆ status_code

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

◆ theParticle

G4PrimaryParticle* HepMCParticle::theParticle
private

Definition at line 16 of file HepMCParticle.h.

Referenced by getTheParticle().