Public Types | Public Member Functions | Public Attributes | Friends | List of all members
TG4PrimaryVertex Class Reference

#include <TG4PrimaryVertex.h>

Inheritance diagram for TG4PrimaryVertex:

Public Types

typedef std::vector< TG4PrimaryParticlePrimaryParticles
 

Public Member Functions

 TG4PrimaryVertex (void)
 
virtual ~TG4PrimaryVertex ()
 
const TLorentzVector & GetPosition () const
 The initial position of the particle. More...
 
const char * GetGeneratorName () const
 The name of the generator that created this vertex. More...
 
const char * GetReaction () const
 The reaction that created this vertex. More...
 
const char * GetFilename () const
 The name of the input file. More...
 
int GetInteractionNumber () const
 The index (or identifier) of the interaction in the kinematics file. More...
 
double GetCrossSection () const
 The cross section for the reaction that created this vertex. More...
 
double GetDiffCrossSection () const
 
double GetWeight () const
 
double GetProbability () const
 

Public Attributes

PrimaryParticles Particles
 The PrimaryVertex points for this PrimaryVertex. More...
 
TG4PrimaryVertexContainer Informational
 The informational vertices associated with this vertex. More...
 
TLorentzVector Position
 The initial position of the particle. More...
 
std::string GeneratorName
 The name of the generator that created this vertex. More...
 
std::string Reaction
 The reaction that created this vertex. More...
 
std::string Filename
 The name of the input file. More...
 
Int_t InteractionNumber
 The index (or identifier) of the interaction in the kinematics file. More...
 
Float_t CrossSection
 The cross section for the reaction that created this vertex. More...
 
Float_t DiffCrossSection
 
Float_t Weight
 
Float_t Probability
 

Friends

class EDepSim::PersistencyManager
 

Detailed Description

A class to save a G4 primary vertex into a root output file without linking to geant.

Definition at line 18 of file TG4PrimaryVertex.h.

Member Typedef Documentation

Definition at line 21 of file TG4PrimaryVertex.h.

Constructor & Destructor Documentation

TG4PrimaryVertex::TG4PrimaryVertex ( void  )
inline

Definition at line 23 of file TG4PrimaryVertex.h.

24  : Position(0,0,0,0), GeneratorName("none"),
26  Weight(0.0), Probability(0.0) {}
Float_t CrossSection
The cross section for the reaction that created this vertex.
std::string GeneratorName
The name of the generator that created this vertex.
TLorentzVector Position
The initial position of the particle.
Int_t InteractionNumber
The index (or identifier) of the interaction in the kinematics file.
virtual TG4PrimaryVertex::~TG4PrimaryVertex ( )
virtual

Member Function Documentation

double TG4PrimaryVertex::GetCrossSection ( ) const
inline

The cross section for the reaction that created this vertex.

Definition at line 45 of file TG4PrimaryVertex.h.

45 {return CrossSection;}
Float_t CrossSection
The cross section for the reaction that created this vertex.
double TG4PrimaryVertex::GetDiffCrossSection ( ) const
inline

The differential cross section for the kinematics of the reaction that created this vertex.

Definition at line 49 of file TG4PrimaryVertex.h.

49 {return DiffCrossSection;}
const char* TG4PrimaryVertex::GetFilename ( ) const
inline

The name of the input file.

Definition at line 39 of file TG4PrimaryVertex.h.

39 {return Filename.c_str();}
std::string Filename
The name of the input file.
const char* TG4PrimaryVertex::GetGeneratorName ( ) const
inline

The name of the generator that created this vertex.

Definition at line 33 of file TG4PrimaryVertex.h.

33 {return GeneratorName.c_str();}
std::string GeneratorName
The name of the generator that created this vertex.
int TG4PrimaryVertex::GetInteractionNumber ( ) const
inline

The index (or identifier) of the interaction in the kinematics file.

Definition at line 42 of file TG4PrimaryVertex.h.

42 {return InteractionNumber;}
Int_t InteractionNumber
The index (or identifier) of the interaction in the kinematics file.
const TLorentzVector& TG4PrimaryVertex::GetPosition ( ) const
inline

The initial position of the particle.

Definition at line 30 of file TG4PrimaryVertex.h.

30 {return Position ;}
TLorentzVector Position
The initial position of the particle.
double TG4PrimaryVertex::GetProbability ( ) const
inline

The overall probability of the interaction that created this vertex. This includes the effect of the cross section, path length through the material, etc. This should be one if it is not filled.

Definition at line 59 of file TG4PrimaryVertex.h.

59 {return Probability;}
const char* TG4PrimaryVertex::GetReaction ( ) const
inline

The reaction that created this vertex.

Definition at line 36 of file TG4PrimaryVertex.h.

36 {return Reaction.c_str();}
std::string Reaction
The reaction that created this vertex.
double TG4PrimaryVertex::GetWeight ( ) const
inline

The weight of the interaction. This will be set to one if the interaction is not reweighted. If the vertex is oversampled, this will be less than one.

Definition at line 54 of file TG4PrimaryVertex.h.

54 {return Weight;}

Friends And Related Function Documentation

friend class EDepSim::PersistencyManager
friend

Definition at line 19 of file TG4PrimaryVertex.h.

Member Data Documentation

Float_t TG4PrimaryVertex::CrossSection

The cross section for the reaction that created this vertex.

Definition at line 96 of file TG4PrimaryVertex.h.

Float_t TG4PrimaryVertex::DiffCrossSection

The differential cross section for the kinematics of the reaction that created this vertex.

Definition at line 100 of file TG4PrimaryVertex.h.

std::string TG4PrimaryVertex::Filename

The name of the input file.

Definition at line 90 of file TG4PrimaryVertex.h.

std::string TG4PrimaryVertex::GeneratorName

The name of the generator that created this vertex.

Definition at line 84 of file TG4PrimaryVertex.h.

TG4PrimaryVertexContainer TG4PrimaryVertex::Informational

The informational vertices associated with this vertex.

Definition at line 65 of file TG4PrimaryVertex.h.

Int_t TG4PrimaryVertex::InteractionNumber

The index (or identifier) of the interaction in the kinematics file.

Definition at line 93 of file TG4PrimaryVertex.h.

PrimaryParticles TG4PrimaryVertex::Particles

The PrimaryVertex points for this PrimaryVertex.

Definition at line 62 of file TG4PrimaryVertex.h.

TLorentzVector TG4PrimaryVertex::Position

The initial position of the particle.

Definition at line 81 of file TG4PrimaryVertex.h.

Float_t TG4PrimaryVertex::Probability

The overall probability of the interaction that created this vertex. This includes the effect of the cross section, path length through the material, etc. This should be one if it is not filled.

Definition at line 110 of file TG4PrimaryVertex.h.

std::string TG4PrimaryVertex::Reaction

The reaction that created this vertex.

Definition at line 87 of file TG4PrimaryVertex.h.

Float_t TG4PrimaryVertex::Weight

The weight of the interaction. This will be set to one if the interaction is not reweighted. If the vertex is oversampled, this will be less than one.

Definition at line 105 of file TG4PrimaryVertex.h.


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