EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairRadLenManager Class Reference

#include <EicRoot/blob/master/base/FairRadLenManager.h>

+ Collaboration diagram for FairRadLenManager:

Public Member Functions

 FairRadLenManager ()
 
virtual ~FairRadLenManager ()
 
 ClassDef (FairRadLenManager, 1)
 
void AddPoint (Int_t &ModuleId)
 
void Init ()
 
void Reset ()
 

Static Public Member Functions

static FairRadLenManagerInstance ()
 

Private Member Functions

 FairRadLenManager (const FairRadLenManager &)
 
FairRadLenManageroperator= (const FairRadLenManager &)
 

Private Attributes

TClonesArray * fPointCollection
 
Int_t fTrackID
 
Int_t fVolumeID
 
TLorentzVector fPosIn
 
TLorentzVector fPosOut
 
TLorentzVector fMomIn
 
TLorentzVector fMomOut
 
Double_t fTime
 
Double_t fLength
 
Double_t fELoss
 
Float_t fA
 
Float_t fZmat
 
Float_t fDensity
 
Float_t fRadl
 
Float_t fAbsl
 

Static Private Attributes

static FairRadLenManagerfgInstance
 

Detailed Description

Definition at line 20 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 20 of file FairRadLenManager.h

Constructor & Destructor Documentation

FairRadLenManager::FairRadLenManager ( )

Default constructor. Creates the singleton object of FairRadLenManager class. The pointer to this object can be reached via FairRadLenManager::Instance().

radiation length default ctor

Definition at line 27 of file FairRadLenManager.cxx.

View newest version in sPHENIX GitHub at line 27 of file FairRadLenManager.cxx

References fgInstance.

FairRadLenManager::~FairRadLenManager ( )
virtual

Destructor.

radiation length default dtor

Definition at line 51 of file FairRadLenManager.cxx.

View newest version in sPHENIX GitHub at line 51 of file FairRadLenManager.cxx

References fgInstance, and fPointCollection.

FairRadLenManager::FairRadLenManager ( const FairRadLenManager )
private

Member Function Documentation

void FairRadLenManager::AddPoint ( Int_t &  ModuleId)

Add point to collection

Add a point to the collection

Sum energy loss for all steps in the active volume

Create a point at exit of the volume

Definition at line 71 of file FairRadLenManager.cxx.

View newest version in sPHENIX GitHub at line 71 of file FairRadLenManager.cxx

References fA, fAbsl, fDensity, fELoss, fLength, fMomIn, fMomOut, fPointCollection, fPosIn, fPosOut, fRadl, fTime, fTrackID, fVolumeID, fZmat, and p.

Referenced by FairMCApplication::Stepping().

+ Here is the caller graph for this function:

FairRadLenManager::ClassDef ( FairRadLenManager  ,
 
)

Class definition.

void FairRadLenManager::Init ( )

initialize the manager

create the branch for output

Definition at line 59 of file FairRadLenManager.cxx.

View newest version in sPHENIX GitHub at line 59 of file FairRadLenManager.cxx

References fPointCollection, FairRootManager::Instance(), and FairRootManager::Register().

Referenced by FairMCApplication::InitGeometry().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static FairRadLenManager* FairRadLenManager::Instance ( )
static

This function is used to access the methods of the class.

Returns
Pointer to the singleton FairRadLenManager object, created with FairRadLenManager::FairRadLenManager().
FairRadLenManager& FairRadLenManager::operator= ( const FairRadLenManager )
private
void FairRadLenManager::Reset ( )

reset

We have to free the momeory, Clear() is faster but not enough!

Definition at line 65 of file FairRadLenManager.cxx.

View newest version in sPHENIX GitHub at line 65 of file FairRadLenManager.cxx

References fPointCollection.

Referenced by FairMCApplication::FinishEvent().

+ Here is the caller graph for this function:

Member Data Documentation

Float_t FairRadLenManager::fA
private

mass umber

Definition at line 72 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 72 of file FairRadLenManager.h

Referenced by AddPoint().

Float_t FairRadLenManager::fAbsl
private

absorption length

Definition at line 80 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 80 of file FairRadLenManager.h

Referenced by AddPoint().

Float_t FairRadLenManager::fDensity
private

density

Definition at line 76 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 76 of file FairRadLenManager.h

Referenced by AddPoint().

Double_t FairRadLenManager::fELoss
private

energy loss

Definition at line 70 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 70 of file FairRadLenManager.h

Referenced by AddPoint().

FairRadLenManager* FairRadLenManager::fgInstance
staticprivate

Definition at line 47 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 47 of file FairRadLenManager.h

Referenced by FairRadLenManager(), and ~FairRadLenManager().

Double_t FairRadLenManager::fLength
private

track length

Definition at line 68 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 68 of file FairRadLenManager.h

Referenced by AddPoint().

TLorentzVector FairRadLenManager::fMomIn
private

momentum in

Definition at line 62 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 62 of file FairRadLenManager.h

Referenced by AddPoint().

TLorentzVector FairRadLenManager::fMomOut
private

momentum out

Definition at line 64 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 64 of file FairRadLenManager.h

Referenced by AddPoint().

TClonesArray* FairRadLenManager::fPointCollection
private

collection of point

Definition at line 52 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 52 of file FairRadLenManager.h

Referenced by AddPoint(), Init(), Reset(), and ~FairRadLenManager().

TLorentzVector FairRadLenManager::fPosIn
private

entry position in global frame

Definition at line 58 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 58 of file FairRadLenManager.h

Referenced by AddPoint().

TLorentzVector FairRadLenManager::fPosOut
private

exit position in global frame

Definition at line 60 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 60 of file FairRadLenManager.h

Referenced by AddPoint().

Float_t FairRadLenManager::fRadl
private

radition length

Definition at line 78 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 78 of file FairRadLenManager.h

Referenced by AddPoint().

Double_t FairRadLenManager::fTime
private

track time

Definition at line 66 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 66 of file FairRadLenManager.h

Referenced by AddPoint().

Int_t FairRadLenManager::fTrackID
private

track index

Definition at line 54 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 54 of file FairRadLenManager.h

Referenced by AddPoint().

Int_t FairRadLenManager::fVolumeID
private

volume id

Definition at line 56 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 56 of file FairRadLenManager.h

Referenced by AddPoint().

Float_t FairRadLenManager::fZmat
private

atomic number

Definition at line 74 of file FairRadLenManager.h.

View newest version in sPHENIX GitHub at line 74 of file FairRadLenManager.h

Referenced by AddPoint().


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