ACTARSim
ACTAR TPC Simulation Reference Guide
Public Member Functions | Private Attributes | List of all members
ActarSimBeamInfo Class Reference

The information from the beam parameters at the entrance of the gas chamber and at the reaction vertex. All data members are accesible in the branch beamInfo of The_Event_Tree, except status which is for internal use.

Definition at line 17 of file ActarSimBeamInfo.hh.

Public Member Functions

 ActarSimBeamInfo ()
 
 ~ActarSimBeamInfo ()
 Destructor (makes nothing) More...
 
Double_t GetEnergyEntrance () const
 
Double_t GetEnergyVertex () const
 
Double_t GetThetaEntrance () const
 
Double_t GetPhiEntrance () const
 
Double_t GetThetaVertex () const
 
Double_t GetPhiVertex () const
 
Double_t GetXEntrance () const
 
Double_t GetYEntrance () const
 
Double_t GetZEntrance () const
 
Double_t GetXVertex () const
 
Double_t GetYVertex () const
 
Double_t GetZVertex () const
 
Double_t GetTimeVertex () const
 
Double_t GetMass () const
 
Double_t GetCharge () const
 
Double_t GetEventID () const
 
Double_t GetRunID () const
 
Int_t GetStatus () const
 
void SetEnergyEntrance (Double_t e)
 
void SetEnergyVertex (Double_t e)
 
void SetThetaEntrance (Double_t t)
 
void SetPhiEntrance (Double_t p)
 
void SetThetaVertex (Double_t t)
 
void SetPhiVertex (Double_t p)
 
void SetXEntrance (Double_t x)
 
void SetYEntrance (Double_t y)
 
void SetZEntrance (Double_t z)
 
void SetXVertex (Double_t x)
 
void SetYVertex (Double_t y)
 
void SetZVertex (Double_t z)
 
void SetTimeVertex (Double_t t)
 
void SetMass (Double_t m)
 
void SetCharge (Double_t c)
 
void SetEventID (UInt_t eID)
 
void SetRunID (UInt_t rID)
 
void SetStatus (Int_t s)
 
void SetPositionEntrance (Double_t, Double_t, Double_t)
 Sets the position at entrance of the chamber. More...
 
void SetAnglesEntrance (Double_t, Double_t)
 Sets the angles at entrance. More...
 
void SetPositionVertex (Double_t, Double_t, Double_t)
 Sets the position of the reaction vertex. More...
 
void SetAnglesVertex (Double_t, Double_t)
 Sets the angles at vertex. More...
 
void print (void)
 Prints the complete state of the class members. More...
 

Private Attributes

Double_t energyEntrance
 Energy at the gas chamber entrance. More...
 
Double_t energyVertex
 Energy at the reaction vertex. More...
 
Double_t thetaEntrance
 Theta emission angle at entrance. More...
 
Double_t phiEntrance
 Phi emission angle at entrance. More...
 
Double_t thetaVertex
 Theta vertex angle at the reaction vertex. More...
 
Double_t phiVertex
 Phi vertex angle at the reaction vertex. More...
 
Double_t xEntrance
 X beam at entrance position. More...
 
Double_t yEntrance
 Y beam at entrance position. More...
 
Double_t zEntrance
 Z beam at entrance position. More...
 
Double_t xVertex
 X beam at reaction vertex position. More...
 
Double_t yVertex
 Y beam at reaction vertex position. More...
 
Double_t zVertex
 Z beam at reaction vertex position. More...
 
Double_t timeVertex
 Time at reaction vertex postion. More...
 
Double_t mass
 Mass of beam. More...
 
Double_t charge
 Charge of beam. More...
 
Int_t eventID
 EventID. More...
 
Int_t runID
 RunID. More...
 
Int_t status
 

#include <ActarSimBeamInfo.hh>

+ Inheritance diagram for ActarSimBeamInfo:
+ Collaboration diagram for ActarSimBeamInfo:

Constructor & Destructor Documentation

ActarSimBeamInfo::ActarSimBeamInfo ( )
ActarSimBeamInfo::~ActarSimBeamInfo ( )

Destructor (makes nothing)

Definition at line 49 of file ActarSimBeamInfo.cc.

Member Function Documentation

Double_t ActarSimBeamInfo::GetCharge ( ) const
inline

Definition at line 74 of file ActarSimBeamInfo.hh.

Double_t ActarSimBeamInfo::GetEnergyEntrance ( ) const
inline

Definition at line 54 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::GeneratePrimaries().

Double_t ActarSimBeamInfo::GetEnergyVertex ( ) const
inline
Double_t ActarSimBeamInfo::GetEventID ( ) const
inline

Definition at line 75 of file ActarSimBeamInfo.hh.

Double_t ActarSimBeamInfo::GetMass ( ) const
inline

Definition at line 73 of file ActarSimBeamInfo.hh.

Double_t ActarSimBeamInfo::GetPhiEntrance ( ) const
inline

Definition at line 58 of file ActarSimBeamInfo.hh.

Double_t ActarSimBeamInfo::GetPhiVertex ( ) const
inline
Double_t ActarSimBeamInfo::GetRunID ( ) const
inline

Definition at line 76 of file ActarSimBeamInfo.hh.

Int_t ActarSimBeamInfo::GetStatus ( void  ) const
inline
Double_t ActarSimBeamInfo::GetThetaEntrance ( ) const
inline

Definition at line 57 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::GeneratePrimaries().

Double_t ActarSimBeamInfo::GetThetaVertex ( ) const
inline
Double_t ActarSimBeamInfo::GetTimeVertex ( ) const
inline
Double_t ActarSimBeamInfo::GetXEntrance ( ) const
inline

Definition at line 63 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::UserSteppingAction().

Double_t ActarSimBeamInfo::GetXVertex ( ) const
inline
Double_t ActarSimBeamInfo::GetYEntrance ( ) const
inline

Definition at line 64 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::UserSteppingAction().

Double_t ActarSimBeamInfo::GetYVertex ( ) const
inline
Double_t ActarSimBeamInfo::GetZEntrance ( ) const
inline

Definition at line 65 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::UserSteppingAction().

Double_t ActarSimBeamInfo::GetZVertex ( ) const
inline
void ActarSimBeamInfo::print ( void  )

Prints the complete state of the class members.

Definition at line 54 of file ActarSimBeamInfo.cc.

Referenced by SetStatus().

void ActarSimBeamInfo::SetAnglesEntrance ( Double_t  angleTheta,
Double_t  anglePhi 
)

Sets the angles at entrance.

Definition at line 97 of file ActarSimBeamInfo.cc.

Referenced by ActarSimPrimaryGeneratorAction::GeneratePrimaries(), and SetStatus().

void ActarSimBeamInfo::SetAnglesVertex ( Double_t  angleTheta,
Double_t  anglePhi 
)

Sets the angles at vertex.

Definition at line 104 of file ActarSimBeamInfo.cc.

Referenced by SetStatus().

void ActarSimBeamInfo::SetCharge ( Double_t  c)
inline
void ActarSimBeamInfo::SetEnergyEntrance ( Double_t  e)
inline
void ActarSimBeamInfo::SetEnergyVertex ( Double_t  e)
inline

Definition at line 81 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::UserSteppingAction().

void ActarSimBeamInfo::SetEventID ( UInt_t  eID)
inline

Definition at line 101 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::GenerateBeam().

void ActarSimBeamInfo::SetMass ( Double_t  m)
inline
void ActarSimBeamInfo::SetPhiEntrance ( Double_t  p)
inline

Definition at line 84 of file ActarSimBeamInfo.hh.

void ActarSimBeamInfo::SetPhiVertex ( Double_t  p)
inline

Definition at line 87 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::UserSteppingAction().

void ActarSimBeamInfo::SetPositionEntrance ( Double_t  x,
Double_t  y,
Double_t  z 
)

Sets the position at entrance of the chamber.

Definition at line 81 of file ActarSimBeamInfo.cc.

Referenced by ActarSimPrimaryGeneratorAction::GeneratePrimaries(), and SetStatus().

void ActarSimBeamInfo::SetPositionVertex ( Double_t  x,
Double_t  y,
Double_t  z 
)

Sets the position of the reaction vertex.

Definition at line 89 of file ActarSimBeamInfo.cc.

Referenced by SetStatus().

void ActarSimBeamInfo::SetRunID ( UInt_t  rID)
inline

Definition at line 102 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::GenerateBeam().

void ActarSimBeamInfo::SetStatus ( Int_t  s)
inline
void ActarSimBeamInfo::SetThetaEntrance ( Double_t  t)
inline

Definition at line 83 of file ActarSimBeamInfo.hh.

void ActarSimBeamInfo::SetThetaVertex ( Double_t  t)
inline

Definition at line 86 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::UserSteppingAction().

void ActarSimBeamInfo::SetTimeVertex ( Double_t  t)
inline

Definition at line 97 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::UserSteppingAction().

void ActarSimBeamInfo::SetXEntrance ( Double_t  x)
inline

Definition at line 89 of file ActarSimBeamInfo.hh.

void ActarSimBeamInfo::SetXVertex ( Double_t  x)
inline

Definition at line 93 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::UserSteppingAction().

void ActarSimBeamInfo::SetYEntrance ( Double_t  y)
inline

Definition at line 90 of file ActarSimBeamInfo.hh.

void ActarSimBeamInfo::SetYVertex ( Double_t  y)
inline

Definition at line 94 of file ActarSimBeamInfo.hh.

Referenced by ActarSimROOTAnalysis::UserSteppingAction().

void ActarSimBeamInfo::SetZEntrance ( Double_t  z)
inline

Definition at line 91 of file ActarSimBeamInfo.hh.

void ActarSimBeamInfo::SetZVertex ( Double_t  z)
inline

Member Data Documentation

Double_t ActarSimBeamInfo::charge
private

Charge of beam.

Definition at line 38 of file ActarSimBeamInfo.hh.

Referenced by GetCharge(), and print().

Double_t ActarSimBeamInfo::energyEntrance
private

Energy at the gas chamber entrance.

Definition at line 19 of file ActarSimBeamInfo.hh.

Referenced by GetEnergyEntrance(), and print().

Double_t ActarSimBeamInfo::energyVertex
private

Energy at the reaction vertex.

Definition at line 20 of file ActarSimBeamInfo.hh.

Referenced by GetEnergyVertex(), and print().

Int_t ActarSimBeamInfo::eventID
private

EventID.

Definition at line 40 of file ActarSimBeamInfo.hh.

Referenced by GetEventID().

Double_t ActarSimBeamInfo::mass
private

Mass of beam.

Definition at line 37 of file ActarSimBeamInfo.hh.

Referenced by GetMass(), and print().

Double_t ActarSimBeamInfo::phiEntrance
private

Phi emission angle at entrance.

Definition at line 23 of file ActarSimBeamInfo.hh.

Referenced by GetPhiEntrance(), print(), SetAnglesEntrance(), and SetAnglesVertex().

Double_t ActarSimBeamInfo::phiVertex
private

Phi vertex angle at the reaction vertex.

Definition at line 25 of file ActarSimBeamInfo.hh.

Referenced by GetPhiVertex(), and print().

Int_t ActarSimBeamInfo::runID
private

RunID.

Definition at line 41 of file ActarSimBeamInfo.hh.

Referenced by GetRunID().

Int_t ActarSimBeamInfo::status
private

Informs of ion beam status. Used for the dynamical vertex generation in ActarSimPrimaryGeneratorAction. Values are 0: ion ready for being tracked. Default value after object creation. 1: ion under tracking. 2: ion reached Z0, the vertex position.

Definition at line 48 of file ActarSimBeamInfo.hh.

Referenced by GetStatus(), and print().

Double_t ActarSimBeamInfo::thetaEntrance
private

Theta emission angle at entrance.

Definition at line 22 of file ActarSimBeamInfo.hh.

Referenced by GetThetaEntrance(), print(), SetAnglesEntrance(), and SetAnglesVertex().

Double_t ActarSimBeamInfo::thetaVertex
private

Theta vertex angle at the reaction vertex.

Definition at line 24 of file ActarSimBeamInfo.hh.

Referenced by GetThetaVertex(), and print().

Double_t ActarSimBeamInfo::timeVertex
private

Time at reaction vertex postion.

Definition at line 35 of file ActarSimBeamInfo.hh.

Referenced by GetTimeVertex(), and print().

Double_t ActarSimBeamInfo::xEntrance
private

X beam at entrance position.

Definition at line 27 of file ActarSimBeamInfo.hh.

Referenced by GetXEntrance(), print(), and SetPositionEntrance().

Double_t ActarSimBeamInfo::xVertex
private

X beam at reaction vertex position.

Definition at line 31 of file ActarSimBeamInfo.hh.

Referenced by GetXVertex(), print(), and SetPositionVertex().

Double_t ActarSimBeamInfo::yEntrance
private

Y beam at entrance position.

Definition at line 28 of file ActarSimBeamInfo.hh.

Referenced by GetYEntrance(), print(), and SetPositionEntrance().

Double_t ActarSimBeamInfo::yVertex
private

Y beam at reaction vertex position.

Definition at line 32 of file ActarSimBeamInfo.hh.

Referenced by GetYVertex(), print(), and SetPositionVertex().

Double_t ActarSimBeamInfo::zEntrance
private

Z beam at entrance position.

Definition at line 29 of file ActarSimBeamInfo.hh.

Referenced by GetZEntrance(), print(), and SetPositionEntrance().

Double_t ActarSimBeamInfo::zVertex
private

Z beam at reaction vertex position.

Definition at line 33 of file ActarSimBeamInfo.hh.

Referenced by GetZVertex(), print(), and SetPositionVertex().


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