#include <SensitiveDetectorCatalog.h>
Public Types | |
using | MapType = std::map< std::string, std::unordered_set< std::string > > |
Public Member Functions | |
std::string_view | className (const std::string &readoutName) const |
void | insert (const std::string &, const std::string &, const std::string &) |
const std::vector< std::string_view > | logicalNames (const std::string &readoutName) const |
void | printMe () const |
std::vector< std::string_view > | readoutNames () const |
const std::vector< std::string_view > | readoutNames (const std::string &className) const |
Private Member Functions | |
std::vector< std::string_view > | classNames () const |
std::vector< std::string_view > | logicalNamesFromClassName (const std::string &className) const |
Private Attributes | |
MapType | theClassNameMap |
MapType | theROUNameMap |
Definition at line 10 of file SensitiveDetectorCatalog.h.
using SensitiveDetectorCatalog::MapType = std::map<std::string, std::unordered_set<std::string> > |
Definition at line 12 of file SensitiveDetectorCatalog.h.
std::string_view SensitiveDetectorCatalog::className | ( | const std::string & | readoutName | ) | const |
Definition at line 44 of file SensitiveDetectorCatalog.cc.
References groupFilesInBlocks::temp, and theClassNameMap.
Referenced by AttachSD::create(), logicalNamesFromClassName(), and readoutNames().
|
private |
Definition at line 55 of file SensitiveDetectorCatalog.cc.
References groupFilesInBlocks::temp, and theClassNameMap.
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(), readoutNames(), theClassNameMap, and theROUNameMap.
const std::vector< std::string_view > SensitiveDetectorCatalog::logicalNames | ( | const std::string & | readoutName | ) | const |
Definition at line 31 of file SensitiveDetectorCatalog.cc.
References theROUNameMap.
Referenced by ECalSD::ECalSD(), HCalSD::HCalSD(), printMe(), and SensitiveDetector::SensitiveDetector().
|
private |
Definition at line 35 of file SensitiveDetectorCatalog.cc.
References className(), groupFilesInBlocks::temp, and theClassNameMap.
void SensitiveDetectorCatalog::printMe | ( | ) | const |
Definition at line 62 of file SensitiveDetectorCatalog.cc.
References HltBtagPostValidation_cff::c, classNames(), mps_fire::i, cmsLHEtoEOSManager::l, dqm-mbProfile::log, logicalNames(), alignCSCRings::r, readoutNames(), theClassNameMap, and theROUNameMap.
std::vector< std::string_view > SensitiveDetectorCatalog::readoutNames | ( | ) | const |
Definition at line 20 of file SensitiveDetectorCatalog.cc.
References groupFilesInBlocks::temp, and theROUNameMap.
const std::vector< std::string_view > SensitiveDetectorCatalog::readoutNames | ( | const std::string & | className | ) | const |
Definition at line 27 of file SensitiveDetectorCatalog.cc.
References className(), and theClassNameMap.
Referenced by AttachSD::create().
|
private |
Definition at line 24 of file SensitiveDetectorCatalog.h.
Referenced by className(), classNames(), insert(), logicalNamesFromClassName(), printMe(), and readoutNames().
|
private |
Definition at line 25 of file SensitiveDetectorCatalog.h.
Referenced by insert(), logicalNames(), printMe(), and readoutNames().