Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
G4MCTSimParticle Class Reference

#include <G4MCTSimParticle.hh>

Collaboration diagram for G4MCTSimParticle:
Collaboration graph
[legend]

Public Member Functions

 G4MCTSimParticle ()
 
 G4MCTSimParticle (std::string aname, int apcode, int atid, int ptid, const G4LorentzVector &p)
 
 G4MCTSimParticle (std::string aname, int apcode, int atid, int ptid, const G4LorentzVector &p, const G4MCTSimVertex *v)
 
virtual ~G4MCTSimParticle ()
 
 G4MCTSimParticle (const G4MCTSimParticle &right)
 
const G4MCTSimParticleoperator= (const G4MCTSimParticle &right)
 
void SetParentParticle (const G4MCTSimParticle *p)
 
G4MCTSimParticleGetParentParticle () const
 
void SetParticleName (std::string aname)
 
const std::string & GetParticleName () const
 
void SetPdgID (int id)
 
int GetPdgID () const
 
void SetTrackID (int id)
 
int GetTrackID () const
 
void SetParentTrackID (int id)
 
int GetParentTrackID () const
 
void SetPrimaryFlag (G4bool q)
 
G4bool GetPrimaryFlag () const
 
void SetMomentumAtVertex (const G4LorentzVector &p)
 
const G4LorentzVectorGetMomentumAtVertex () const
 
void SetVertex (const G4MCTSimVertex *v)
 
G4MCTSimVertexGetVertex () const
 
void SetStoreFlag (G4bool q)
 
G4bool GetStoreFlag () const
 
int AssociateParticle (G4MCTSimParticle *p)
 
int GetNofAssociatedParticles () const
 
G4MCTSimParticleGetAssociatedParticle (int i) const
 
int GetTreeLevel () const
 
void SetStoreFlagToParentTree (G4bool q=true)
 
void Print (std::ostream &ostr=std::cout, G4bool qrevorder=false) const
 
void PrintSingle (std::ostream &ostr=std::cout) const
 

Protected Attributes

G4MCTSimParticleparentParticle
 
std::vector< G4MCTSimParticle * > associatedParticleList
 
std::string name
 
int pdgID
 
int trackID
 
int parentTrackID
 
G4bool primaryFlag
 
G4LorentzVector momentumAtVertex
 
G4MCTSimVertexvertex
 
G4bool storeFlag
 

Detailed Description

Definition at line 48 of file G4MCTSimParticle.hh.

Constructor & Destructor Documentation

G4MCTSimParticle::G4MCTSimParticle ( )

Definition at line 47 of file G4MCTSimParticle.cc.

G4MCTSimParticle::G4MCTSimParticle ( std::string  aname,
int  apcode,
int  atid,
int  ptid,
const G4LorentzVector p 
)

Definition at line 57 of file G4MCTSimParticle.cc.

G4MCTSimParticle::G4MCTSimParticle ( std::string  aname,
int  apcode,
int  atid,
int  ptid,
const G4LorentzVector p,
const G4MCTSimVertex v 
)

Definition at line 70 of file G4MCTSimParticle.cc.

G4MCTSimParticle::~G4MCTSimParticle ( )
virtual

Definition at line 84 of file G4MCTSimParticle.cc.

G4MCTSimParticle::G4MCTSimParticle ( const G4MCTSimParticle right)
inline

Definition at line 116 of file G4MCTSimParticle.hh.

Member Function Documentation

int G4MCTSimParticle::AssociateParticle ( G4MCTSimParticle p)

Definition at line 91 of file G4MCTSimParticle.cc.

Here is the call graph for this function:

G4MCTSimParticle * G4MCTSimParticle::GetAssociatedParticle ( int  i) const

Definition at line 107 of file G4MCTSimParticle.cc.

const G4LorentzVector & G4MCTSimParticle::GetMomentumAtVertex ( ) const
inline

Definition at line 171 of file G4MCTSimParticle.hh.

int G4MCTSimParticle::GetNofAssociatedParticles ( ) const

Definition at line 100 of file G4MCTSimParticle.cc.

G4MCTSimParticle * G4MCTSimParticle::GetParentParticle ( ) const
inline

Definition at line 141 of file G4MCTSimParticle.hh.

Here is the caller graph for this function:

int G4MCTSimParticle::GetParentTrackID ( ) const
inline

Definition at line 165 of file G4MCTSimParticle.hh.

const std::string & G4MCTSimParticle::GetParticleName ( ) const
inline

Definition at line 147 of file G4MCTSimParticle.hh.

int G4MCTSimParticle::GetPdgID ( ) const
inline

Definition at line 152 of file G4MCTSimParticle.hh.

G4bool G4MCTSimParticle::GetPrimaryFlag ( ) const
inline

Definition at line 160 of file G4MCTSimParticle.hh.

G4bool G4MCTSimParticle::GetStoreFlag ( ) const
inline

Definition at line 182 of file G4MCTSimParticle.hh.

int G4MCTSimParticle::GetTrackID ( ) const
inline

Definition at line 156 of file G4MCTSimParticle.hh.

Here is the caller graph for this function:

int G4MCTSimParticle::GetTreeLevel ( ) const

Definition at line 116 of file G4MCTSimParticle.cc.

Here is the call graph for this function:

G4MCTSimVertex * G4MCTSimParticle::GetVertex ( ) const
inline

Definition at line 177 of file G4MCTSimParticle.hh.

const G4MCTSimParticle & G4MCTSimParticle::operator= ( const G4MCTSimParticle right)
inline

Definition at line 122 of file G4MCTSimParticle.hh.

void G4MCTSimParticle::Print ( std::ostream &  ostr = std::cout,
G4bool  qrevorder = false 
) const

Definition at line 194 of file G4MCTSimParticle.cc.

Here is the call graph for this function:

void G4MCTSimParticle::PrintSingle ( std::ostream &  ostr = std::cout) const

Definition at line 139 of file G4MCTSimParticle.cc.

void G4MCTSimParticle::SetMomentumAtVertex ( const G4LorentzVector p)
inline

Definition at line 168 of file G4MCTSimParticle.hh.

void G4MCTSimParticle::SetParentParticle ( const G4MCTSimParticle p)
inline

Definition at line 138 of file G4MCTSimParticle.hh.

Here is the caller graph for this function:

void G4MCTSimParticle::SetParentTrackID ( int  id)
inline

Definition at line 162 of file G4MCTSimParticle.hh.

void G4MCTSimParticle::SetParticleName ( std::string  aname)
inline

Definition at line 144 of file G4MCTSimParticle.hh.

void G4MCTSimParticle::SetPdgID ( int  id)
inline

Definition at line 150 of file G4MCTSimParticle.hh.

void G4MCTSimParticle::SetPrimaryFlag ( G4bool  q)
inline

Definition at line 158 of file G4MCTSimParticle.hh.

void G4MCTSimParticle::SetStoreFlag ( G4bool  q)
inline

Definition at line 180 of file G4MCTSimParticle.hh.

Here is the caller graph for this function:

void G4MCTSimParticle::SetStoreFlagToParentTree ( G4bool  q = true)

Definition at line 128 of file G4MCTSimParticle.cc.

Here is the call graph for this function:

void G4MCTSimParticle::SetTrackID ( int  id)
inline

Definition at line 154 of file G4MCTSimParticle.hh.

void G4MCTSimParticle::SetVertex ( const G4MCTSimVertex v)
inline

Definition at line 174 of file G4MCTSimParticle.hh.

Member Data Documentation

std::vector<G4MCTSimParticle*> G4MCTSimParticle::associatedParticleList
protected

Definition at line 51 of file G4MCTSimParticle.hh.

G4LorentzVector G4MCTSimParticle::momentumAtVertex
protected

Definition at line 58 of file G4MCTSimParticle.hh.

std::string G4MCTSimParticle::name
protected

Definition at line 53 of file G4MCTSimParticle.hh.

G4MCTSimParticle* G4MCTSimParticle::parentParticle
protected

Definition at line 50 of file G4MCTSimParticle.hh.

int G4MCTSimParticle::parentTrackID
protected

Definition at line 56 of file G4MCTSimParticle.hh.

int G4MCTSimParticle::pdgID
protected

Definition at line 54 of file G4MCTSimParticle.hh.

G4bool G4MCTSimParticle::primaryFlag
protected

Definition at line 57 of file G4MCTSimParticle.hh.

G4bool G4MCTSimParticle::storeFlag
protected

Definition at line 60 of file G4MCTSimParticle.hh.

int G4MCTSimParticle::trackID
protected

Definition at line 55 of file G4MCTSimParticle.hh.

G4MCTSimVertex* G4MCTSimParticle::vertex
protected

Definition at line 59 of file G4MCTSimParticle.hh.


The documentation for this class was generated from the following files: