ATLAS Offline Software
|
#include "MuonReadoutGeometryR4/MuonDetectorDefs.h"
#include "MuonReadoutGeometryR4/MuonReadoutElement.h"
#include "AthenaKernel/CLASS_DEF.h"
#include "GaudiKernel/ServiceHandle.h"
#include "GeoModelKernel/GeoVDetectorManager.h"
#include "MuonIdHelpers/IMuonIdHelperSvc.h"
#include <map>
#include <memory>
#include <MuonReadoutGeometryR4/MuonDetectorManager.icc>
Go to the source code of this file.
Classes | |
class | MuonGMR4::MuonDetectorManager |
struct | MuonGMR4::MuonDetectorManager::MSEnvelopeSorter |
Helper struct to ensure that the spectrometer sectors & chambers are sorted. More... | |
Namespaces | |
MuonGMR4 | |
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy MuonReadoutGeometry. | |
Macros | |
#define | DECLARE_GETTERSETTER(ELE_TYPE, GETTER, SETTER) |
The muon detector manager is the central class administrating the readout elements of All muon subdetectors defined in the Geometry. More... | |
#define | DECLARE_ELEMENT(ELE_TYPE) |
#define DECLARE_ELEMENT | ( | ELE_TYPE | ) |
Definition at line 48 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.
#define DECLARE_GETTERSETTER | ( | ELE_TYPE, | |
GETTER, | |||
SETTER | |||
) |
The muon detector manager is the central class administrating the readout elements of All muon subdetectors defined in the Geometry.
The detector elements are stored in a std::vector and their IdentifierHashes are used as their corresponding position index. For each element type, e.g. CakeElement, it provides one setter method and four getter methods.
Add the detector element to the manager. Fails if an element with the same hash has already been added StatusCode addCakeElement(std::unique_ptr<CakeElement> ele_ptr);
Return the (const) pointer to the detector element. The input Identifier is the full ATLAS Identifier of the measurement (const) CakeElement* getCakeElement(const Identifier& id) const;
Return the (const) pointer to the detector element. The IdentifierHash has to correspond to the hash of the readout element (const) CakeElement* getCakeElement(const IdentifierHash& id) const; Helper macros to declare the interface
Definition at line 39 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h.