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

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

+ Collaboration diagram for FairRadMapManager:

Public Member Functions

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

Static Public Member Functions

static FairRadMapManagerInstance ()
 

Private Member Functions

 FairRadMapManager (const FairRadMapManager &)
 
FairRadMapManageroperator= (const FairRadMapManager &)
 

Private Attributes

TClonesArray * fPointCollection
 
Int_t fTrackID
 
Int_t fVolumeID
 
Int_t fPdg
 
TLorentzVector fPosIn
 
TLorentzVector fPosOut
 
TLorentzVector fMomIn
 
TLorentzVector fMomOut
 
Double_t fTime
 
Double_t fLength
 
Double_t fStep
 
Double_t fELoss
 
Double_t fDose
 
Double_t fDoseSL
 
Float_t fA
 
Float_t fZmat
 
Float_t fRadl
 
Float_t fDensity
 
Float_t fAbsl
 
Double_t fActVol
 
Double_t fActMass
 
TMap * fMassMap
 

Static Private Attributes

static FairRadMapManagerfgInstance
 

Detailed Description

Definition at line 18 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 18 of file FairRadMapManager.h

Constructor & Destructor Documentation

FairRadMapManager::FairRadMapManager ( )

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

radiation length default ctor

Definition at line 30 of file FairRadMapManager.cxx.

View newest version in sPHENIX GitHub at line 30 of file FairRadMapManager.cxx

References fgInstance.

FairRadMapManager::~FairRadMapManager ( )
virtual

Destructor.

radiation length default dtor

Definition at line 63 of file FairRadMapManager.cxx.

View newest version in sPHENIX GitHub at line 63 of file FairRadMapManager.cxx

References fgInstance, fMassMap, and fPointCollection.

FairRadMapManager::FairRadMapManager ( const FairRadMapManager )
private

Member Function Documentation

void FairRadMapManager::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 117 of file FairRadMapManager.cxx.

View newest version in sPHENIX GitHub at line 117 of file FairRadMapManager.cxx

References fA, fAbsl, fActMass, fActVol, fDensity, fDose, fDoseSL, fELoss, fLength, fMassMap, fMomIn, fMomOut, fPdg, fPointCollection, fPosIn, fPosOut, fRadl, fStep, fTime, fTrackID, fVolumeID, fZmat, and p.

Referenced by FairMCApplication::Stepping().

+ Here is the caller graph for this function:

FairRadMapManager::ClassDef ( FairRadMapManager  ,
 
)

Class definition.

void FairRadMapManager::Init ( )

initialize the manager

create the branch for output

Definition at line 72 of file FairRadMapManager.cxx.

View newest version in sPHENIX GitHub at line 72 of file FairRadMapManager.cxx

References fMassMap, 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 FairRadMapManager* FairRadMapManager::Instance ( )
static

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

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

reset

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

Definition at line 110 of file FairRadMapManager.cxx.

View newest version in sPHENIX GitHub at line 110 of file FairRadMapManager.cxx

References fPointCollection, and printf().

Referenced by FairMCApplication::FinishEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Float_t FairRadMapManager::fA
private

mass umber

Definition at line 77 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 77 of file FairRadMapManager.h

Referenced by AddPoint().

Float_t FairRadMapManager::fAbsl
private

absorption length

Definition at line 85 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 85 of file FairRadMapManager.h

Referenced by AddPoint().

Double_t FairRadMapManager::fActMass
private

Definition at line 88 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 88 of file FairRadMapManager.h

Referenced by AddPoint().

Double_t FairRadMapManager::fActVol
private

Definition at line 87 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 87 of file FairRadMapManager.h

Referenced by AddPoint().

Float_t FairRadMapManager::fDensity
private

density

Definition at line 83 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 83 of file FairRadMapManager.h

Referenced by AddPoint().

Double_t FairRadMapManager::fDose
private

dose

Definition at line 74 of file FairRadMapManager.h.

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

Referenced by AddPoint().

Double_t FairRadMapManager::fDoseSL
private

Definition at line 75 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 75 of file FairRadMapManager.h

Referenced by AddPoint().

Double_t FairRadMapManager::fELoss
private

energy loss

Definition at line 72 of file FairRadMapManager.h.

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

Referenced by AddPoint().

FairRadMapManager* FairRadMapManager::fgInstance
staticprivate

Definition at line 45 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 45 of file FairRadMapManager.h

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

Double_t FairRadMapManager::fLength
private

track length

Definition at line 68 of file FairRadMapManager.h.

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

Referenced by AddPoint().

TMap* FairRadMapManager::fMassMap
private

Definition at line 90 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 90 of file FairRadMapManager.h

Referenced by AddPoint(), Init(), and ~FairRadMapManager().

TLorentzVector FairRadMapManager::fMomIn
private

momentum in

Definition at line 62 of file FairRadMapManager.h.

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

Referenced by AddPoint().

TLorentzVector FairRadMapManager::fMomOut
private

momentum out

Definition at line 64 of file FairRadMapManager.h.

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

Referenced by AddPoint().

Int_t FairRadMapManager::fPdg
private

pid

Definition at line 56 of file FairRadMapManager.h.

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

Referenced by AddPoint().

TClonesArray* FairRadMapManager::fPointCollection
private

collection of point

Definition at line 50 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 50 of file FairRadMapManager.h

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

TLorentzVector FairRadMapManager::fPosIn
private

entry position in global frame

Definition at line 58 of file FairRadMapManager.h.

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

Referenced by AddPoint().

TLorentzVector FairRadMapManager::fPosOut
private

exit position in global frame

Definition at line 60 of file FairRadMapManager.h.

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

Referenced by AddPoint().

Float_t FairRadMapManager::fRadl
private

radiation length

Definition at line 81 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 81 of file FairRadMapManager.h

Referenced by AddPoint().

Double_t FairRadMapManager::fStep
private

track setp

Definition at line 70 of file FairRadMapManager.h.

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

Referenced by AddPoint().

Double_t FairRadMapManager::fTime
private

track time

Definition at line 66 of file FairRadMapManager.h.

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

Referenced by AddPoint().

Int_t FairRadMapManager::fTrackID
private

track index

Definition at line 52 of file FairRadMapManager.h.

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

Referenced by AddPoint().

Int_t FairRadMapManager::fVolumeID
private

volume id

Definition at line 54 of file FairRadMapManager.h.

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

Referenced by AddPoint().

Float_t FairRadMapManager::fZmat
private

atomic number

Definition at line 79 of file FairRadMapManager.h.

View newest version in sPHENIX GitHub at line 79 of file FairRadMapManager.h

Referenced by AddPoint().


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