CbmRoot
CbmLitTrackingGeometryConstructor Class Reference

#include <CbmLitTrackingGeometryConstructor.h>

Collaboration diagram for CbmLitTrackingGeometryConstructor:
[legend]

Public Member Functions

void GetMuchLayoutVec (lit::parallel::LitDetectorLayoutVec &layout)
 Return MUCH detector layout for parallel MUCH tracking in SIMD format. More...
 
void GetMuchLayoutScal (lit::parallel::LitDetectorLayoutScal &layout)
 Return MUCH detector layout for parallel MUCH tracking in scalar format. More...
 
template<class T >
void GetMuchLayout (lit::parallel::LitDetectorLayout< T > &layout)
 Return MUCH detector layout for parallel MUCH tracking. More...
 
void GetTrdLayoutVec (lit::parallel::LitDetectorLayoutVec &layout)
 Return TRD detector layout for TRD parallel tracking in SIMD format. More...
 
void GetTrdLayoutScal (lit::parallel::LitDetectorLayoutScal &layout)
 Return TRD detector layout for TRD parallel tracking in scalar format. More...
 
template<class T >
void GetTrdLayout (lit::parallel::LitDetectorLayout< T > &layout)
 Return TRD detector layout for TRD parallel tracking. More...
 
void GetRichMaterial (lit::parallel::LitMaterialGrid *material)
 
void ConvertTProfile2DToLitMaterialGrid (const TProfile2D *profile, lit::parallel::LitMaterialGrid *grid, Double_t maximumValue=0)
 
Int_t GetNofTrdStations ()
 Return number of stations in TRD. More...
 
Int_t GetNofMuchStations ()
 Return number of stations in MUCH. More...
 
Int_t GetNofMuchTrdStations ()
 Return number of stations in MUCH + TRD. More...
 
Int_t GetNofMvdStations ()
 Return number of stations in MVD. More...
 
Int_t GetNofStsStations ()
 Return number of stations in STS. More...
 
Int_t GetNofMuchAbsorbers ()
 Return number of MUCH absorbers. More...
 
Int_t ConvertMuchToAbsoluteStationNr (Int_t station, Int_t layer)
 

Static Public Member Functions

static CbmLitTrackingGeometryConstructorInstance ()
 Return pointer to singleton object. More...
 

Private Member Functions

 CbmLitTrackingGeometryConstructor ()
 Constructor. Constructor is protected since singleton pattern is used. Pointer to object is returned by static Instance() method. More...
 
virtual ~CbmLitTrackingGeometryConstructor ()
 Destructor. More...
 
 CbmLitTrackingGeometryConstructor (const CbmLitTrackingGeometryConstructor &)
 Copy constructor. More...
 
const CbmLitTrackingGeometryConstructoroperator= (const CbmLitTrackingGeometryConstructor &)
 Assignment operator. More...
 

Private Attributes

TGeoManager * fGeo
 
Int_t fNofTrdStations
 
Int_t fNofMuchStations
 
Int_t fNofMvdStations
 
Int_t fNofStsStations
 
Int_t fNofMuchAbsorbers
 
CbmLitDetectorSetup fDet
 

Detailed Description

Definition at line 22 of file CbmLitTrackingGeometryConstructor.h.

Constructor & Destructor Documentation

◆ CbmLitTrackingGeometryConstructor() [1/2]

CbmLitTrackingGeometryConstructor::CbmLitTrackingGeometryConstructor ( )
private

Constructor. Constructor is protected since singleton pattern is used. Pointer to object is returned by static Instance() method.

Definition at line 41 of file CbmLitTrackingGeometryConstructor.cxx.

References CbmLitDetectorSetup::DetermineSetup(), fDet, and fGeo.

◆ ~CbmLitTrackingGeometryConstructor()

CbmLitTrackingGeometryConstructor::~CbmLitTrackingGeometryConstructor ( )
privatevirtual

Destructor.

Definition at line 52 of file CbmLitTrackingGeometryConstructor.cxx.

◆ CbmLitTrackingGeometryConstructor() [2/2]

CbmLitTrackingGeometryConstructor::CbmLitTrackingGeometryConstructor ( const CbmLitTrackingGeometryConstructor )
private

Copy constructor.

Member Function Documentation

◆ ConvertMuchToAbsoluteStationNr()

Int_t CbmLitTrackingGeometryConstructor::ConvertMuchToAbsoluteStationNr ( Int_t  station,
Int_t  layer 
)

Definition at line 497 of file CbmLitTrackingGeometryConstructor.cxx.

References fGeo, and fNofMuchStations.

Referenced by CbmLitRadLengthQa::GetMuchStationId().

◆ ConvertTProfile2DToLitMaterialGrid()

void CbmLitTrackingGeometryConstructor::ConvertTProfile2DToLitMaterialGrid ( const TProfile2D *  profile,
lit::parallel::LitMaterialGrid grid,
Double_t  maximumValue = 0 
)

◆ GetMuchLayout()

template<class T >
void CbmLitTrackingGeometryConstructor::GetMuchLayout ( lit::parallel::LitDetectorLayout< T > &  layout)

◆ GetMuchLayoutScal()

void CbmLitTrackingGeometryConstructor::GetMuchLayoutScal ( lit::parallel::LitDetectorLayoutScal layout)

Return MUCH detector layout for parallel MUCH tracking in scalar format.

Parameters
[out]layoutMUCH detector layout.

Definition at line 65 of file CbmLitTrackingGeometryConstructor.cxx.

References GetMuchLayout().

Referenced by CbmLitFitTracksParallel::DoFit(), and CbmLitFindGlobalTracksParallel::DoTracking().

◆ GetMuchLayoutVec()

void CbmLitTrackingGeometryConstructor::GetMuchLayoutVec ( lit::parallel::LitDetectorLayoutVec layout)

Return MUCH detector layout for parallel MUCH tracking in SIMD format.

Parameters
[out]layoutMUCH detector layout.

Definition at line 60 of file CbmLitTrackingGeometryConstructor.cxx.

References GetMuchLayout().

◆ GetNofMuchAbsorbers()

Int_t CbmLitTrackingGeometryConstructor::GetNofMuchAbsorbers ( )

Return number of MUCH absorbers.

Returns
Number of MUCH absorbers.

Definition at line 384 of file CbmLitTrackingGeometryConstructor.cxx.

References fGeo, and fNofMuchAbsorbers.

Referenced by CbmLitRadLengthQa::CreateHistograms().

◆ GetNofMuchStations()

Int_t CbmLitTrackingGeometryConstructor::GetNofMuchStations ( )

Return number of stations in MUCH.

Returns
Number of stations in MUCH.

Definition at line 337 of file CbmLitTrackingGeometryConstructor.cxx.

References fNofMuchStations.

Referenced by CbmLitFindGlobalTracks::ConvertInputData(), CbmLitRadLengthQa::CreateHistograms(), and GetNofMuchTrdStations().

◆ GetNofMuchTrdStations()

Int_t CbmLitTrackingGeometryConstructor::GetNofMuchTrdStations ( )

Return number of stations in MUCH + TRD.

Returns
Number of stations in MUCH + TRD.

Definition at line 415 of file CbmLitTrackingGeometryConstructor.cxx.

References GetNofMuchStations(), and GetNofTrdStations().

Referenced by CbmLitFindGlobalTracks::SelectTracksForTofMerging().

◆ GetNofMvdStations()

Int_t CbmLitTrackingGeometryConstructor::GetNofMvdStations ( )

Return number of stations in MVD.

Returns
Number of stations in MVD.

Definition at line 419 of file CbmLitTrackingGeometryConstructor.cxx.

References fNofMvdStations.

Referenced by CbmLitFindMvdTracks::ConvertInputData(), and CbmLitRadLengthQa::CreateHistograms().

◆ GetNofStsStations()

Int_t CbmLitTrackingGeometryConstructor::GetNofStsStations ( )

Return number of stations in STS.

Returns
Number of stations in STS.

Definition at line 480 of file CbmLitTrackingGeometryConstructor.cxx.

References fNofStsStations.

Referenced by CbmLitRadLengthQa::CreateHistograms().

◆ GetNofTrdStations()

Int_t CbmLitTrackingGeometryConstructor::GetNofTrdStations ( )

Return number of stations in TRD.

Returns
Number of stations in TRD.

Definition at line 315 of file CbmLitTrackingGeometryConstructor.cxx.

References fGeo, and fNofTrdStations.

Referenced by CbmLitRadLengthQa::CreateHistograms(), GetNofMuchTrdStations(), and GetTrdLayout().

◆ GetRichMaterial()

void CbmLitTrackingGeometryConstructor::GetRichMaterial ( lit::parallel::LitMaterialGrid material)

◆ GetTrdLayout()

◆ GetTrdLayoutScal()

void CbmLitTrackingGeometryConstructor::GetTrdLayoutScal ( lit::parallel::LitDetectorLayoutScal layout)

Return TRD detector layout for TRD parallel tracking in scalar format.

Parameters
[out]layoutTRD detector layout.

Definition at line 158 of file CbmLitTrackingGeometryConstructor.cxx.

References GetTrdLayout().

Referenced by CbmLitFitTracksParallel::DoFit(), and CbmLitFindGlobalTracksParallel::DoTracking().

◆ GetTrdLayoutVec()

void CbmLitTrackingGeometryConstructor::GetTrdLayoutVec ( lit::parallel::LitDetectorLayoutVec layout)

Return TRD detector layout for TRD parallel tracking in SIMD format.

Parameters
[out]layoutTRD detector layout.

Definition at line 153 of file CbmLitTrackingGeometryConstructor.cxx.

References GetTrdLayout().

◆ Instance()

◆ operator=()

const CbmLitTrackingGeometryConstructor& CbmLitTrackingGeometryConstructor::operator= ( const CbmLitTrackingGeometryConstructor )
private

Assignment operator.

Member Data Documentation

◆ fDet

CbmLitDetectorSetup CbmLitTrackingGeometryConstructor::fDet
private

◆ fGeo

TGeoManager* CbmLitTrackingGeometryConstructor::fGeo
private

◆ fNofMuchAbsorbers

Int_t CbmLitTrackingGeometryConstructor::fNofMuchAbsorbers
private

Definition at line 151 of file CbmLitTrackingGeometryConstructor.h.

Referenced by GetNofMuchAbsorbers().

◆ fNofMuchStations

Int_t CbmLitTrackingGeometryConstructor::fNofMuchStations
private

◆ fNofMvdStations

Int_t CbmLitTrackingGeometryConstructor::fNofMvdStations
private

Definition at line 149 of file CbmLitTrackingGeometryConstructor.h.

Referenced by GetNofMvdStations().

◆ fNofStsStations

Int_t CbmLitTrackingGeometryConstructor::fNofStsStations
private

Definition at line 150 of file CbmLitTrackingGeometryConstructor.h.

Referenced by GetNofStsStations().

◆ fNofTrdStations

Int_t CbmLitTrackingGeometryConstructor::fNofTrdStations
private

Definition at line 147 of file CbmLitTrackingGeometryConstructor.h.

Referenced by GetNofTrdStations().


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