![]() |
ATLAS Offline Software
|
#include <MuonDetectorManager.h>
Classes | |
struct | ChamberSorter |
Helper struct to ensur that the sorting of the MuonChambers remains constants across the jobs. More... | |
Public Types | |
template<class MuonDetectorType > | |
using | ElementPtr = std::unique_ptr< MuonDetectorType > |
template<class MuonDetectorType > | |
using | ElementStorage = std::vector< ElementPtr< MuonDetectorType > > |
using | MuonChamberSet = std::set< const MuonChamber *, ChamberSorter > |
Public Member Functions | |
MuonDetectorManager () | |
~MuonDetectorManager ()=default | |
unsigned int | getNumTreeTops () const override final |
Access specifically the individual readout element technologies. More... | |
PVConstLink | getTreeTop (unsigned int i) const override final |
Returns the i-th top node of the MuonSystem trees. More... | |
void | addTreeTop (PVConstLink pv) |
Adds a new GeoModelTree node indicating the entrance to a muon system description. More... | |
const Muon::IMuonIdHelperSvc * | idHelperSvc () const |
Returns a pointer to the central MuonIdHelperSvc. More... | |
std::vector< const MuonReadoutElement * > | getAllReadoutElements () const |
Returns the list of all detector elements. More... | |
std::vector< MuonReadoutElement * > | getAllReadoutElements () |
const MuonReadoutElement * | getReadoutElement (const Identifier &id) const |
Returns a generic Muon readout element. More... | |
MuonReadoutElement * | getReadoutElement (const Identifier &id) |
const MuonChamber * | getChamber (const Identifier &channelId) const |
MuonChamberSet | getAllChambers () const |
: Returns all MuonChambers associated with the readout geometry More... | |
std::vector< ActsTrk::DetectorType > | getDetectorTypes () const |
Returns a list of all detector types. More... | |
bool | msgLvl (const MSG::Level lvl) const |
Test the output level. More... | |
MsgStream & | msg () const |
The standard message stream. More... | |
MsgStream & | msg (const MSG::Level lvl) const |
The standard message stream. More... | |
void | setLevel (MSG::Level lvl) |
Change the current logging level. More... | |
Private Member Functions | |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Private Attributes | |
ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc |
ElementStorage< MdtReadoutElement > | m_mdtEles {} |
ElementStorage< TgcReadoutElement > | m_tgcEles {} |
ElementStorage< RpcReadoutElement > | m_rpcEles {} |
ElementStorage< sTgcReadoutElement > | m_sTgcEles {} |
ElementStorage< MmReadoutElement > | m_mmEles {} |
std::vector< PVConstLink > | m_treeTopVector {} |
std::string | m_nm |
Message source name. More... | |
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
MsgStream instance (a std::cout like with print-out levels) More... | |
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
MessageSvc pointer. More... | |
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
Current logging level. More... | |
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
Messaging initialized (initMessaging) More... | |
Definition at line 61 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
using MuonGMR4::MuonDetectorManager::ElementPtr = std::unique_ptr<MuonDetectorType> |
Definition at line 68 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
using MuonGMR4::MuonDetectorManager::ElementStorage = std::vector<ElementPtr<MuonDetectorType> > |
Definition at line 70 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
using MuonGMR4::MuonDetectorManager::MuonChamberSet = std::set<const MuonChamber*, ChamberSorter> |
Definition at line 103 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
MuonGMR4::MuonDetectorManager::MuonDetectorManager | ( | ) |
Definition at line 105 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonDetectorManager.cxx.
|
default |
void MuonGMR4::MuonDetectorManager::addTreeTop | ( | PVConstLink | pv | ) |
Adds a new GeoModelTree node indicating the entrance to a muon system description.
Definition at line 129 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonDetectorManager.cxx.
MuonDetectorManager::MuonChamberSet MuonGMR4::MuonDetectorManager::getAllChambers | ( | ) | const |
: Returns all MuonChambers associated with the readout geometry
Definition at line 150 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonDetectorManager.cxx.
std::vector<MuonReadoutElement*> MuonGMR4::MuonDetectorManager::getAllReadoutElements | ( | ) |
std::vector<const MuonReadoutElement*> MuonGMR4::MuonDetectorManager::getAllReadoutElements | ( | ) | const |
Returns the list of all detector elements.
const MuonChamber * MuonGMR4::MuonDetectorManager::getChamber | ( | const Identifier & | channelId | ) | const |
Definition at line 146 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonDetectorManager.cxx.
std::vector< ActsTrk::DetectorType > MuonGMR4::MuonDetectorManager::getDetectorTypes | ( | ) | const |
Returns a list of all detector types.
Definition at line 135 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonDetectorManager.cxx.
|
finaloverride |
Access specifically the individual readout element technologies.
Returns the number of primary nodes in the GeoModel tree that are building the full MuonSystem (MuonBarrel, MuonEndCap, NSW etc)
Definition at line 122 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonDetectorManager.cxx.
MuonReadoutElement* MuonGMR4::MuonDetectorManager::getReadoutElement | ( | const Identifier & | id | ) |
const MuonReadoutElement* MuonGMR4::MuonDetectorManager::getReadoutElement | ( | const Identifier & | id | ) | const |
Returns a generic Muon readout element.
|
finaloverride |
Returns the i-th top node of the MuonSystem trees.
Definition at line 125 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonDetectorManager.cxx.
const Muon::IMuonIdHelperSvc * MuonGMR4::MuonDetectorManager::idHelperSvc | ( | ) | const |
Returns a pointer to the central MuonIdHelperSvc.
Definition at line 132 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonDetectorManager.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
lvl | The message level to test against |
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 111 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
private |
Definition at line 114 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
|
private |
Definition at line 118 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 116 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
|
private |
Definition at line 117 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
|
private |
Definition at line 115 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
|
private |
Definition at line 120 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.