CbmRoot
CbmTofGeoHandler Class Reference

#include <CbmTofGeoHandler.h>

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

Public Member Functions

 CbmTofGeoHandler ()
 
 ~CbmTofGeoHandler ()
 
Int_t GetUniqueDetectorId ()
 
Int_t GetUniqueCounterId ()
 
Int_t GetUniqueDetectorId (TString volName)
 
Int_t GetCellId (Int_t uniqueId)
 
Int_t GetGeoVersion ()
 
Int_t Init (Bool_t isSimulation=kFALSE)
 
Int_t GetDetSystemId (Int_t uniqueId)
 
Int_t GetSMType (Int_t uniqueId)
 
Int_t GetSModule (Int_t uniqueId)
 
Int_t GetCounter (Int_t uniqueId)
 
Int_t GetGap (Int_t uniqueId)
 
Int_t GetCell (Int_t uniqueId)
 
Int_t GetRegion (Int_t uniqueId)
 
Float_t GetSizeX (TString volName)
 
Float_t GetSizeY (TString volName)
 
Float_t GetSizeZ (TString volName)
 
Float_t GetX (TString volName)
 
Float_t GetY (TString volName)
 
Float_t GetZ (TString volName)
 
void FillDetectorInfoArray (Int_t uniqueId)
 
void NavigateTo (TString volName)
 
Int_t CurrentVolOffID (Int_t off, Int_t &copy) const
 
Int_t CurrentVolID (Int_t &copy) const
 
Int_t VolId (const Text_t *name) const
 
Int_t VolIdGeo (const char *name) const
 
const char * CurrentVolName () const
 
const char * CurrentVolOffName (Int_t off) const
 
const char * CurrentNodeName () const
 
const char * CurrentNodeOffName (Int_t off) const
 
Int_t CheckGeometryVersion ()
 
CbmTofDetectorIdGetDetIdPointer ()
 

Private Member Functions

 CbmTofGeoHandler (const CbmTofGeoHandler &)
 
CbmTofGeoHandler operator= (const CbmTofGeoHandler &)
 

Private Attributes

CbmTofDetectorIdfTofId
 
Int_t fGeoVersion
 
Bool_t fIsSimulation
 
Int_t fMCVersion
 
Bool_t fUseNodeName
 
Int_t fLastUsedDetectorID
 
CbmTofDetectorInfo fDetectorInfoArray
 
UInt_t fGeoPathHash
 
TGeoVolume * fCurrentVolume
 
TGeoBBox * fVolumeShape
 
Double_t fGlobal [3]
 
TGeoHMatrix * fGlobalMatrix
 Global centre of volume. More...
 

Detailed Description

Definition at line 30 of file CbmTofGeoHandler.h.

Constructor & Destructor Documentation

◆ CbmTofGeoHandler() [1/2]

CbmTofGeoHandler::CbmTofGeoHandler ( )

Constructor

Definition at line 24 of file CbmTofGeoHandler.cxx.

◆ ~CbmTofGeoHandler()

CbmTofGeoHandler::~CbmTofGeoHandler ( )
inline

Destructor

Definition at line 37 of file CbmTofGeoHandler.h.

◆ CbmTofGeoHandler() [2/2]

CbmTofGeoHandler::CbmTofGeoHandler ( const CbmTofGeoHandler )
private

Member Function Documentation

◆ CheckGeometryVersion()

Int_t CbmTofGeoHandler::CheckGeometryVersion ( )

◆ CurrentNodeName()

const char * CbmTofGeoHandler::CurrentNodeName ( ) const

Definition at line 428 of file CbmTofGeoHandler.cxx.

Referenced by CurrentNodeOffName().

◆ CurrentNodeOffName()

const char * CbmTofGeoHandler::CurrentNodeOffName ( Int_t  off) const

Definition at line 437 of file CbmTofGeoHandler.cxx.

References CurrentNodeName().

Referenced by GetUniqueCounterId(), and GetUniqueDetectorId().

◆ CurrentVolID()

Int_t CbmTofGeoHandler::CurrentVolID ( Int_t &  copy) const

Definition at line 363 of file CbmTofGeoHandler.cxx.

References fIsSimulation.

Referenced by CurrentVolOffID(), GetUniqueCounterId(), and GetUniqueDetectorId().

◆ CurrentVolName()

const char * CbmTofGeoHandler::CurrentVolName ( ) const

Definition at line 397 of file CbmTofGeoHandler.cxx.

References fIsSimulation.

Referenced by CurrentVolOffName(), GetUniqueCounterId(), and GetUniqueDetectorId().

◆ CurrentVolOffID()

Int_t CbmTofGeoHandler::CurrentVolOffID ( Int_t  off,
Int_t &  copy 
) const

Definition at line 379 of file CbmTofGeoHandler.cxx.

References CurrentVolID(), and fIsSimulation.

Referenced by GetUniqueCounterId(), and GetUniqueDetectorId().

◆ CurrentVolOffName()

const char * CbmTofGeoHandler::CurrentVolOffName ( Int_t  off) const

Definition at line 410 of file CbmTofGeoHandler.cxx.

References CurrentVolName(), and fIsSimulation.

Referenced by GetUniqueCounterId(), and GetUniqueDetectorId().

◆ FillDetectorInfoArray()

void CbmTofGeoHandler::FillDetectorInfoArray ( Int_t  uniqueId)

◆ GetCell()

◆ GetCellId()

◆ GetCounter()

◆ GetDetIdPointer()

CbmTofDetectorId* CbmTofGeoHandler::GetDetIdPointer ( )
inline

Definition at line 80 of file CbmTofGeoHandler.h.

References fTofId.

Referenced by CbmTof::FinishEvent(), CbmTofMergeMcPoints::Init(), and CbmTof::Initialize().

◆ GetDetSystemId()

Int_t CbmTofGeoHandler::GetDetSystemId ( Int_t  uniqueId)

◆ GetGap()

◆ GetGeoVersion()

◆ GetRegion()

Int_t CbmTofGeoHandler::GetRegion ( Int_t  uniqueId)

◆ GetSizeX()

Float_t CbmTofGeoHandler::GetSizeX ( TString  volName)

◆ GetSizeY()

Float_t CbmTofGeoHandler::GetSizeY ( TString  volName)

◆ GetSizeZ()

Float_t CbmTofGeoHandler::GetSizeZ ( TString  volName)

Definition at line 509 of file CbmTofGeoHandler.cxx.

References fGeoPathHash, fVolumeShape, and NavigateTo().

◆ GetSModule()

◆ GetSMType()

◆ GetUniqueCounterId()

◆ GetUniqueDetectorId() [1/2]

◆ GetUniqueDetectorId() [2/2]

Int_t CbmTofGeoHandler::GetUniqueDetectorId ( TString  volName)

Definition at line 143 of file CbmTofGeoHandler.cxx.

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

◆ GetX()

Float_t CbmTofGeoHandler::GetX ( TString  volName)

◆ GetY()

Float_t CbmTofGeoHandler::GetY ( TString  volName)

◆ GetZ()

Float_t CbmTofGeoHandler::GetZ ( TString  volName)

◆ Init()

◆ NavigateTo()

void CbmTofGeoHandler::NavigateTo ( TString  volName)

◆ operator=()

CbmTofGeoHandler CbmTofGeoHandler::operator= ( const CbmTofGeoHandler )
private

◆ VolId()

Int_t CbmTofGeoHandler::VolId ( const Text_t *  name) const

Definition at line 347 of file CbmTofGeoHandler.cxx.

References fIsSimulation, and VolIdGeo().

◆ VolIdGeo()

Int_t CbmTofGeoHandler::VolIdGeo ( const char *  name) const

Definition at line 334 of file CbmTofGeoHandler.cxx.

Referenced by VolId().

Member Data Documentation

◆ fCurrentVolume

TGeoVolume* CbmTofGeoHandler::fCurrentVolume
private

Definition at line 93 of file CbmTofGeoHandler.h.

Referenced by NavigateTo().

◆ fDetectorInfoArray

CbmTofDetectorInfo CbmTofGeoHandler::fDetectorInfoArray
private

◆ fGeoPathHash

UInt_t CbmTofGeoHandler::fGeoPathHash
private

◆ fGeoVersion

Int_t CbmTofGeoHandler::fGeoVersion
private

◆ fGlobal

Double_t CbmTofGeoHandler::fGlobal[3]
private

Definition at line 95 of file CbmTofGeoHandler.h.

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

◆ fGlobalMatrix

TGeoHMatrix* CbmTofGeoHandler::fGlobalMatrix
private

Global centre of volume.

Definition at line 96 of file CbmTofGeoHandler.h.

◆ fIsSimulation

Bool_t CbmTofGeoHandler::fIsSimulation
private

◆ fLastUsedDetectorID

Int_t CbmTofGeoHandler::fLastUsedDetectorID
private

◆ fMCVersion

Int_t CbmTofGeoHandler::fMCVersion
private

Definition at line 87 of file CbmTofGeoHandler.h.

Referenced by CheckGeometryVersion(), and Init().

◆ fTofId

◆ fUseNodeName

Bool_t CbmTofGeoHandler::fUseNodeName
private

◆ fVolumeShape

TGeoBBox* CbmTofGeoHandler::fVolumeShape
private

Definition at line 94 of file CbmTofGeoHandler.h.

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


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