CbmRoot
|
#include <GeoReader.h>
Public Member Functions | |
CbmBinnedGeoReader (FairRootManager *, CbmBinnedTracker *tracker) | |
CbmBinnedGeoReader (const CbmBinnedGeoReader &)=delete | |
CbmBinnedGeoReader & | operator= (const CbmBinnedGeoReader &)=delete |
void | FindGeoChild (TGeoNode *node, const char *name, std::list< TGeoNode * > &results) |
void | Read () |
Static Public Member Functions | |
static CbmBinnedGeoReader * | Instance () |
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 |
CbmBinnedTracker * | fTracker |
int | fLastStationNumber |
Definition at line 27 of file GeoReader.h.
CbmBinnedGeoReader::CbmBinnedGeoReader | ( | FairRootManager * | , |
CbmBinnedTracker * | tracker | ||
) |
Definition at line 30 of file GeoReader.cxx.
References CbmBinnedHitReader::AddReader(), fDetectorReaders, fNavigator, i, CbmBinnedSettings::Instance(), CbmBinnedSettings::IsConfiguring(), kMuch, kRich, kSts, kTof, kTrd, ReadMuch(), ReadRich(), ReadSts(), ReadTof(), ReadTrd(), and CbmBinnedSettings::Use().
|
delete |
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().
|
private |
Definition at line 428 of file GeoReader.cxx.
References FindGeoChild(), and i.
Referenced by ReadTarget().
|
private |
|
private |
Definition at line 224 of file GeoReader.cxx.
References FindGeoChild(), fNavigator, HandleActive(), and i.
Referenced by SearchStation().
|
static |
Definition at line 17 of file GeoReader.cxx.
References CbmBinnedTracker::Instance().
Referenced by CbmBinnedTrackerConfigurator::Init(), and CbmBinnedTrackerTask::Init().
|
delete |
void CbmBinnedGeoReader::Read | ( | ) |
Definition at line 109 of file GeoReader.cxx.
References cbmBinnedSOL, CbmBinnedSettings::Instance(), kMuch, kRich, kSts, kTof, kTrd, ReadDetector(), ReadTarget(), CbmBinnedHitReader::SetSettings(), and CbmBinnedSettings::Use().
Referenced by CbmBinnedTrackerConfigurator::Init(), and CbmBinnedTrackerTask::Init().
|
private |
|
private |
Definition at line 317 of file GeoReader.cxx.
References fLastStationNumber, CbmBinnedHitReader::Instance(), CbmBinnedSettings::Instance(), CbmBinnedSettings::IsConfiguring(), kMuch, SearchStation(), and CbmBinnedSettings::SetNofMuchStations().
Referenced by CbmBinnedGeoReader().
|
private |
Definition at line 302 of file GeoReader.cxx.
References CbmBinnedHitReader::Instance(), CbmBinnedSettings::Instance(), CbmBinnedSettings::IsConfiguring(), kRich, and SearchStation().
Referenced by CbmBinnedGeoReader().
|
private |
Definition at line 285 of file GeoReader.cxx.
References fLastStationNumber, CbmBinnedHitReader::Instance(), CbmBinnedSettings::Instance(), CbmBinnedSettings::IsConfiguring(), kSts, SearchStation(), and CbmBinnedSettings::SetNofStsStations().
Referenced by CbmBinnedGeoReader().
|
private |
Definition at line 366 of file GeoReader.cxx.
References FindGeoChild(), FindNode(), fNavigator, and i.
Referenced by Read().
|
private |
Definition at line 351 of file GeoReader.cxx.
References CbmBinnedHitReader::Instance(), CbmBinnedSettings::Instance(), CbmBinnedSettings::IsConfiguring(), kTof, and SearchStation().
Referenced by CbmBinnedGeoReader().
|
private |
Definition at line 334 of file GeoReader.cxx.
References fLastStationNumber, CbmBinnedHitReader::Instance(), CbmBinnedSettings::Instance(), CbmBinnedSettings::IsConfiguring(), kTrd, SearchStation(), and CbmBinnedSettings::SetNofTrdStations().
Referenced by CbmBinnedGeoReader().
|
private |
Definition at line 136 of file GeoReader.cxx.
References CbmBinnedHitReader::AddStation(), CbmBinnedTracker::AddStation(), FindGeoChild(), fLastStationNumber, fNavigator, fTracker, CbmBinnedSettings::GetXScat(), CbmBinnedSettings::GetYScat(), gNofTbins, gNofXbins, gNofYbins, gNofZbins, HandleStation(), i, CbmBinnedStation::Init(), CbmBinnedSettings::Instance(), CbmBinnedSettings::IsConfiguring(), CbmBinnedStation::SetMaxX(), CbmBinnedStation::SetMaxY(), CbmBinnedStation::SetMinX(), CbmBinnedStation::SetMinY(), CbmBinnedSettings::SetNofStations(), CbmBinnedStation::SetScatX(), and CbmBinnedStation::SetScatY().
Referenced by ReadMuch(), ReadRich(), ReadSts(), ReadTof(), and ReadTrd().
|
private |
Definition at line 77 of file GeoReader.h.
Referenced by CbmBinnedGeoReader(), and ReadDetector().
|
private |
Definition at line 79 of file GeoReader.h.
Referenced by ReadMuch(), ReadSts(), ReadTrd(), and SearchStation().
|
private |
Definition at line 76 of file GeoReader.h.
Referenced by CbmBinnedGeoReader(), HandleStation(), ReadTarget(), and SearchStation().
|
private |
Definition at line 78 of file GeoReader.h.
Referenced by SearchStation().