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

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

+ Collaboration diagram for FairRadGridManager:

Public Member Functions

 FairRadGridManager ()
 
virtual ~FairRadGridManager ()
 
 ClassDef (FairRadGridManager, 1)
 
TObjArray * GetMeshList ()
 
void AddMeshList (TObjArray *list)
 
Bool_t IsTrackInside (TLorentzVector &vec, FairMesh *aMesh)
 
Bool_t IsTrackEntering (TLorentzVector &vec1, TLorentzVector &vec2)
 
void FillMeshList ()
 
void Init ()
 
void Reset ()
 

Static Public Member Functions

static FairRadGridManagerInstance ()
 

Private Member Functions

 FairRadGridManager (const FairRadGridManager &)
 
FairRadGridManageroperator= (const FairRadGridManager &)
 

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
 
Int_t fEstimator
 
TObjArray * fMeshList
 

Static Private Attributes

static FairRadGridManagerfgInstance
 
static Double_t fLtmp
 

Detailed Description

Definition at line 24 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 24 of file FairRadGridManager.h

Constructor & Destructor Documentation

FairRadGridManager::FairRadGridManager ( )

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

radiation length default ctor

Definition at line 30 of file FairRadGridManager.cxx.

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

References fgInstance, and fLtmp.

FairRadGridManager::~FairRadGridManager ( )
virtual

Destructor.

radiation length default dtor

Definition at line 56 of file FairRadGridManager.cxx.

View newest version in sPHENIX GitHub at line 56 of file FairRadGridManager.cxx

References fgInstance.

FairRadGridManager::FairRadGridManager ( const FairRadGridManager )
private

Member Function Documentation

void FairRadGridManager::AddMeshList ( TObjArray *  list)
inline

Definition at line 93 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 93 of file FairRadGridManager.h

References charm_jet_coverage::list.

Referenced by FairMCApplication::AddMeshList().

+ Here is the caller graph for this function:

FairRadGridManager::ClassDef ( FairRadGridManager  ,
 
)

Class definition.

void FairRadGridManager::FillMeshList ( )

fill the 2D mesh

Add a point to the collection

Sum energy loss for all steps in the mesh

Definition at line 73 of file FairRadGridManager.cxx.

View newest version in sPHENIX GitHub at line 73 of file FairRadGridManager.cxx

References fELoss, FairMesh::fillFluence(), FairMesh::fillSEU(), FairMesh::fillTID(), fLength, fMeshList, fMomIn, fMomOut, fPosIn, fPosOut, fTrackID, FairMesh::GetBinVolume(), FairMesh::GetDiag(), IsTrackInside(), and part.

Referenced by FairMCApplication::Stepping().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TObjArray* FairRadGridManager::GetMeshList ( )
inline

Definition at line 92 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 92 of file FairRadGridManager.h

Referenced by FairMCApplication::FinishRun().

+ Here is the caller graph for this function:

void FairRadGridManager::Init ( )

initialize the manager

Definition at line 62 of file FairRadGridManager.cxx.

View newest version in sPHENIX GitHub at line 62 of file FairRadGridManager.cxx

Referenced by FairMCApplication::InitGeometry().

+ Here is the caller graph for this function:

FairRadGridManager * FairRadGridManager::Instance ( )
static

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

Returns
Pointer to the singleton FairRadGridManager object, created with FairRadGridManager::FairRadGridManager().

singelton instance

Definition at line 24 of file FairRadGridManager.cxx.

View newest version in sPHENIX GitHub at line 24 of file FairRadGridManager.cxx

Bool_t FairRadGridManager::IsTrackEntering ( TLorentzVector &  vec1,
TLorentzVector &  vec2 
)

Definition at line 127 of file FairRadGridManager.cxx.

View newest version in sPHENIX GitHub at line 127 of file FairRadGridManager.cxx

Bool_t FairRadGridManager::IsTrackInside ( TLorentzVector &  vec,
FairMesh aMesh 
)

Definition at line 150 of file FairRadGridManager.cxx.

View newest version in sPHENIX GitHub at line 150 of file FairRadGridManager.cxx

References FairMesh::GetXmax(), FairMesh::GetXmin(), FairMesh::GetYmax(), FairMesh::GetYmin(), FairMesh::GetZmax(), and FairMesh::GetZmin().

Referenced by FillMeshList().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FairRadGridManager& FairRadGridManager::operator= ( const FairRadGridManager )
private
void FairRadGridManager::Reset ( )

reset

Definition at line 67 of file FairRadGridManager.cxx.

View newest version in sPHENIX GitHub at line 67 of file FairRadGridManager.cxx

Member Data Documentation

Float_t FairRadGridManager::fA
private

mass umber

Definition at line 75 of file FairRadGridManager.h.

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

Float_t FairRadGridManager::fAbsl
private

absorption length

Definition at line 83 of file FairRadGridManager.h.

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

Float_t FairRadGridManager::fDensity
private

density

Definition at line 79 of file FairRadGridManager.h.

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

Double_t FairRadGridManager::fELoss
private

energy loss

Definition at line 73 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 73 of file FairRadGridManager.h

Referenced by FillMeshList().

Int_t FairRadGridManager::fEstimator
private

estimator

Definition at line 85 of file FairRadGridManager.h.

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

FairRadGridManager* FairRadGridManager::fgInstance
staticprivate

Definition at line 50 of file FairRadGridManager.h.

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

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

Double_t FairRadGridManager::fLength
private

track length

Definition at line 71 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 71 of file FairRadGridManager.h

Referenced by FillMeshList().

Double_t FairRadGridManager::fLtmp
staticprivate

Definition at line 89 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 89 of file FairRadGridManager.h

Referenced by FairRadGridManager().

TObjArray* FairRadGridManager::fMeshList
private

the mesh

Definition at line 87 of file FairRadGridManager.h.

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

Referenced by FillMeshList().

TLorentzVector FairRadGridManager::fMomIn
private

momentum in

Definition at line 65 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 65 of file FairRadGridManager.h

Referenced by FillMeshList().

TLorentzVector FairRadGridManager::fMomOut
private

momentum out

Definition at line 67 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 67 of file FairRadGridManager.h

Referenced by FillMeshList().

TClonesArray* FairRadGridManager::fPointCollection
private

collection of point

Definition at line 55 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 55 of file FairRadGridManager.h

TLorentzVector FairRadGridManager::fPosIn
private

entry position in global frame

Definition at line 61 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 61 of file FairRadGridManager.h

Referenced by FillMeshList().

TLorentzVector FairRadGridManager::fPosOut
private

exit position in global frame

Definition at line 63 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 63 of file FairRadGridManager.h

Referenced by FillMeshList().

Float_t FairRadGridManager::fRadl
private

radition length

Definition at line 81 of file FairRadGridManager.h.

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

Double_t FairRadGridManager::fTime
private

track time

Definition at line 69 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 69 of file FairRadGridManager.h

Int_t FairRadGridManager::fTrackID
private

track index

Definition at line 57 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 57 of file FairRadGridManager.h

Referenced by FillMeshList().

Int_t FairRadGridManager::fVolumeID
private

volume id

Definition at line 59 of file FairRadGridManager.h.

View newest version in sPHENIX GitHub at line 59 of file FairRadGridManager.h

Float_t FairRadGridManager::fZmat
private

atomic number

Definition at line 77 of file FairRadGridManager.h.

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


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