CbmRoot
|
#include <CbmLitTrackingGeometryConstructor.h>
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 CbmLitTrackingGeometryConstructor * | Instance () |
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 CbmLitTrackingGeometryConstructor & | operator= (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 |
Definition at line 22 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 41 of file CbmLitTrackingGeometryConstructor.cxx.
References CbmLitDetectorSetup::DetermineSetup(), fDet, and fGeo.
|
privatevirtual |
Destructor.
Definition at line 52 of file CbmLitTrackingGeometryConstructor.cxx.
|
private |
Copy constructor.
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().
void CbmLitTrackingGeometryConstructor::ConvertTProfile2DToLitMaterialGrid | ( | const TProfile2D * | profile, |
lit::parallel::LitMaterialGrid * | grid, | ||
Double_t | maximumValue = 0 |
||
) |
Definition at line 253 of file CbmLitTrackingGeometryConstructor.cxx.
References i, max(), min(), and 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 71 of file CbmLitTrackingGeometryConstructor.cxx.
References lit::parallel::LitDetectorLayout< T >::AddStation(), lit::parallel::LitStation< T >::AddVirtualStation(), ConvertTProfile2DToLitMaterialGrid(), CbmHistManager::P2(), CbmHistManager::ReadFromFile(), and lit::parallel::LitVirtualStation< T >::SetMaterial().
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 65 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 60 of file CbmLitTrackingGeometryConstructor.cxx.
References GetMuchLayout().
Int_t CbmLitTrackingGeometryConstructor::GetNofMuchAbsorbers | ( | ) |
Return number of MUCH absorbers.
Definition at line 384 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 337 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 415 of file CbmLitTrackingGeometryConstructor.cxx.
References GetNofMuchStations(), and GetNofTrdStations().
Referenced by CbmLitFindGlobalTracks::SelectTracksForTofMerging().
Int_t CbmLitTrackingGeometryConstructor::GetNofMvdStations | ( | ) |
Return number of stations in MVD.
Definition at line 419 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 480 of file CbmLitTrackingGeometryConstructor.cxx.
References fNofStsStations.
Referenced by CbmLitRadLengthQa::CreateHistograms().
Int_t CbmLitTrackingGeometryConstructor::GetNofTrdStations | ( | ) |
Return number of stations in TRD.
Definition at line 315 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 230 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 164 of file CbmLitTrackingGeometryConstructor.cxx.
References lit::parallel::LitDetectorLayout< T >::AddStation(), lit::parallel::LitStation< T >::AddVirtualStation(), lit::parallel::LitDetectorLayout< T >::AddVirtualStation(), ConvertTProfile2DToLitMaterialGrid(), CbmLitFieldGridCreator::CreateGrid(), GetNofTrdStations(), GetRichMaterial(), CbmHistManager::P2(), CbmHistManager::ReadFromFile(), lit::parallel::LitVirtualStation< T >::SetField(), lit::parallel::LitVirtualStation< T >::SetMaterial(), and lit::parallel::LitVirtualStation< T >::SetZ().
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 158 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 153 of file CbmLitTrackingGeometryConstructor.cxx.
References GetTrdLayout().
|
static |
Return pointer to singleton object.
Definition at line 55 of file CbmLitTrackingGeometryConstructor.cxx.
Referenced by CbmLitFindMvdTracks::ConvertInputData(), CbmLitFindGlobalTracks::ConvertInputData(), CbmLitRadLengthQa::CreateHistograms(), CbmLitToolFactory::CreateTrackFinder(), CbmLitFitTracksParallel::DoFit(), CbmLitFindGlobalTracksParallel::DoTracking(), CbmLitRadLengthQa::GetMuchStationId(), and CbmLitFindGlobalTracks::SelectTracksForTofMerging().
|
private |
Assignment operator.
|
private |
Definition at line 152 of file CbmLitTrackingGeometryConstructor.h.
Referenced by CbmLitTrackingGeometryConstructor(), and GetRichMaterial().
|
private |
Definition at line 146 of file CbmLitTrackingGeometryConstructor.h.
Referenced by CbmLitTrackingGeometryConstructor(), ConvertMuchToAbsoluteStationNr(), GetNofMuchAbsorbers(), and GetNofTrdStations().
|
private |
Definition at line 151 of file CbmLitTrackingGeometryConstructor.h.
Referenced by GetNofMuchAbsorbers().
|
private |
Definition at line 148 of file CbmLitTrackingGeometryConstructor.h.
Referenced by ConvertMuchToAbsoluteStationNr(), and GetNofMuchStations().
|
private |
Definition at line 149 of file CbmLitTrackingGeometryConstructor.h.
Referenced by GetNofMvdStations().
|
private |
Definition at line 150 of file CbmLitTrackingGeometryConstructor.h.
Referenced by GetNofStsStations().
|
private |
Definition at line 147 of file CbmLitTrackingGeometryConstructor.h.
Referenced by GetNofTrdStations().