#include <SensitiveDetectorCatalog.h>
Public Types | |
typedef std::map< std::string, std::vector< std::string > > | MapType |
Public Member Functions | |
std::string | className (const std::string &readoutName) const |
std::vector< std::string > | classNames () const |
void | insert (const std::string &, const std::string &, const std::string &) |
const std::vector< std::string > & | logicalNames (const std::string &readoutName) const |
std::vector< std::string > | logicalNamesFromClassName (const std::string &className) const |
const std::vector< std::string > & | readoutNames (const std::string &className) const |
std::vector< std::string > | readoutNames () const |
Private Attributes | |
MapType | theClassNameMap |
MapType | theROUNameMap |
Definition at line 8 of file SensitiveDetectorCatalog.h.
typedef std::map<std::string,std::vector<std::string> > SensitiveDetectorCatalog::MapType |
Definition at line 11 of file SensitiveDetectorCatalog.h.
std::string SensitiveDetectorCatalog::className | ( | const std::string & | readoutName | ) | const |
Definition at line 49 of file SensitiveDetectorCatalog.cc.
References groupFilesInBlocks::temp, and theClassNameMap.
Referenced by AttachSD::create().
std::vector< std::string > SensitiveDetectorCatalog::classNames | ( | ) | const |
Definition at line 61 of file SensitiveDetectorCatalog.cc.
References groupFilesInBlocks::temp, and theClassNameMap.
Referenced by insert().
void SensitiveDetectorCatalog::insert | ( | const std::string & | cN, |
const std::string & | rN, | ||
const std::string & | lvN | ||
) |
Definition at line 8 of file SensitiveDetectorCatalog.cc.
References classNames(), LogDebug, readoutNames(), theClassNameMap, and theROUNameMap.
Referenced by DDG4SensitiveConverter::upDate().
const std::vector< std::string > & SensitiveDetectorCatalog::logicalNames | ( | const std::string & | readoutName | ) | const |
Definition at line 36 of file SensitiveDetectorCatalog.cc.
References theROUNameMap.
Referenced by Bcm1fSD::Bcm1fSD(), BHMSD::BHMSD(), BscSD::BscSD(), CaloSD::CaloSD(), FastTimerSD::FastTimerSD(), FiberSD::FiberSD(), FP420SD::FP420SD(), HFChamberSD::HFChamberSD(), HFWedgeSD::HFWedgeSD(), MuonSensitiveDetector::MuonSensitiveDetector(), PltSD::PltSD(), TkAccumulatingSensitiveDetector::TkAccumulatingSensitiveDetector(), and TotemSD::TotemSD().
std::vector< std::string > SensitiveDetectorCatalog::logicalNamesFromClassName | ( | const std::string & | className | ) | const |
Definition at line 40 of file SensitiveDetectorCatalog.cc.
References groupFilesInBlocks::temp, and theClassNameMap.
const std::vector< std::string > & SensitiveDetectorCatalog::readoutNames | ( | const std::string & | className | ) | const |
Definition at line 32 of file SensitiveDetectorCatalog.cc.
References theClassNameMap.
Referenced by AttachSD::create().
std::vector< std::string > SensitiveDetectorCatalog::readoutNames | ( | ) | const |
Definition at line 24 of file SensitiveDetectorCatalog.cc.
References groupFilesInBlocks::temp, and theROUNameMap.
Referenced by insert().
|
private |
Definition at line 21 of file SensitiveDetectorCatalog.h.
Referenced by className(), classNames(), insert(), logicalNamesFromClassName(), and readoutNames().
|
private |
Definition at line 22 of file SensitiveDetectorCatalog.h.
Referenced by insert(), logicalNames(), and readoutNames().