CbmRoot
CbmBinnedGeoReader Class Reference

#include <GeoReader.h>

Collaboration diagram for CbmBinnedGeoReader:
[legend]

Public Member Functions

 CbmBinnedGeoReader (FairRootManager *, CbmBinnedTracker *tracker)
 
 CbmBinnedGeoReader (const CbmBinnedGeoReader &)=delete
 
CbmBinnedGeoReaderoperator= (const CbmBinnedGeoReader &)=delete
 
void FindGeoChild (TGeoNode *node, const char *name, std::list< TGeoNode * > &results)
 
void Read ()
 

Static Public Member Functions

static CbmBinnedGeoReaderInstance ()
 

Private Member Functions

void ReadDetector (const char *name)
 
void SearchStation (ECbmModuleId stationType, TGeoNode *node, CbmBinnedHitReader *hitReader, std::list< const char * >::const_iterator stationPath, std::list< const char * >::const_iterator stationPathEnd, const std::list< const char * > &geoPath, bool is4d=false)
 
void HandleStation (TGeoNode *node, std::list< const char * >::const_iterator geoPath, std::list< const char * >::const_iterator geoPathEnd, Double_t &left, Double_t &right, Double_t &top, Double_t &bottom, Double_t &front, Double_t &back)
 
void HandleActive (TGeoNode *node, Double_t &left, Double_t &right, Double_t &top, Double_t &bottom, Double_t &front, Double_t &back)
 
void ReadSts ()
 
void ReadRich ()
 
void ReadMuch ()
 
void ReadTrd ()
 
void ReadTof ()
 
void ReadTarget ()
 
void FindNode (std::list< const char * > nodePath, std::list< TGeoNode * > &results, TGeoNode *rootNode=0)
 

Private Attributes

TGeoNavigator * fNavigator
 
std::map< std::string, void(CbmBinnedGeoReader::*)()> fDetectorReaders
 
CbmBinnedTrackerfTracker
 
int fLastStationNumber
 

Detailed Description

Definition at line 27 of file GeoReader.h.

Constructor & Destructor Documentation

◆ CbmBinnedGeoReader() [1/2]

◆ CbmBinnedGeoReader() [2/2]

CbmBinnedGeoReader::CbmBinnedGeoReader ( const CbmBinnedGeoReader )
delete

Member Function Documentation

◆ FindGeoChild()

void CbmBinnedGeoReader::FindGeoChild ( TGeoNode *  node,
const char *  name,
std::list< TGeoNode * > &  results 
)

Definition at line 93 of file GeoReader.cxx.

References i.

Referenced by FindNode(), HandleStation(), ReadTarget(), and SearchStation().

◆ FindNode()

void CbmBinnedGeoReader::FindNode ( std::list< const char * >  nodePath,
std::list< TGeoNode * > &  results,
TGeoNode *  rootNode = 0 
)
private

Definition at line 428 of file GeoReader.cxx.

References FindGeoChild(), and i.

Referenced by ReadTarget().

◆ HandleActive()

void CbmBinnedGeoReader::HandleActive ( TGeoNode *  node,
Double_t &  left,
Double_t &  right,
Double_t &  top,
Double_t &  bottom,
Double_t &  front,
Double_t &  back 
)
private

Definition at line 251 of file GeoReader.cxx.

References i.

Referenced by HandleStation().

◆ HandleStation()

void CbmBinnedGeoReader::HandleStation ( TGeoNode *  node,
std::list< const char * >::const_iterator  geoPath,
std::list< const char * >::const_iterator  geoPathEnd,
Double_t &  left,
Double_t &  right,
Double_t &  top,
Double_t &  bottom,
Double_t &  front,
Double_t &  back 
)
private

Definition at line 224 of file GeoReader.cxx.

References FindGeoChild(), fNavigator, HandleActive(), and i.

Referenced by SearchStation().

◆ Instance()

CbmBinnedGeoReader * CbmBinnedGeoReader::Instance ( )
static

◆ operator=()

CbmBinnedGeoReader& CbmBinnedGeoReader::operator= ( const CbmBinnedGeoReader )
delete

◆ Read()

◆ ReadDetector()

void CbmBinnedGeoReader::ReadDetector ( const char *  name)
private

Definition at line 127 of file GeoReader.cxx.

References fDetectorReaders.

Referenced by Read().

◆ ReadMuch()

◆ ReadRich()

void CbmBinnedGeoReader::ReadRich ( )
private

◆ ReadSts()

◆ ReadTarget()

void CbmBinnedGeoReader::ReadTarget ( )
private

Definition at line 366 of file GeoReader.cxx.

References FindGeoChild(), FindNode(), fNavigator, and i.

Referenced by Read().

◆ ReadTof()

void CbmBinnedGeoReader::ReadTof ( )
private

◆ ReadTrd()

◆ SearchStation()

void CbmBinnedGeoReader::SearchStation ( ECbmModuleId  stationType,
TGeoNode *  node,
CbmBinnedHitReader hitReader,
std::list< const char * >::const_iterator  stationPath,
std::list< const char * >::const_iterator  stationPathEnd,
const std::list< const char * > &  geoPath,
bool  is4d = false 
)
private

Member Data Documentation

◆ fDetectorReaders

std::map<std::string, void (CbmBinnedGeoReader::*)()> CbmBinnedGeoReader::fDetectorReaders
private

Definition at line 77 of file GeoReader.h.

Referenced by CbmBinnedGeoReader(), and ReadDetector().

◆ fLastStationNumber

int CbmBinnedGeoReader::fLastStationNumber
private

Definition at line 79 of file GeoReader.h.

Referenced by ReadMuch(), ReadSts(), ReadTrd(), and SearchStation().

◆ fNavigator

TGeoNavigator* CbmBinnedGeoReader::fNavigator
private

Definition at line 76 of file GeoReader.h.

Referenced by CbmBinnedGeoReader(), HandleStation(), ReadTarget(), and SearchStation().

◆ fTracker

CbmBinnedTracker* CbmBinnedGeoReader::fTracker
private

Definition at line 78 of file GeoReader.h.

Referenced by SearchStation().


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