CbmRoot
|
#include <CbmMvdGeoHandler.h>
Public Member Functions | |
CbmMvdGeoHandler () | |
Constructor. More... | |
~CbmMvdGeoHandler () | |
Destructor. More... | |
void | Init (Bool_t isSimulation=kFALSE) |
Int_t | GetSensorAddress () |
Return module address calculated based on the current node in the TGeoManager. More... | |
Int_t | GetSensorAddress (const TString &path) |
Navigate to node. 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 | GetStation (const TString &path) |
void | Fill () |
map< Int_t, Int_t > | GetMap () |
void | PrintGeoParameter () |
Int_t | GetIDfromPath (TString path) |
void | SetSensorTyp (CbmMvdSensorTyp typ) |
Private Member Functions | |
void | NavigateTo (const TString &sensor) |
void | GetPipe () |
void | GetGeometryTyp () |
void | FillParameter () |
void | FillDetector () |
void | FillStationMap () |
CbmMvdGeoHandler (const CbmMvdGeoHandler &) | |
CbmMvdGeoHandler | operator= (const CbmMvdGeoHandler &) |
Private Attributes | |
CbmMvdSensorTyp | fSensorTyp |
CbmMvdDetector * | fDetector |
CbmMvdStationPar * | fStationPar |
map< Int_t, Int_t > | fStationMap |
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 | fStation |
TString | fMother |
StationTypeID, 1..3. More... | |
CbmMvdGeoTyp | fGeoTyp |
Int_t | fVolId |
Int_t | fStationNumber |
Double_t | fWidth |
Double_t | fHeight |
Double_t | fRadLength |
Double_t | fBeamwidth |
Double_t | fBeamheight |
Double_t | fThickness |
Double_t | fXres |
Double_t | fYres |
TString | fStationName |
TString | fDetectorName |
TString | fSectorName |
TString | fQuadrantName |
TString | fSensorHolding |
TString | fSensorName |
TString | fnodeName |
Definition at line 37 of file CbmMvdGeoHandler.h.
CbmMvdGeoHandler::CbmMvdGeoHandler | ( | ) |
CbmMvdGeoHandler::~CbmMvdGeoHandler | ( | ) |
Destructor.
Definition at line 79 of file CbmMvdGeoHandler.cxx.
|
private |
void CbmMvdGeoHandler::Fill | ( | ) |
Definition at line 371 of file CbmMvdGeoHandler.cxx.
References FillDetector(), FillStationMap(), and fIsSimulation.
Referenced by CbmMvd::ConstructRootGeometry(), and CbmMvdDetector::Instance().
|
private |
Definition at line 380 of file CbmMvdGeoHandler.cxx.
References CbmMvdDetector::AddSensor(), Default, fDetector, fDetectorName, fGeoTyp, FillParameter(), fMother, fnodeName, FourStation, FourStationShift, fQuadrantName, fSectorName, fSensorHolding, fSensorName, fSensorTyp, fStationName, fStationNumber, fVolId, GetIDfromPath(), MIMOSIS, MiniCbm, and scripted.
Referenced by Fill().
|
private |
Definition at line 538 of file CbmMvdGeoHandler.cxx.
References fBeamheight, fBeamwidth, fGeoPathHash, fGlobal, fHeight, fnodeName, fRadLength, fStationNumber, fStationPar, fWidth, fXres, fYres, NavigateTo(), CbmMvdStationPar::SetBeamHeight(), CbmMvdStationPar::SetBeamWidth(), CbmMvdStationPar::SetHeight(), CbmMvdStationPar::SetRadLength(), CbmMvdStationPar::SetThickness(), CbmMvdStationPar::SetWidth(), CbmMvdStationPar::SetXRes(), CbmMvdStationPar::SetYRes(), and CbmMvdStationPar::SetZPosition().
Referenced by FillDetector().
|
private |
Definition at line 559 of file CbmMvdGeoHandler.cxx.
References Default, fDetectorName, fGeoTyp, fMother, fnodeName, FourStation, FourStationShift, fQuadrantName, fSectorName, fSensorHolding, fSensorName, fStationMap, fStationName, fVolId, GetIDfromPath(), MiniCbm, and scripted.
Referenced by Fill().
|
private |
Definition at line 301 of file CbmMvdGeoHandler.cxx.
References beamtest, Default, fDetectorName, fGeoTyp, fMother, FourStation, FourStationShift, MiniCbm, scripted, and ThreeStation.
Referenced by Init().
Int_t CbmMvdGeoHandler::GetIDfromPath | ( | TString | path | ) |
Definition at line 339 of file CbmMvdGeoHandler.cxx.
Referenced by FillDetector(), FillStationMap(), and CbmMvd::ProcessHits().
|
inline |
Definition at line 69 of file CbmMvdGeoHandler.h.
References fStationMap.
Referenced by CbmMvd::ConstructRootGeometry().
|
private |
Int_t CbmMvdGeoHandler::GetSensorAddress | ( | ) |
Return module address calculated based on the current node in the TGeoManager.
Definition at line 114 of file CbmMvdGeoHandler.cxx.
Referenced by GetSensorAddress().
Int_t CbmMvdGeoHandler::GetSensorAddress | ( | const TString & | path | ) |
Navigate to node.
Definition at line 123 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, GetSensorAddress(), and NavigateTo().
Double_t CbmMvdGeoHandler::GetSizeX | ( | const TString & | path | ) |
Definition at line 130 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fVolumeShape, and NavigateTo().
Double_t CbmMvdGeoHandler::GetSizeY | ( | const TString & | path | ) |
Definition at line 137 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fVolumeShape, and NavigateTo().
Double_t CbmMvdGeoHandler::GetSizeZ | ( | const TString & | path | ) |
Definition at line 144 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fVolumeShape, and NavigateTo().
Int_t CbmMvdGeoHandler::GetStation | ( | const TString & | path | ) |
Definition at line 173 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fStation, and NavigateTo().
Double_t CbmMvdGeoHandler::GetX | ( | const TString & | path | ) |
Definition at line 165 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fGlobal, and NavigateTo().
Double_t CbmMvdGeoHandler::GetY | ( | const TString & | path | ) |
Definition at line 158 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fGlobal, and NavigateTo().
Double_t CbmMvdGeoHandler::GetZ | ( | const TString & | path | ) |
Definition at line 151 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fGlobal, and NavigateTo().
void CbmMvdGeoHandler::Init | ( | Bool_t | isSimulation = kFALSE | ) |
Definition at line 84 of file CbmMvdGeoHandler.cxx.
References fDetector, fGeoTyp, fIsSimulation, FourStation, FourStationShift, fSensorTyp, fStationPar, GetGeometryTyp(), GetPipe(), CbmMvdStationPar::Init(), CbmMvdDetector::Instance(), MIMOSIS, MiniCbm, scripted, CbmMvdStationPar::SetNofStations(), CbmMvdDetector::SetParameterFile(), and ThreeStation.
Referenced by CbmMvd::ConstructRootGeometry(), and CbmMvdDetector::Instance().
|
private |
Definition at line 181 of file CbmMvdGeoHandler.cxx.
References fBeamheight, fBeamwidth, fCurrentVolume, fGeoPathHash, fGlobal, fGlobalMatrix, fHeight, fIsSimulation, fRadLength, fStationNumber, fVolumeShape, fWidth, fXres, and fYres.
Referenced by FillParameter(), GetSensorAddress(), GetSizeX(), GetSizeY(), GetSizeZ(), GetStation(), GetX(), GetY(), and GetZ().
|
private |
void CbmMvdGeoHandler::PrintGeoParameter | ( | ) |
Definition at line 555 of file CbmMvdGeoHandler.cxx.
References fStationPar, and CbmMvdStationPar::Print().
Referenced by CbmMvdDetector::Instance().
|
inline |
Definition at line 73 of file CbmMvdGeoHandler.h.
References fSensorTyp.
Referenced by CbmMvdDetector::Instance().
|
private |
Definition at line 112 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 111 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 95 of file CbmMvdGeoHandler.h.
Referenced by NavigateTo().
|
private |
Definition at line 87 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and Init().
|
private |
Definition at line 118 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), FillStationMap(), and GetGeometryTyp().
|
private |
Definition at line 94 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), GetSensorAddress(), GetSizeX(), GetSizeY(), GetSizeZ(), GetStation(), GetX(), GetY(), GetZ(), and NavigateTo().
|
private |
Definition at line 104 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), FillStationMap(), GetGeometryTyp(), and Init().
|
private |
Definition at line 97 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), GetX(), GetY(), GetZ(), and NavigateTo().
|
private |
Global center of volume.
Definition at line 98 of file CbmMvdGeoHandler.h.
Referenced by NavigateTo().
|
private |
Definition at line 109 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 92 of file CbmMvdGeoHandler.h.
Referenced by Fill(), Init(), and NavigateTo().
|
private |
Definition at line 99 of file CbmMvdGeoHandler.h.
|
private |
Definition at line 100 of file CbmMvdGeoHandler.h.
|
private |
Definition at line 101 of file CbmMvdGeoHandler.h.
|
private |
StationTypeID, 1..3.
Definition at line 103 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), FillStationMap(), GetGeometryTyp(), and GetPipe().
|
private |
Definition at line 123 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), FillParameter(), and FillStationMap().
|
private |
Definition at line 120 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 110 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 119 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 121 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 122 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 85 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), Init(), and SetSensorTyp().
|
private |
Definition at line 102 of file CbmMvdGeoHandler.h.
Referenced by GetStation().
|
private |
Definition at line 90 of file CbmMvdGeoHandler.h.
Referenced by FillStationMap(), and GetMap().
|
private |
Definition at line 117 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 106 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), FillParameter(), and NavigateTo().
|
private |
Definition at line 88 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), Init(), and PrintGeoParameter().
|
private |
Definition at line 113 of file CbmMvdGeoHandler.h.
|
private |
Definition at line 105 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 96 of file CbmMvdGeoHandler.h.
Referenced by GetSizeX(), GetSizeY(), GetSizeZ(), and NavigateTo().
|
private |
Definition at line 108 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 114 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 115 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().