CbmRoot
|
#include <CbmLitTrackingGeometryConstructor.h>
Public Member Functions | |
void | GetMuchLayoutVec (lit::parallel::LitDetectorLayoutVec &layout) |
Return MUCH detector layout for parallel MUCH tracking in SIMD format. | |
void | GetMuchLayoutScal (lit::parallel::LitDetectorLayoutScal &layout) |
Return MUCH detector layout for parallel MUCH tracking in scalar format. | |
template<class T > | |
void | GetMuchLayout (lit::parallel::LitDetectorLayout< T > &layout) |
Return MUCH detector layout for parallel MUCH tracking. | |
void | GetTrdLayoutVec (lit::parallel::LitDetectorLayoutVec &layout) |
Return TRD detector layout for TRD parallel tracking in SIMD format. | |
void | GetTrdLayoutScal (lit::parallel::LitDetectorLayoutScal &layout) |
Return TRD detector layout for TRD parallel tracking in scalar format. | |
template<class T > | |
void | GetTrdLayout (lit::parallel::LitDetectorLayout< T > &layout) |
Return TRD detector layout for TRD parallel tracking. | |
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. | |
Int_t | GetNofMuchStations () |
Return number of stations in MUCH. | |
Int_t | GetNofMuchTrdStations () |
Return number of stations in MUCH + TRD. | |
Int_t | GetNofMvdStations () |
Return number of stations in MVD. | |
Int_t | GetNofStsStations () |
Return number of stations in STS. | |
Int_t | GetNofMuchAbsorbers () |
Return number of MUCH absorbers. | |
Int_t | ConvertMuchToAbsoluteStationNr (Int_t station, Int_t layer) |
Static Public Member Functions | |
static CbmLitTrackingGeometryConstructor * | Instance () |
Return pointer to singleton object. | |
Private Member Functions | |
CbmLitTrackingGeometryConstructor () | |
Constructor. Constructor is protected since singleton pattern is used. Pointer to object is returned by static Instance() method. | |
virtual | ~CbmLitTrackingGeometryConstructor () |
Destructor. | |
CbmLitTrackingGeometryConstructor (const CbmLitTrackingGeometryConstructor &) | |
Copy constructor. | |
const CbmLitTrackingGeometryConstructor & | operator= (const CbmLitTrackingGeometryConstructor &) |
Assignment operator. | |
Private Attributes | |
TGeoManager * | fGeo |
Int_t | fNofTrdStations |
Int_t | fNofMuchStations |
Int_t | fNofMvdStations |
Int_t | fNofStsStations |
Int_t | fNofMuchAbsorbers |
CbmLitDetectorSetup | fDet |
Definition at line 26 of file CbmLitTrackingGeometryConstructor.h.
|
private |
Constructor. Constructor is protected since singleton pattern is used. Pointer to object is returned by static Instance() method.
Definition at line 44 of file CbmLitTrackingGeometryConstructor.cxx.
References CbmLitDetectorSetup::DetermineSetup(), fDet, and fGeo.
|
privatevirtual |
Destructor.
Definition at line 56 of file CbmLitTrackingGeometryConstructor.cxx.
|
private |
Copy constructor.
Int_t CbmLitTrackingGeometryConstructor::ConvertMuchToAbsoluteStationNr | ( | Int_t | station, |
Int_t | layer ) |
Definition at line 485 of file CbmLitTrackingGeometryConstructor.cxx.
References fGeo, and fNofMuchStations.
Referenced by CbmLitRadLengthQa::GetMuchStationId().
void CbmLitTrackingGeometryConstructor::ConvertTProfile2DToLitMaterialGrid | ( | const TProfile2D * | profile, |
lit::parallel::LitMaterialGrid * | grid, | ||
Double_t | maximumValue = 0 ) |
Definition at line 244 of file CbmLitTrackingGeometryConstructor.cxx.
References lit::parallel::LitMaterialGrid::SetMaterial().
Referenced by GetMuchLayout(), GetRichMaterial(), and GetTrdLayout().
void CbmLitTrackingGeometryConstructor::GetMuchLayout | ( | lit::parallel::LitDetectorLayout< T > & | layout | ) |
Return MUCH detector layout for parallel MUCH tracking.
[out] | layout | MUCH detector layout. |
Definition at line 75 of file CbmLitTrackingGeometryConstructor.cxx.
References lit::parallel::LitDetectorLayout< T >::AddStation(), lit::parallel::LitStation< T >::AddVirtualStation(), ConvertTProfile2DToLitMaterialGrid(), CbmHistManager::P2(), CbmHistManager::ReadFromFile(), lit::parallel::LitVirtualStation< T >::SetMaterial(), and Cbm::ToString().
Referenced by GetMuchLayoutScal(), and GetMuchLayoutVec().
void CbmLitTrackingGeometryConstructor::GetMuchLayoutScal | ( | lit::parallel::LitDetectorLayoutScal & | layout | ) |
Return MUCH detector layout for parallel MUCH tracking in scalar format.
[out] | layout | MUCH detector layout. |
Definition at line 69 of file CbmLitTrackingGeometryConstructor.cxx.
References GetMuchLayout().
Referenced by CbmLitFitTracksParallel::DoFit(), and CbmLitFindGlobalTracksParallel::DoTracking().
void CbmLitTrackingGeometryConstructor::GetMuchLayoutVec | ( | lit::parallel::LitDetectorLayoutVec & | layout | ) |
Return MUCH detector layout for parallel MUCH tracking in SIMD format.
[out] | layout | MUCH detector layout. |
Definition at line 64 of file CbmLitTrackingGeometryConstructor.cxx.
References GetMuchLayout().
Int_t CbmLitTrackingGeometryConstructor::GetNofMuchAbsorbers | ( | ) |
Return number of MUCH absorbers.
Definition at line 372 of file CbmLitTrackingGeometryConstructor.cxx.
References fGeo, and fNofMuchAbsorbers.
Referenced by CbmLitRadLengthQa::CreateHistograms().
Int_t CbmLitTrackingGeometryConstructor::GetNofMuchStations | ( | ) |
Return number of stations in MUCH.
Definition at line 329 of file CbmLitTrackingGeometryConstructor.cxx.
References fNofMuchStations.
Referenced by CbmLitFindGlobalTracks::ConvertInputData(), CbmLitRadLengthQa::CreateHistograms(), and GetNofMuchTrdStations().
Int_t CbmLitTrackingGeometryConstructor::GetNofMuchTrdStations | ( | ) |
Return number of stations in MUCH + TRD.
Definition at line 402 of file CbmLitTrackingGeometryConstructor.cxx.
References GetNofMuchStations(), and GetNofTrdStations().
Int_t CbmLitTrackingGeometryConstructor::GetNofMvdStations | ( | ) |
Return number of stations in MVD.
Definition at line 404 of file CbmLitTrackingGeometryConstructor.cxx.
References fNofMvdStations.
Referenced by CbmLitFindMvdTracks::ConvertInputData(), and CbmLitRadLengthQa::CreateHistograms().
Int_t CbmLitTrackingGeometryConstructor::GetNofStsStations | ( | ) |
Return number of stations in STS.
Definition at line 467 of file CbmLitTrackingGeometryConstructor.cxx.
References fNofStsStations.
Referenced by CbmLitRadLengthQa::CreateHistograms().
Int_t CbmLitTrackingGeometryConstructor::GetNofTrdStations | ( | ) |
Return number of stations in TRD.
Definition at line 305 of file CbmLitTrackingGeometryConstructor.cxx.
References fGeo, and fNofTrdStations.
Referenced by CbmLitRadLengthQa::CreateHistograms(), GetNofMuchTrdStations(), and GetTrdLayout().
void CbmLitTrackingGeometryConstructor::GetRichMaterial | ( | lit::parallel::LitMaterialGrid * | material | ) |
Definition at line 222 of file CbmLitTrackingGeometryConstructor.cxx.
References ConvertTProfile2DToLitMaterialGrid(), fDet, CbmLitDetectorSetup::GetDet(), kRich, CbmHistManager::P2(), and CbmHistManager::ReadFromFile().
Referenced by GetTrdLayout().
void CbmLitTrackingGeometryConstructor::GetTrdLayout | ( | lit::parallel::LitDetectorLayout< T > & | layout | ) |
Return TRD detector layout for TRD parallel tracking.
[out] | layout | TRD detector layout. |
Definition at line 158 of file CbmLitTrackingGeometryConstructor.cxx.
References lit::parallel::LitDetectorLayout< T >::AddStation(), lit::parallel::LitDetectorLayout< T >::AddVirtualStation(), lit::parallel::LitStation< T >::AddVirtualStation(), ConvertTProfile2DToLitMaterialGrid(), CbmLitFieldGridCreator::CreateGrid(), GetNofTrdStations(), GetRichMaterial(), CbmHistManager::P2(), CbmHistManager::ReadFromFile(), lit::parallel::LitVirtualStation< T >::SetField(), lit::parallel::LitVirtualStation< T >::SetMaterial(), lit::parallel::LitVirtualStation< T >::SetZ(), and Cbm::ToString().
Referenced by GetTrdLayoutScal(), and GetTrdLayoutVec().
void CbmLitTrackingGeometryConstructor::GetTrdLayoutScal | ( | lit::parallel::LitDetectorLayoutScal & | layout | ) |
Return TRD detector layout for TRD parallel tracking in scalar format.
[out] | layout | TRD detector layout. |
Definition at line 152 of file CbmLitTrackingGeometryConstructor.cxx.
References GetTrdLayout().
Referenced by CbmLitFitTracksParallel::DoFit(), and CbmLitFindGlobalTracksParallel::DoTracking().
void CbmLitTrackingGeometryConstructor::GetTrdLayoutVec | ( | lit::parallel::LitDetectorLayoutVec & | layout | ) |
Return TRD detector layout for TRD parallel tracking in SIMD format.
[out] | layout | TRD detector layout. |
Definition at line 147 of file CbmLitTrackingGeometryConstructor.cxx.
References GetTrdLayout().
|
static |
Return pointer to singleton object.
Definition at line 58 of file CbmLitTrackingGeometryConstructor.cxx.
Referenced by CbmLitFindGlobalTracks::ConvertInputData(), CbmLitFindMvdTracks::ConvertInputData(), CbmLitRadLengthQa::CreateHistograms(), CbmLitToolFactory::CreateTrackFinder(), CbmLitFitTracksParallel::DoFit(), CbmLitFindGlobalTracksParallel::DoTracking(), and CbmLitRadLengthQa::GetMuchStationId().
|
private |
Assignment operator.
|
private |
Definition at line 154 of file CbmLitTrackingGeometryConstructor.h.
Referenced by CbmLitTrackingGeometryConstructor(), and GetRichMaterial().
|
private |
Definition at line 148 of file CbmLitTrackingGeometryConstructor.h.
Referenced by CbmLitTrackingGeometryConstructor(), ConvertMuchToAbsoluteStationNr(), GetNofMuchAbsorbers(), and GetNofTrdStations().
|
private |
Definition at line 153 of file CbmLitTrackingGeometryConstructor.h.
Referenced by GetNofMuchAbsorbers().
|
private |
Definition at line 150 of file CbmLitTrackingGeometryConstructor.h.
Referenced by ConvertMuchToAbsoluteStationNr(), and GetNofMuchStations().
|
private |
Definition at line 151 of file CbmLitTrackingGeometryConstructor.h.
Referenced by GetNofMvdStations().
|
private |
Definition at line 152 of file CbmLitTrackingGeometryConstructor.h.
Referenced by GetNofStsStations().
|
private |
Definition at line 149 of file CbmLitTrackingGeometryConstructor.h.
Referenced by GetNofTrdStations().