#include <MuonSubDetector.h>
Public Member Functions | |
bool | isBarrel () |
bool | isEndcap () |
bool | isGEM () |
bool | isME0 () |
bool | isRPC () |
MuonSubDetector (const std::string &name) | |
std::string | name () |
std::string | suIdName () |
~MuonSubDetector () | |
Private Types | |
enum | subDetector { barrel, endcap, rpc, gem, me0, nodef } |
Private Attributes | |
subDetector | detector |
std::string | detectorName |
class to handle muon sensitive detectors, possible arguments for constructor: "MuonDTHits", "MuonCSCHits", "MuonRPCHits", "MuonGEMHits", "MuonME0Hits"
the function suIdName() returns the detector SuId for the ROU factory
Definition at line 19 of file MuonSubDetector.h.
|
private |
Enumerator | |
---|---|
barrel | |
endcap | |
rpc | |
gem | |
me0 | |
nodef |
Definition at line 38 of file MuonSubDetector.h.
MuonSubDetector::MuonSubDetector | ( | const std::string & | name | ) |
Definition at line 4 of file MuonSubDetector.cc.
References barrel, detector, endcap, gem, me0, name(), nodef, and rpc.
|
inline |
Definition at line 27 of file MuonSubDetector.h.
bool MuonSubDetector::isBarrel | ( | ) |
Definition at line 21 of file MuonSubDetector.cc.
References barrel, and detector.
Referenced by MuonSensitiveDetector::createHit(), MuonSlaveSD::format(), MuonSensitiveDetector::MuonSensitiveDetector(), MuonSimHitNumberingScheme::MuonSimHitNumberingScheme(), and MuonSensitiveDetector::updateHit().
bool MuonSubDetector::isEndcap | ( | ) |
Definition at line 23 of file MuonSubDetector.cc.
References detector, and endcap.
Referenced by MuonSensitiveDetector::createHit(), MuonSlaveSD::format(), MuonSensitiveDetector::MuonSensitiveDetector(), MuonSimHitNumberingScheme::MuonSimHitNumberingScheme(), and MuonSensitiveDetector::updateHit().
bool MuonSubDetector::isGEM | ( | ) |
Definition at line 27 of file MuonSubDetector.cc.
Referenced by MuonSlaveSD::format(), MuonSensitiveDetector::MuonSensitiveDetector(), and MuonSimHitNumberingScheme::MuonSimHitNumberingScheme().
bool MuonSubDetector::isME0 | ( | ) |
Definition at line 29 of file MuonSubDetector.cc.
Referenced by MuonSlaveSD::format(), MuonSensitiveDetector::MuonSensitiveDetector(), and MuonSimHitNumberingScheme::MuonSimHitNumberingScheme().
bool MuonSubDetector::isRPC | ( | ) |
Definition at line 25 of file MuonSubDetector.cc.
Referenced by MuonSlaveSD::format(), MuonSensitiveDetector::MuonSensitiveDetector(), and MuonSimHitNumberingScheme::MuonSimHitNumberingScheme().
std::string MuonSubDetector::name | ( | void | ) |
Definition at line 31 of file MuonSubDetector.cc.
References detectorName.
Referenced by config.CFG::__str__(), MuonSlaveSD::clearHits(), validation.Sample::digest(), MuonSlaveSD::format(), VIDSelectorBase.VIDSelectorBase::initialize(), MuonSubDetector(), and MuonSensitiveDetector::saveHit().
std::string MuonSubDetector::suIdName | ( | ) |
Definition at line 33 of file MuonSubDetector.cc.
References barrel, detector, endcap, gem, me0, and rpc.
|
private |
Definition at line 39 of file MuonSubDetector.h.
Referenced by isBarrel(), isEndcap(), isGEM(), isME0(), isRPC(), MuonSubDetector(), and suIdName().
|
private |
Definition at line 40 of file MuonSubDetector.h.
Referenced by name().