CbmRoot
|
#include <CbmMvdGeoHandler.h>
Public Member Functions | |
CbmMvdGeoHandler () | |
Constructor. | |
~CbmMvdGeoHandler () | |
Destructor. | |
void | Init (Bool_t isSimulation=kFALSE) |
Int_t | GetSensorAddress () |
Return module address calculated based on the current node in the TGeoManager. | |
Int_t | GetSensorAddress (const TString &path) |
Navigate to node. | |
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 () |
std::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 |
std::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. | |
Int_t | fLayerId |
Int_t | fModuleId |
Int_t | fModuleType |
Int_t | fStation |
TString | fMother |
StationTypeID, 1..3. | |
CbmMvdGeoTyp | fGeoTyp |
Int_t | fVolId |
Int_t | fStationNumber |
Double_t | fWidth |
Double_t | fHeight |
Double_t | fZRadThickness |
Double_t | fBeamwidth |
Double_t | fBeamheight |
Double_t | fZThickness |
Double_t | fXres |
Double_t | fYres |
TString | fStationName |
TString | fDetectorName |
TString | fSectorName |
TString | fQuadrantName |
TString | fSensorHolding |
TString | fSensorName |
TString | fnodeName |
Definition at line 47 of file CbmMvdGeoHandler.h.
CbmMvdGeoHandler::CbmMvdGeoHandler | ( | ) |
Constructor.
Definition at line 33 of file CbmMvdGeoHandler.cxx.
CbmMvdGeoHandler::~CbmMvdGeoHandler | ( | ) |
Destructor.
Definition at line 82 of file CbmMvdGeoHandler.cxx.
|
private |
void CbmMvdGeoHandler::Fill | ( | ) |
Definition at line 388 of file CbmMvdGeoHandler.cxx.
References FillDetector(), FillStationMap(), and fIsSimulation.
Referenced by CbmMvd::ConstructRootGeometry(), and CbmMvdDetector::Instance().
|
private |
Definition at line 397 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, scripted, and TwoStation.
Referenced by Fill().
|
private |
Definition at line 557 of file CbmMvdGeoHandler.cxx.
References CbmMvdStationPar::AddBeamHeight(), CbmMvdStationPar::AddBeamWidth(), CbmMvdStationPar::AddHeight(), CbmMvdStationPar::AddWidth(), CbmMvdStationPar::AddXRes(), CbmMvdStationPar::AddYRes(), CbmMvdStationPar::AddZPosition(), CbmMvdStationPar::AddZRadThickness(), fBeamheight, fBeamwidth, fGeoPathHash, fGlobal, fHeight, fnodeName, fStationNumber, fStationPar, fWidth, fXres, fYres, fZRadThickness, fZThickness, and NavigateTo().
Referenced by FillDetector().
|
private |
Definition at line 576 of file CbmMvdGeoHandler.cxx.
References Default, fDetectorName, fGeoTyp, fMother, fnodeName, FourStation, FourStationShift, fQuadrantName, fSectorName, fSensorHolding, fSensorName, fStationMap, fStationName, fVolId, GetIDfromPath(), MiniCbm, scripted, and TwoStation.
Referenced by Fill().
|
private |
Definition at line 307 of file CbmMvdGeoHandler.cxx.
References beamtest, Default, fDetectorName, fGeoTyp, fMother, FourStation, FourStationShift, MiniCbm, scripted, ThreeStation, and TwoStation.
Referenced by Init().
Int_t CbmMvdGeoHandler::GetIDfromPath | ( | TString | path | ) |
Definition at line 355 of file CbmMvdGeoHandler.cxx.
Referenced by FillDetector(), FillStationMap(), and CbmMvd::ProcessHits().
|
inline |
Definition at line 79 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 117 of file CbmMvdGeoHandler.cxx.
Referenced by GetSensorAddress().
Int_t CbmMvdGeoHandler::GetSensorAddress | ( | const TString & | path | ) |
Navigate to node.
Definition at line 127 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, GetSensorAddress(), and NavigateTo().
Double_t CbmMvdGeoHandler::GetSizeX | ( | const TString & | path | ) |
Definition at line 135 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fVolumeShape, and NavigateTo().
Double_t CbmMvdGeoHandler::GetSizeY | ( | const TString & | path | ) |
Definition at line 143 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fVolumeShape, and NavigateTo().
Double_t CbmMvdGeoHandler::GetSizeZ | ( | const TString & | path | ) |
Definition at line 151 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fVolumeShape, and NavigateTo().
Int_t CbmMvdGeoHandler::GetStation | ( | const TString & | path | ) |
Definition at line 184 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fStation, and NavigateTo().
Double_t CbmMvdGeoHandler::GetX | ( | const TString & | path | ) |
Definition at line 175 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fGlobal, and NavigateTo().
Double_t CbmMvdGeoHandler::GetY | ( | const TString & | path | ) |
Definition at line 167 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fGlobal, and NavigateTo().
Double_t CbmMvdGeoHandler::GetZ | ( | const TString & | path | ) |
Definition at line 159 of file CbmMvdGeoHandler.cxx.
References fGeoPathHash, fGlobal, and NavigateTo().
void CbmMvdGeoHandler::Init | ( | Bool_t | isSimulation = kFALSE | ) |
Definition at line 87 of file CbmMvdGeoHandler.cxx.
References fDetector, fGeoTyp, fIsSimulation, FourStation, FourStationShift, fSensorTyp, fStationPar, GetGeometryTyp(), GetPipe(), CbmMvdStationPar::Init(), CbmMvdDetector::Instance(), MIMOSIS, MiniCbm, scripted, CbmMvdDetector::SetParameterFile(), ThreeStation, and TwoStation.
Referenced by CbmMvd::ConstructRootGeometry(), and CbmMvdDetector::Instance().
|
private |
Definition at line 193 of file CbmMvdGeoHandler.cxx.
References fBeamheight, fBeamwidth, fCurrentVolume, fGeoPathHash, fGlobal, fGlobalMatrix, fHeight, fIsSimulation, fStationNumber, fVolumeShape, fWidth, fXres, fYres, fZRadThickness, and fZThickness.
Referenced by FillParameter(), GetSensorAddress(), GetSizeX(), GetSizeY(), GetSizeZ(), GetStation(), GetX(), GetY(), and GetZ().
|
private |
void CbmMvdGeoHandler::PrintGeoParameter | ( | ) |
Definition at line 572 of file CbmMvdGeoHandler.cxx.
References fStationPar, and CbmMvdStationPar::Print().
Referenced by CbmMvdDetector::Instance().
|
inline |
Definition at line 83 of file CbmMvdGeoHandler.h.
References fSensorTyp.
Referenced by CbmMvdDetector::Instance().
|
private |
Definition at line 122 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 121 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 105 of file CbmMvdGeoHandler.h.
Referenced by NavigateTo().
|
private |
Definition at line 97 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and Init().
|
private |
Definition at line 128 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), FillStationMap(), and GetGeometryTyp().
|
private |
Definition at line 104 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), GetSensorAddress(), GetSizeX(), GetSizeY(), GetSizeZ(), GetStation(), GetX(), GetY(), GetZ(), and NavigateTo().
|
private |
Definition at line 114 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), FillStationMap(), GetGeometryTyp(), and Init().
|
private |
Definition at line 107 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), GetX(), GetY(), GetZ(), and NavigateTo().
|
private |
Global center of volume.
Definition at line 108 of file CbmMvdGeoHandler.h.
Referenced by NavigateTo().
|
private |
Definition at line 119 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 102 of file CbmMvdGeoHandler.h.
Referenced by Fill(), Init(), and NavigateTo().
|
private |
Definition at line 109 of file CbmMvdGeoHandler.h.
|
private |
Definition at line 110 of file CbmMvdGeoHandler.h.
|
private |
Definition at line 111 of file CbmMvdGeoHandler.h.
|
private |
StationTypeID, 1..3.
Definition at line 113 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), FillStationMap(), GetGeometryTyp(), and GetPipe().
|
private |
Definition at line 133 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), FillParameter(), and FillStationMap().
|
private |
Definition at line 130 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 129 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 131 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 132 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 95 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), Init(), and SetSensorTyp().
|
private |
Definition at line 112 of file CbmMvdGeoHandler.h.
Referenced by GetStation().
|
private |
Definition at line 100 of file CbmMvdGeoHandler.h.
Referenced by FillStationMap(), and GetMap().
|
private |
Definition at line 127 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 116 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), FillParameter(), and NavigateTo().
|
private |
Definition at line 98 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), Init(), and PrintGeoParameter().
|
private |
Definition at line 115 of file CbmMvdGeoHandler.h.
Referenced by FillDetector(), and FillStationMap().
|
private |
Definition at line 106 of file CbmMvdGeoHandler.h.
Referenced by GetSizeX(), GetSizeY(), GetSizeZ(), and NavigateTo().
|
private |
Definition at line 118 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 124 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 125 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 120 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().
|
private |
Definition at line 123 of file CbmMvdGeoHandler.h.
Referenced by FillParameter(), and NavigateTo().