#include <MuonSubDetector.h>
Public Member Functions | |
bool | isBarrel () |
bool | isEndcap () |
bool | isGEM () |
bool | isME0 () |
bool | isRPC () |
MuonSubDetector (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 39 of file MuonSubDetector.h.
MuonSubDetector::MuonSubDetector | ( | std::string | name | ) |
Definition at line 5 of file MuonSubDetector.cc.
References barrel, gather_cfg::cout, detector, endcap, gem, me0, nodef, and rpc.
|
inline |
Definition at line 28 of file MuonSubDetector.h.
bool MuonSubDetector::isBarrel | ( | ) |
Definition at line 24 of file MuonSubDetector.cc.
References barrel, and detector.
Referenced by MuonSensitiveDetector::createHit(), MuonSlaveSD::format(), MuonSimHitNumberingScheme::MuonSimHitNumberingScheme(), and MuonSensitiveDetector::updateHit().
bool MuonSubDetector::isEndcap | ( | ) |
Definition at line 28 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 36 of file MuonSubDetector.cc.
Referenced by MuonSlaveSD::format(), MuonSensitiveDetector::MuonSensitiveDetector(), and MuonSimHitNumberingScheme::MuonSimHitNumberingScheme().
bool MuonSubDetector::isME0 | ( | ) |
Definition at line 40 of file MuonSubDetector.cc.
Referenced by MuonSlaveSD::format(), MuonSensitiveDetector::MuonSensitiveDetector(), and MuonSimHitNumberingScheme::MuonSimHitNumberingScheme().
bool MuonSubDetector::isRPC | ( | ) |
Definition at line 32 of file MuonSubDetector.cc.
Referenced by MuonSlaveSD::format(), MuonSensitiveDetector::MuonSensitiveDetector(), and MuonSimHitNumberingScheme::MuonSimHitNumberingScheme().
std::string MuonSubDetector::name | ( | void | ) |
Definition at line 44 of file MuonSubDetector.cc.
References detectorName.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), MuonSlaveSD::clearHits(), MuonSlaveSD::format(), VIDSelectorBase.VIDSelectorBase::initialize(), and MuonSensitiveDetector::saveHit().
std::string MuonSubDetector::suIdName | ( | ) |
Definition at line 48 of file MuonSubDetector.cc.
References barrel, detector, endcap, gem, me0, and rpc.
|
private |
Definition at line 40 of file MuonSubDetector.h.
Referenced by isBarrel(), isEndcap(), isGEM(), isME0(), isRPC(), MuonSubDetector(), and suIdName().
|
private |
Definition at line 41 of file MuonSubDetector.h.
Referenced by name().