CbmRoot
Loading...
Searching...
No Matches
CbmMvdGeoHandler Class Reference

#include <CbmMvdGeoHandler.h>

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

Public Member Functions

 CbmMvdGeoHandler ()
 Constructor.
 
 ~CbmMvdGeoHandler ()
 Destructor.
 
void Init (Bool_t isSimulation=kFALSE, Int_t mcbmFlag=0)
 
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_tGetMap ()
 
void PrintGeoParameter ()
 
Int_t GetIDfromPath (TString path)
 
void SetSensorTyp (CbmMvdSensorTyp typ)
 

Private Member Functions

void NavigateTo (const TString &sensor)
 
void GetMother ()
 
void GetGeometryTyp ()
 
void FillParameter ()
 
void FillDetector ()
 
void FillStationMap ()
 
 CbmMvdGeoHandler (const CbmMvdGeoHandler &)
 
CbmMvdGeoHandler operator= (const CbmMvdGeoHandler &)
 

Private Attributes

CbmMvdSensorTyp fSensorTyp
 
CbmMvdDetectorfDetector
 
CbmMvdStationParfStationPar
 
std::map< Int_t, Int_tfStationMap
 
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
 

Detailed Description

Definition at line 48 of file CbmMvdGeoHandler.h.

Constructor & Destructor Documentation

◆ CbmMvdGeoHandler() [1/2]

◆ ~CbmMvdGeoHandler()

CbmMvdGeoHandler::~CbmMvdGeoHandler ( )

Destructor.

Definition at line 82 of file CbmMvdGeoHandler.cxx.

◆ CbmMvdGeoHandler() [2/2]

CbmMvdGeoHandler::CbmMvdGeoHandler ( const CbmMvdGeoHandler & )
private

References CbmMvdGeoHandler().

Member Function Documentation

◆ Fill()

void CbmMvdGeoHandler::Fill ( )

Definition at line 400 of file CbmMvdGeoHandler.cxx.

References FillDetector(), FillStationMap(), and fIsSimulation.

Referenced by CbmMvdDetector::Instance().

◆ FillDetector()

◆ FillParameter()

void CbmMvdGeoHandler::FillParameter ( )
private

◆ FillStationMap()

◆ GetGeometryTyp()

void CbmMvdGeoHandler::GetGeometryTyp ( )
private

◆ GetIDfromPath()

Int_t CbmMvdGeoHandler::GetIDfromPath ( TString path)

Definition at line 368 of file CbmMvdGeoHandler.cxx.

Referenced by FillDetector(), and FillStationMap().

◆ GetMap()

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

Definition at line 80 of file CbmMvdGeoHandler.h.

References fStationMap.

◆ GetMother()

void CbmMvdGeoHandler::GetMother ( )
private

Definition at line 270 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 121 of file CbmMvdGeoHandler.cxx.

Referenced by GetSensorAddress().

◆ GetSensorAddress() [2/2]

Int_t CbmMvdGeoHandler::GetSensorAddress ( const TString & path)

Navigate to node.

Definition at line 131 of file CbmMvdGeoHandler.cxx.

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

◆ GetSizeX()

Double_t CbmMvdGeoHandler::GetSizeX ( const TString & path)

Definition at line 139 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fVolumeShape, and NavigateTo().

◆ GetSizeY()

Double_t CbmMvdGeoHandler::GetSizeY ( const TString & path)

Definition at line 147 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fVolumeShape, and NavigateTo().

◆ GetSizeZ()

Double_t CbmMvdGeoHandler::GetSizeZ ( const TString & path)

Definition at line 155 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fVolumeShape, and NavigateTo().

◆ GetStation()

Int_t CbmMvdGeoHandler::GetStation ( const TString & path)

Definition at line 188 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fStation, and NavigateTo().

◆ GetX()

Double_t CbmMvdGeoHandler::GetX ( const TString & path)

Definition at line 179 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fGlobal, and NavigateTo().

◆ GetY()

Double_t CbmMvdGeoHandler::GetY ( const TString & path)

Definition at line 171 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fGlobal, and NavigateTo().

◆ GetZ()

Double_t CbmMvdGeoHandler::GetZ ( const TString & path)

Definition at line 163 of file CbmMvdGeoHandler.cxx.

References fGeoPathHash, fGlobal, and NavigateTo().

◆ Init()

void CbmMvdGeoHandler::Init ( Bool_t isSimulation = kFALSE,
Int_t mcbmFlag = 0 )

◆ NavigateTo()

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

◆ operator=()

CbmMvdGeoHandler CbmMvdGeoHandler::operator= ( const CbmMvdGeoHandler & )
private

References CbmMvdGeoHandler().

◆ PrintGeoParameter()

void CbmMvdGeoHandler::PrintGeoParameter ( )

Definition at line 618 of file CbmMvdGeoHandler.cxx.

References fStationPar.

Referenced by CbmMvdDetector::Instance().

◆ SetSensorTyp()

void CbmMvdGeoHandler::SetSensorTyp ( CbmMvdSensorTyp typ)
inline

Definition at line 84 of file CbmMvdGeoHandler.h.

References fSensorTyp.

Referenced by CbmMvdDetector::Instance().

Member Data Documentation

◆ fBeamheight

Double_t CbmMvdGeoHandler::fBeamheight
private

Definition at line 124 of file CbmMvdGeoHandler.h.

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

◆ fBeamwidth

Double_t CbmMvdGeoHandler::fBeamwidth
private

Definition at line 123 of file CbmMvdGeoHandler.h.

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

◆ fCurrentVolume

TGeoVolume* CbmMvdGeoHandler::fCurrentVolume
private

Definition at line 107 of file CbmMvdGeoHandler.h.

Referenced by CbmMvdGeoHandler(), and NavigateTo().

◆ fDetector

CbmMvdDetector* CbmMvdGeoHandler::fDetector
private

Definition at line 99 of file CbmMvdGeoHandler.h.

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

◆ fDetectorName

TString CbmMvdGeoHandler::fDetectorName
private

Definition at line 130 of file CbmMvdGeoHandler.h.

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

◆ fGeoPathHash

UInt_t CbmMvdGeoHandler::fGeoPathHash
private

◆ fGeoTyp

CbmMvdGeoTyp CbmMvdGeoHandler::fGeoTyp
private

◆ fGlobal

Double_t CbmMvdGeoHandler::fGlobal[3]
private

Definition at line 109 of file CbmMvdGeoHandler.h.

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

◆ fGlobalMatrix

TGeoHMatrix* CbmMvdGeoHandler::fGlobalMatrix
private

Global center of volume.

Definition at line 110 of file CbmMvdGeoHandler.h.

Referenced by CbmMvdGeoHandler(), and NavigateTo().

◆ fHeight

Double_t CbmMvdGeoHandler::fHeight
private

Definition at line 121 of file CbmMvdGeoHandler.h.

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

◆ fIsSimulation

Bool_t CbmMvdGeoHandler::fIsSimulation
private

Definition at line 104 of file CbmMvdGeoHandler.h.

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

◆ fLayerId

Int_t CbmMvdGeoHandler::fLayerId
private

Definition at line 111 of file CbmMvdGeoHandler.h.

Referenced by CbmMvdGeoHandler().

◆ fModuleId

Int_t CbmMvdGeoHandler::fModuleId
private

Definition at line 112 of file CbmMvdGeoHandler.h.

Referenced by CbmMvdGeoHandler().

◆ fModuleType

Int_t CbmMvdGeoHandler::fModuleType
private

Definition at line 113 of file CbmMvdGeoHandler.h.

Referenced by CbmMvdGeoHandler().

◆ fMother

TString CbmMvdGeoHandler::fMother
private

StationTypeID, 1..3.

Definition at line 115 of file CbmMvdGeoHandler.h.

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

◆ fnodeName

TString CbmMvdGeoHandler::fnodeName
private

Definition at line 135 of file CbmMvdGeoHandler.h.

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

◆ fQuadrantName

TString CbmMvdGeoHandler::fQuadrantName
private

Definition at line 132 of file CbmMvdGeoHandler.h.

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

◆ fSectorName

TString CbmMvdGeoHandler::fSectorName
private

Definition at line 131 of file CbmMvdGeoHandler.h.

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

◆ fSensorHolding

TString CbmMvdGeoHandler::fSensorHolding
private

Definition at line 133 of file CbmMvdGeoHandler.h.

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

◆ fSensorName

TString CbmMvdGeoHandler::fSensorName
private

Definition at line 134 of file CbmMvdGeoHandler.h.

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

◆ fSensorTyp

CbmMvdSensorTyp CbmMvdGeoHandler::fSensorTyp
private

Definition at line 97 of file CbmMvdGeoHandler.h.

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

◆ fStation

Int_t CbmMvdGeoHandler::fStation
private

Definition at line 114 of file CbmMvdGeoHandler.h.

Referenced by CbmMvdGeoHandler(), and GetStation().

◆ fStationMap

std::map<Int_t, Int_t> CbmMvdGeoHandler::fStationMap
private

Definition at line 102 of file CbmMvdGeoHandler.h.

Referenced by CbmMvdGeoHandler(), FillStationMap(), and GetMap().

◆ fStationName

TString CbmMvdGeoHandler::fStationName
private

Definition at line 129 of file CbmMvdGeoHandler.h.

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

◆ fStationNumber

Int_t CbmMvdGeoHandler::fStationNumber
private

Definition at line 118 of file CbmMvdGeoHandler.h.

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

◆ fStationPar

CbmMvdStationPar* CbmMvdGeoHandler::fStationPar
private

Definition at line 100 of file CbmMvdGeoHandler.h.

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

◆ fVolId

Int_t CbmMvdGeoHandler::fVolId
private

Definition at line 117 of file CbmMvdGeoHandler.h.

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

◆ fVolumeShape

TGeoBBox* CbmMvdGeoHandler::fVolumeShape
private

Definition at line 108 of file CbmMvdGeoHandler.h.

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

◆ fWidth

Double_t CbmMvdGeoHandler::fWidth
private

Definition at line 120 of file CbmMvdGeoHandler.h.

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

◆ fXres

Double_t CbmMvdGeoHandler::fXres
private

Definition at line 126 of file CbmMvdGeoHandler.h.

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

◆ fYres

Double_t CbmMvdGeoHandler::fYres
private

Definition at line 127 of file CbmMvdGeoHandler.h.

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

◆ fZRadThickness

Double_t CbmMvdGeoHandler::fZRadThickness
private

Definition at line 122 of file CbmMvdGeoHandler.h.

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

◆ fZThickness

Double_t CbmMvdGeoHandler::fZThickness
private

Definition at line 125 of file CbmMvdGeoHandler.h.

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


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