#include <MuonSubDetector.h>
Public Member Functions | |
bool | isBarrel () |
bool | isEndcap () |
bool | isRpc () |
MuonSubDetector (std::string name) | |
std::string | name () |
std::string | suIdName () |
~MuonSubDetector () | |
Private Types | |
enum | subDetector { barrel, endcap, rpc, nodef } |
Private Attributes | |
subDetector | detector |
std::string | detectorName |
class to handle muon sensitive detectors, possible arguments for constructor: "MuonDTHits", "MuonCSCHits", "MuonRPCHits"
the function suIdName() returns the detector SuId for the ROU factory
Definition at line 21 of file MuonSubDetector.h.
enum MuonSubDetector::subDetector [private] |
MuonSubDetector::MuonSubDetector | ( | std::string | name | ) |
Definition at line 5 of file MuonSubDetector.cc.
References barrel, gather_cfg::cout, detector, endcap, nodef, and rpc.
MuonSubDetector::~MuonSubDetector | ( | ) | [inline] |
Definition at line 30 of file MuonSubDetector.h.
{};
bool MuonSubDetector::isBarrel | ( | ) |
Definition at line 20 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 24 of file MuonSubDetector.cc.
References detector, and endcap.
Referenced by MuonSensitiveDetector::createHit(), MuonSlaveSD::format(), MuonSensitiveDetector::MuonSensitiveDetector(), MuonSimHitNumberingScheme::MuonSimHitNumberingScheme(), and MuonSensitiveDetector::updateHit().
bool MuonSubDetector::isRpc | ( | ) |
Definition at line 28 of file MuonSubDetector.cc.
Referenced by MuonSlaveSD::format(), MuonSensitiveDetector::MuonSensitiveDetector(), and MuonSimHitNumberingScheme::MuonSimHitNumberingScheme().
std::string MuonSubDetector::name | ( | void | ) |
Definition at line 32 of file MuonSubDetector.cc.
References detectorName.
Referenced by MuonSlaveSD::clearHits(), MuonSlaveSD::format(), and MuonSensitiveDetector::saveHit().
{ return detectorName; }
std::string MuonSubDetector::suIdName | ( | ) |
subDetector MuonSubDetector::detector [private] |
Definition at line 40 of file MuonSubDetector.h.
Referenced by isBarrel(), isEndcap(), isRpc(), MuonSubDetector(), and suIdName().
std::string MuonSubDetector::detectorName [private] |
Definition at line 41 of file MuonSubDetector.h.
Referenced by name().