CbmRoot
|
#include <CbmTrdGeoHandler.h>
Public Member Functions | |
CbmTrdGeoHandler () | |
Constructor. More... | |
~CbmTrdGeoHandler () | |
Destructor. More... | |
void | Init (Bool_t isSimulation=kFALSE) |
Int_t | GetModuleAddress () |
Return module address calculated based on the current node in the TGeoManager. More... | |
Int_t | GetModuleAddress (const TString &path) |
Navigate to node and return module address. More... | |
Int_t | GetModuleOrientation (const TString &path) |
Navigate to node and return pad orientation. More... | |
std::map< Int_t, TGeoPhysicalNode * > | FillModuleMap () |
Fill map with information of the gas volumes for each detector. More... | |
Double_t | GetSizeX (const TString &path) |
Double_t | GetSizeY (const TString &path) |
Double_t | GetSizeZ (const TString &path) |
Double_t | GetX (const TString &path) |
Double_t | GetY (const TString &path) |
Double_t | GetZ (const TString &path) |
Int_t | GetModuleType (const TString &path) |
Int_t | GetStation (const TString &path) |
Int_t | GetLayer (const TString &path) |
Int_t | GetModuleCopyNr (const TString &path) |
Private Member Functions | |
void | NavigateTo (const TString &path) |
CbmTrdGeoHandler (const CbmTrdGeoHandler &) | |
ModuleCopyID with module type. More... | |
CbmTrdGeoHandler | operator= (const CbmTrdGeoHandler &) |
Private Attributes | |
Bool_t | fIsSimulation |
UInt_t | fGeoPathHash |
TGeoVolume * | fCurrentVolume |
TGeoBBox * | fVolumeShape |
Double_t | fGlobal [3] |
TGeoHMatrix * | fGlobalMatrix |
Global center of volume. More... | |
Int_t | fLayerId |
Int_t | fModuleId |
Int_t | fModuleType |
Int_t | fRotation |
Int_t | fStation |
rotation angle 0,1,2,3 More... | |
Int_t | fLayer |
StationTypeID, 1..3. More... | |
Int_t | fModuleCopy |
LayerID within station, 1..4. More... | |
Definition at line 29 of file CbmTrdGeoHandler.h.
CbmTrdGeoHandler::CbmTrdGeoHandler | ( | ) |
Constructor.
Definition at line 27 of file CbmTrdGeoHandler.cxx.
CbmTrdGeoHandler::~CbmTrdGeoHandler | ( | ) |
Destructor.
Definition at line 43 of file CbmTrdGeoHandler.cxx.
|
private |
ModuleCopyID with module type.
std::map< Int_t, TGeoPhysicalNode * > CbmTrdGeoHandler::FillModuleMap | ( | ) |
Fill map with information of the gas volumes for each detector.
Definition at line 214 of file CbmTrdGeoHandler.cxx.
References GetModuleAddress().
Referenced by CbmTrdHitProducer::Init().
Int_t CbmTrdGeoHandler::GetLayer | ( | const TString & | path | ) |
Definition at line 152 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fLayer, and NavigateTo().
Int_t CbmTrdGeoHandler::GetModuleAddress | ( | ) |
Return module address calculated based on the current node in the TGeoManager.
Definition at line 49 of file CbmTrdGeoHandler.cxx.
References fIsSimulation, and CbmTrdAddress::GetAddress().
Referenced by CbmTrdDigitizer::AddModule(), CbmTrdParManager::CreateModuleParameters(), FillModuleMap(), GetModuleAddress(), CbmTrdParSetGeo::Init(), and CbmTrd::ProcessHits().
Int_t CbmTrdGeoHandler::GetModuleAddress | ( | const TString & | path | ) |
Navigate to node and return module address.
Definition at line 90 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, GetModuleAddress(), and NavigateTo().
Int_t CbmTrdGeoHandler::GetModuleCopyNr | ( | const TString & | path | ) |
Definition at line 160 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fModuleCopy, and NavigateTo().
Int_t CbmTrdGeoHandler::GetModuleOrientation | ( | const TString & | path | ) |
Navigate to node and return pad orientation.
Definition at line 107 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fRotation, and NavigateTo().
Referenced by CbmTrdDigitizer::AddModule(), and CbmTrdParManager::CreateModuleParameters().
Int_t CbmTrdGeoHandler::GetModuleType | ( | const TString & | path | ) |
Definition at line 142 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fModuleType, and NavigateTo().
Referenced by CbmTrdDigitizer::AddModule(), and CbmTrdParManager::CreateModuleParameters().
Double_t CbmTrdGeoHandler::GetSizeX | ( | const TString & | path | ) |
Definition at line 112 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fVolumeShape, and NavigateTo().
Referenced by CbmTrdParManager::CreateModuleParameters().
Double_t CbmTrdGeoHandler::GetSizeY | ( | const TString & | path | ) |
Definition at line 117 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fVolumeShape, and NavigateTo().
Referenced by CbmTrdParManager::CreateModuleParameters().
Double_t CbmTrdGeoHandler::GetSizeZ | ( | const TString & | path | ) |
Definition at line 122 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fVolumeShape, and NavigateTo().
Referenced by CbmTrdParManager::CreateModuleParameters().
Int_t CbmTrdGeoHandler::GetStation | ( | const TString & | path | ) |
Definition at line 147 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fStation, and NavigateTo().
Double_t CbmTrdGeoHandler::GetX | ( | const TString & | path | ) |
Definition at line 137 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fGlobal, and NavigateTo().
Referenced by CbmTrdParManager::CreateModuleParameters().
Double_t CbmTrdGeoHandler::GetY | ( | const TString & | path | ) |
Definition at line 132 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fGlobal, and NavigateTo().
Referenced by CbmTrdParManager::CreateModuleParameters().
Double_t CbmTrdGeoHandler::GetZ | ( | const TString & | path | ) |
Definition at line 127 of file CbmTrdGeoHandler.cxx.
References fGeoPathHash, fGlobal, and NavigateTo().
Referenced by CbmTrdParManager::CreateModuleParameters().
void CbmTrdGeoHandler::Init | ( | Bool_t | isSimulation = kFALSE | ) |
Definition at line 45 of file CbmTrdGeoHandler.cxx.
References fIsSimulation.
Referenced by CbmTrdQa::Init(), CbmTrdSPADIC::Init(), CbmTrdHitDensityQa::Init(), CbmTrdRecoQa::Init(), CbmTrdHitRateQa::Init(), CbmTrdHitRateFastQa::Init(), CbmTrdOccupancyQa::Init(), and CbmTrd::Initialize().
|
private |
Definition at line 165 of file CbmTrdGeoHandler.cxx.
References fCurrentVolume, fGeoPathHash, fGlobal, fGlobalMatrix, fIsSimulation, fLayer, fModuleCopy, fModuleType, fRotation, fStation, and fVolumeShape.
Referenced by GetLayer(), GetModuleAddress(), GetModuleCopyNr(), GetModuleOrientation(), GetModuleType(), GetSizeX(), GetSizeY(), GetSizeZ(), GetStation(), GetX(), GetY(), and GetZ().
|
private |
|
private |
Definition at line 93 of file CbmTrdGeoHandler.h.
Referenced by NavigateTo().
|
private |
Definition at line 92 of file CbmTrdGeoHandler.h.
Referenced by GetLayer(), GetModuleAddress(), GetModuleCopyNr(), GetModuleOrientation(), GetModuleType(), GetSizeX(), GetSizeY(), GetSizeZ(), GetStation(), GetX(), GetY(), GetZ(), and NavigateTo().
|
private |
Definition at line 95 of file CbmTrdGeoHandler.h.
Referenced by GetX(), GetY(), GetZ(), and NavigateTo().
|
private |
Global center of volume.
Definition at line 96 of file CbmTrdGeoHandler.h.
Referenced by NavigateTo().
|
private |
Definition at line 90 of file CbmTrdGeoHandler.h.
Referenced by GetModuleAddress(), Init(), and NavigateTo().
|
private |
StationTypeID, 1..3.
Definition at line 104 of file CbmTrdGeoHandler.h.
Referenced by GetLayer(), and NavigateTo().
|
private |
Definition at line 97 of file CbmTrdGeoHandler.h.
|
private |
LayerID within station, 1..4.
Definition at line 105 of file CbmTrdGeoHandler.h.
Referenced by GetModuleCopyNr(), and NavigateTo().
|
private |
Definition at line 98 of file CbmTrdGeoHandler.h.
|
private |
Definition at line 99 of file CbmTrdGeoHandler.h.
Referenced by GetModuleType(), and NavigateTo().
|
private |
Definition at line 100 of file CbmTrdGeoHandler.h.
Referenced by GetModuleOrientation(), and NavigateTo().
|
private |
rotation angle 0,1,2,3
Definition at line 103 of file CbmTrdGeoHandler.h.
Referenced by GetStation(), and NavigateTo().
|
private |
Definition at line 94 of file CbmTrdGeoHandler.h.
Referenced by GetSizeX(), GetSizeY(), GetSizeZ(), and NavigateTo().