CbmRoot
CbmMvdGeoHandler Class Reference

#include <CbmMvdGeoHandler.h>

Inheritance diagram for CbmMvdGeoHandler:
[legend]
Collaboration diagram for CbmMvdGeoHandler:
[legend]

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
 
CbmMvdDetectorfDetector
 
CbmMvdStationParfStationPar
 
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
 

Detailed Description

Definition at line 37 of file CbmMvdGeoHandler.h.

Constructor & Destructor Documentation

◆ CbmMvdGeoHandler() [1/2]

CbmMvdGeoHandler::CbmMvdGeoHandler ( )

Constructor.

Definition at line 32 of file CbmMvdGeoHandler.cxx.

References MIMOSA26.

◆ ~CbmMvdGeoHandler()

CbmMvdGeoHandler::~CbmMvdGeoHandler ( )

Destructor.

Definition at line 79 of file CbmMvdGeoHandler.cxx.

◆ CbmMvdGeoHandler() [2/2]

CbmMvdGeoHandler::CbmMvdGeoHandler ( const CbmMvdGeoHandler )
private

Member Function Documentation

◆ Fill()

void CbmMvdGeoHandler::Fill ( )

◆ FillDetector()

◆ FillParameter()

◆ FillStationMap()

void CbmMvdGeoHandler::FillStationMap ( )
private

◆ GetGeometryTyp()

void CbmMvdGeoHandler::GetGeometryTyp ( )
private

◆ GetIDfromPath()

Int_t CbmMvdGeoHandler::GetIDfromPath ( TString  path)

Definition at line 339 of file CbmMvdGeoHandler.cxx.

Referenced by FillDetector(), FillStationMap(), and CbmMvd::ProcessHits().

◆ GetMap()

map<Int_t, Int_t> CbmMvdGeoHandler::GetMap ( )
inline

Definition at line 69 of file CbmMvdGeoHandler.h.

References fStationMap.

Referenced by CbmMvd::ConstructRootGeometry().

◆ GetPipe()

void CbmMvdGeoHandler::GetPipe ( )
private

Definition at line 256 of file CbmMvdGeoHandler.cxx.

References fMother.

Referenced by Init().

◆ GetSensorAddress() [1/2]

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().

◆ GetSensorAddress() [2/2]

Int_t CbmMvdGeoHandler::GetSensorAddress ( const TString &  path)

Navigate to node.

Definition at line 123 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, GetSensorAddress(), and NavigateTo().

◆ GetSizeX()

Double_t CbmMvdGeoHandler::GetSizeX ( const TString &  path)

Definition at line 130 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fVolumeShape, and NavigateTo().

◆ GetSizeY()

Double_t CbmMvdGeoHandler::GetSizeY ( const TString &  path)

Definition at line 137 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fVolumeShape, and NavigateTo().

◆ GetSizeZ()

Double_t CbmMvdGeoHandler::GetSizeZ ( const TString &  path)

Definition at line 144 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fVolumeShape, and NavigateTo().

◆ GetStation()

Int_t CbmMvdGeoHandler::GetStation ( const TString &  path)

Definition at line 173 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fStation, and NavigateTo().

◆ GetX()

Double_t CbmMvdGeoHandler::GetX ( const TString &  path)

Definition at line 165 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fGlobal, and NavigateTo().

◆ GetY()

Double_t CbmMvdGeoHandler::GetY ( const TString &  path)

Definition at line 158 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fGlobal, and NavigateTo().

◆ GetZ()

Double_t CbmMvdGeoHandler::GetZ ( const TString &  path)

Definition at line 151 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fGlobal, and NavigateTo().

◆ Init()

◆ NavigateTo()

void CbmMvdGeoHandler::NavigateTo ( const TString &  sensor)
private

◆ operator=()

CbmMvdGeoHandler CbmMvdGeoHandler::operator= ( const CbmMvdGeoHandler )
private

◆ PrintGeoParameter()

void CbmMvdGeoHandler::PrintGeoParameter ( )

Definition at line 555 of file CbmMvdGeoHandler.cxx.

References fStationPar, and CbmMvdStationPar::Print().

Referenced by CbmMvdDetector::Instance().

◆ SetSensorTyp()

void CbmMvdGeoHandler::SetSensorTyp ( CbmMvdSensorTyp  typ)
inline

Definition at line 73 of file CbmMvdGeoHandler.h.

References fSensorTyp.

Referenced by CbmMvdDetector::Instance().

Member Data Documentation

◆ fBeamheight

Double_t CbmMvdGeoHandler::fBeamheight
private

Definition at line 112 of file CbmMvdGeoHandler.h.

Referenced by FillParameter(), and NavigateTo().

◆ fBeamwidth

Double_t CbmMvdGeoHandler::fBeamwidth
private

Definition at line 111 of file CbmMvdGeoHandler.h.

Referenced by FillParameter(), and NavigateTo().

◆ fCurrentVolume

TGeoVolume* CbmMvdGeoHandler::fCurrentVolume
private

Definition at line 95 of file CbmMvdGeoHandler.h.

Referenced by NavigateTo().

◆ fDetector

CbmMvdDetector* CbmMvdGeoHandler::fDetector
private

Definition at line 87 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), and Init().

◆ fDetectorName

TString CbmMvdGeoHandler::fDetectorName
private

Definition at line 118 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), FillStationMap(), and GetGeometryTyp().

◆ fGeoPathHash

UInt_t CbmMvdGeoHandler::fGeoPathHash
private

◆ fGeoTyp

CbmMvdGeoTyp CbmMvdGeoHandler::fGeoTyp
private

Definition at line 104 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), FillStationMap(), GetGeometryTyp(), and Init().

◆ fGlobal

Double_t CbmMvdGeoHandler::fGlobal[3]
private

Definition at line 97 of file CbmMvdGeoHandler.h.

Referenced by FillParameter(), GetX(), GetY(), GetZ(), and NavigateTo().

◆ fGlobalMatrix

TGeoHMatrix* CbmMvdGeoHandler::fGlobalMatrix
private

Global center of volume.

Definition at line 98 of file CbmMvdGeoHandler.h.

Referenced by NavigateTo().

◆ fHeight

Double_t CbmMvdGeoHandler::fHeight
private

Definition at line 109 of file CbmMvdGeoHandler.h.

Referenced by FillParameter(), and NavigateTo().

◆ fIsSimulation

Bool_t CbmMvdGeoHandler::fIsSimulation
private

Definition at line 92 of file CbmMvdGeoHandler.h.

Referenced by Fill(), Init(), and NavigateTo().

◆ fLayerId

Int_t CbmMvdGeoHandler::fLayerId
private

Definition at line 99 of file CbmMvdGeoHandler.h.

◆ fModuleId

Int_t CbmMvdGeoHandler::fModuleId
private

Definition at line 100 of file CbmMvdGeoHandler.h.

◆ fModuleType

Int_t CbmMvdGeoHandler::fModuleType
private

Definition at line 101 of file CbmMvdGeoHandler.h.

◆ fMother

TString CbmMvdGeoHandler::fMother
private

StationTypeID, 1..3.

Definition at line 103 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), FillStationMap(), GetGeometryTyp(), and GetPipe().

◆ fnodeName

TString CbmMvdGeoHandler::fnodeName
private

Definition at line 123 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), FillParameter(), and FillStationMap().

◆ fQuadrantName

TString CbmMvdGeoHandler::fQuadrantName
private

Definition at line 120 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), and FillStationMap().

◆ fRadLength

Double_t CbmMvdGeoHandler::fRadLength
private

Definition at line 110 of file CbmMvdGeoHandler.h.

Referenced by FillParameter(), and NavigateTo().

◆ fSectorName

TString CbmMvdGeoHandler::fSectorName
private

Definition at line 119 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), and FillStationMap().

◆ fSensorHolding

TString CbmMvdGeoHandler::fSensorHolding
private

Definition at line 121 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), and FillStationMap().

◆ fSensorName

TString CbmMvdGeoHandler::fSensorName
private

Definition at line 122 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), and FillStationMap().

◆ fSensorTyp

CbmMvdSensorTyp CbmMvdGeoHandler::fSensorTyp
private

Definition at line 85 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), Init(), and SetSensorTyp().

◆ fStation

Int_t CbmMvdGeoHandler::fStation
private

Definition at line 102 of file CbmMvdGeoHandler.h.

Referenced by GetStation().

◆ fStationMap

map<Int_t, Int_t> CbmMvdGeoHandler::fStationMap
private

Definition at line 90 of file CbmMvdGeoHandler.h.

Referenced by FillStationMap(), and GetMap().

◆ fStationName

TString CbmMvdGeoHandler::fStationName
private

Definition at line 117 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), and FillStationMap().

◆ fStationNumber

Int_t CbmMvdGeoHandler::fStationNumber
private

Definition at line 106 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), FillParameter(), and NavigateTo().

◆ fStationPar

CbmMvdStationPar* CbmMvdGeoHandler::fStationPar
private

Definition at line 88 of file CbmMvdGeoHandler.h.

Referenced by FillParameter(), Init(), and PrintGeoParameter().

◆ fThickness

Double_t CbmMvdGeoHandler::fThickness
private

Definition at line 113 of file CbmMvdGeoHandler.h.

◆ fVolId

Int_t CbmMvdGeoHandler::fVolId
private

Definition at line 105 of file CbmMvdGeoHandler.h.

Referenced by FillDetector(), and FillStationMap().

◆ fVolumeShape

TGeoBBox* CbmMvdGeoHandler::fVolumeShape
private

Definition at line 96 of file CbmMvdGeoHandler.h.

Referenced by GetSizeX(), GetSizeY(), GetSizeZ(), and NavigateTo().

◆ fWidth

Double_t CbmMvdGeoHandler::fWidth
private

Definition at line 108 of file CbmMvdGeoHandler.h.

Referenced by FillParameter(), and NavigateTo().

◆ fXres

Double_t CbmMvdGeoHandler::fXres
private

Definition at line 114 of file CbmMvdGeoHandler.h.

Referenced by FillParameter(), and NavigateTo().

◆ fYres

Double_t CbmMvdGeoHandler::fYres
private

Definition at line 115 of file CbmMvdGeoHandler.h.

Referenced by FillParameter(), and NavigateTo().


The documentation for this class was generated from the following files: