Geant4  10.00.p02
G4MCTSimVertex Class Reference

#include <G4MCTSimVertex.hh>

Public Member Functions

 G4MCTSimVertex ()
 
 G4MCTSimVertex (const G4ThreeVector &x, double t)
 
 G4MCTSimVertex (const G4ThreeVector &x, double t, std::string vname, int ncopy, std::string pname)
 
 ~G4MCTSimVertex ()
 
 G4MCTSimVertex (const G4MCTSimVertex &right)
 
const G4MCTSimVertexoperator= (const G4MCTSimVertex &right)
 
void SetID (int i)
 
int GetID () const
 
void SetPosition (const G4ThreeVector &x)
 
const G4ThreeVectorGetPosition () const
 
void SetTime (double t)
 
double GetTime () const
 
void SetVolumeName (std::string vname)
 
const std::string & GetVolumeName () const
 
void SetVolumeNumber (int n)
 
int GetVolumeNumber () const
 
void SetCreatorProcessName (std::string pname)
 
const std::string & GetCreatorProcessName () const
 
void SetStoreFlag (G4bool q)
 
G4bool GetStoreFlag () const
 
void SetInParticle (const G4MCTSimParticle *in)
 
void SetInParticle (int in)
 
int GetInParticleTrackID () const
 
int GetNofOutParticles () const
 
int AddOutParticle (const G4MCTSimParticle *out)
 
int AddOutParticle (int out)
 
int GetOutParticleTrackID (int i) const
 
void Print (std::ostream &ostr=std::cout) const
 

Private Attributes

int inParticleTrackID
 
std::vector< int > outParticleTrackIDList
 
int id
 
G4ThreeVector position
 
double time
 
std::string volumeName
 
int volumeNumber
 
std::string creatorProcessName
 
G4bool storeFlag
 

Detailed Description

Definition at line 45 of file G4MCTSimVertex.hh.

Constructor & Destructor Documentation

G4MCTSimVertex::G4MCTSimVertex ( )

Definition at line 47 of file G4MCTSimVertex.cc.

G4MCTSimVertex::G4MCTSimVertex ( const G4ThreeVector x,
double  t 
)

Definition at line 57 of file G4MCTSimVertex.cc.

G4MCTSimVertex::G4MCTSimVertex ( const G4ThreeVector x,
double  t,
std::string  vname,
int  ncopy,
std::string  pname 
)

Definition at line 66 of file G4MCTSimVertex.cc.

G4MCTSimVertex::~G4MCTSimVertex ( )

Definition at line 76 of file G4MCTSimVertex.cc.

References outParticleTrackIDList.

G4MCTSimVertex::G4MCTSimVertex ( const G4MCTSimVertex right)
inline

Definition at line 107 of file G4MCTSimVertex.hh.

References right.

Member Function Documentation

int G4MCTSimVertex::AddOutParticle ( const G4MCTSimParticle out)
inline

Definition at line 177 of file G4MCTSimVertex.hh.

References G4MCTSimParticle::GetTrackID(), and outParticleTrackIDList.

+ Here is the call graph for this function:

int G4MCTSimVertex::AddOutParticle ( int  out)
inline

Definition at line 183 of file G4MCTSimVertex.hh.

References outParticleTrackIDList.

const std::string & G4MCTSimVertex::GetCreatorProcessName ( ) const
inline

Definition at line 158 of file G4MCTSimVertex.hh.

References creatorProcessName.

int G4MCTSimVertex::GetID ( ) const
inline

Definition at line 129 of file G4MCTSimVertex.hh.

References id.

int G4MCTSimVertex::GetInParticleTrackID ( ) const
inline

Definition at line 171 of file G4MCTSimVertex.hh.

References inParticleTrackID.

int G4MCTSimVertex::GetNofOutParticles ( ) const
inline

Definition at line 174 of file G4MCTSimVertex.hh.

References outParticleTrackIDList.

int G4MCTSimVertex::GetOutParticleTrackID ( int  i) const
inline

Definition at line 189 of file G4MCTSimVertex.hh.

References outParticleTrackIDList.

const G4ThreeVector & G4MCTSimVertex::GetPosition ( ) const
inline

Definition at line 134 of file G4MCTSimVertex.hh.

References position.

G4bool G4MCTSimVertex::GetStoreFlag ( ) const
inline

Definition at line 163 of file G4MCTSimVertex.hh.

References storeFlag.

double G4MCTSimVertex::GetTime ( ) const
inline

Definition at line 140 of file G4MCTSimVertex.hh.

References time.

const std::string & G4MCTSimVertex::GetVolumeName ( ) const
inline

Definition at line 146 of file G4MCTSimVertex.hh.

References volumeName.

int G4MCTSimVertex::GetVolumeNumber ( ) const
inline

Definition at line 152 of file G4MCTSimVertex.hh.

References volumeNumber.

const G4MCTSimVertex & G4MCTSimVertex::operator= ( const G4MCTSimVertex right)
inline
void G4MCTSimVertex::Print ( std::ostream &  ostr = std::cout) const

Definition at line 83 of file G4MCTSimVertex.cc.

References G4endl, mm, ns, position, and right.

void G4MCTSimVertex::SetCreatorProcessName ( std::string  pname)
inline

Definition at line 155 of file G4MCTSimVertex.hh.

References creatorProcessName.

void G4MCTSimVertex::SetID ( int  i)
inline

Definition at line 128 of file G4MCTSimVertex.hh.

void G4MCTSimVertex::SetInParticle ( const G4MCTSimParticle in)
inline

Definition at line 165 of file G4MCTSimVertex.hh.

References inParticleTrackID.

void G4MCTSimVertex::SetInParticle ( int  in)
inline

Definition at line 168 of file G4MCTSimVertex.hh.

References inParticleTrackID.

void G4MCTSimVertex::SetPosition ( const G4ThreeVector x)
inline

Definition at line 131 of file G4MCTSimVertex.hh.

References position.

void G4MCTSimVertex::SetStoreFlag ( G4bool  q)
inline

Definition at line 161 of file G4MCTSimVertex.hh.

References storeFlag.

void G4MCTSimVertex::SetTime ( double  t)
inline

Definition at line 137 of file G4MCTSimVertex.hh.

References time.

void G4MCTSimVertex::SetVolumeName ( std::string  vname)
inline

Definition at line 143 of file G4MCTSimVertex.hh.

References volumeName.

void G4MCTSimVertex::SetVolumeNumber ( int  n)
inline

Definition at line 149 of file G4MCTSimVertex.hh.

References n, and volumeNumber.

Member Data Documentation

std::string G4MCTSimVertex::creatorProcessName
private

Definition at line 55 of file G4MCTSimVertex.hh.

Referenced by GetCreatorProcessName(), operator=(), and SetCreatorProcessName().

int G4MCTSimVertex::id
private

Definition at line 50 of file G4MCTSimVertex.hh.

Referenced by GetID(), and operator=().

int G4MCTSimVertex::inParticleTrackID
private

Definition at line 47 of file G4MCTSimVertex.hh.

Referenced by GetInParticleTrackID(), operator=(), and SetInParticle().

std::vector<int> G4MCTSimVertex::outParticleTrackIDList
private
G4ThreeVector G4MCTSimVertex::position
private

Definition at line 51 of file G4MCTSimVertex.hh.

Referenced by GetPosition(), operator=(), and SetPosition().

G4bool G4MCTSimVertex::storeFlag
private

Definition at line 56 of file G4MCTSimVertex.hh.

Referenced by GetStoreFlag(), and SetStoreFlag().

double G4MCTSimVertex::time
private

Definition at line 52 of file G4MCTSimVertex.hh.

Referenced by GetTime(), operator=(), and SetTime().

std::string G4MCTSimVertex::volumeName
private

Definition at line 53 of file G4MCTSimVertex.hh.

Referenced by GetVolumeName(), operator=(), and SetVolumeName().

int G4MCTSimVertex::volumeNumber
private

Definition at line 54 of file G4MCTSimVertex.hh.

Referenced by GetVolumeNumber(), operator=(), and SetVolumeNumber().


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