ATLAS Offline Software
MuonIntersectGeoData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONSTATIONINTERSECTCOND_MuonIntersectGeoData_H
5 #define MUONSTATIONINTERSECTCOND_MuonIntersectGeoData_H
8 
10 #include "AthenaKernel/CondCont.h"
11 
17 class MsgStream;
18 class MdtCondDbData;
19 
20 namespace Muon {
21  class IMuonIdHelperSvc;
23  public:
26  MuonIntersectGeoData(MsgStream& msg, const MuonGM::MuonDetectorManager* detMgr, const IMuonIdHelperSvc* idHelperSvc,
27  const MdtCondDbData* cond_data);
28 
30 
32  std::vector<std::shared_ptr<const MdtIntersectGeometry>> getStationGeometry(const Identifier& id) const;
34  std::shared_ptr<const MdtIntersectGeometry> getChamber(const Identifier& id) const;
35 
36  const MuonGM::MuonDetectorManager* detMgr() const { return m_detMgr; }
37 
38  private:
39  std::vector<Identifier> binPlusneighbours(const Identifier& id) const;
40 
41  std::vector<std::shared_ptr<MdtIntersectGeometry>> m_geometry{};
44  const MdtCondDbData* m_dbData{nullptr};
45  };
46 } // namespace Muon
47 
49 CONDCONT_DEF(Muon::MuonIntersectGeoData, 85983392);
50 #endif
CondCont.h
Hold mappings of ranges to condition objects.
Muon::MuonIntersectGeoData
Definition: MuonIntersectGeoData.h:22
Muon::MuonIntersectGeoData::m_geometry
std::vector< std::shared_ptr< MdtIntersectGeometry > > m_geometry
Definition: MuonIntersectGeoData.h:41
Muon::MuonIntersectGeoData::getStationGeometry
std::vector< std::shared_ptr< const MdtIntersectGeometry > > getStationGeometry(const Identifier &id) const
get geometry description of the given chamber + neighbouring chambers
Definition: MuonIntersectGeoData.cxx:31
MdtCondDbData
Definition: MdtCondDbData.h:21
Muon::MuonIntersectGeoData::m_dbData
const MdtCondDbData * m_dbData
Definition: MuonIntersectGeoData.h:44
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::MuonIntersectGeoData::m_idHelperSvc
const IMuonIdHelperSvc * m_idHelperSvc
Definition: MuonIntersectGeoData.h:42
CONDCONT_DEF
CONDCONT_DEF(Muon::MuonIntersectGeoData, 85983392)
Muon::MuonIntersectGeoData::detMgr
const MuonGM::MuonDetectorManager * detMgr() const
Definition: MuonIntersectGeoData.h:36
Muon::MuonIntersectGeoData::~MuonIntersectGeoData
~MuonIntersectGeoData()
beamspotman.dir
string dir
Definition: beamspotman.py:623
Muon::MuonIntersectGeoData::getChamber
std::shared_ptr< const MdtIntersectGeometry > getChamber(const Identifier &id) const
get a pointer to the cached chamber
Definition: MuonIntersectGeoData.cxx:46
Muon::MuonIntersectGeoData::m_detMgr
const MuonGM::MuonDetectorManager * m_detMgr
Definition: MuonIntersectGeoData.h:43
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MuonDetectorManager.h
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
Muon::MuonStationIntersect
Definition: MuonStationIntersect.h:12
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:50
Muon::MuonIntersectGeoData::binPlusneighbours
std::vector< Identifier > binPlusneighbours(const Identifier &id) const
Definition: MuonIntersectGeoData.cxx:67
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
Muon::MuonIntersectGeoData::tubesCrossedByTrack
Muon::MuonStationIntersect tubesCrossedByTrack(const Identifier &id, const Amg::Vector3D &pos, const Amg::Vector3D &dir) const
Definition: MuonIntersectGeoData.cxx:53
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition: IMuonIdHelperSvc.h:27
MdtIntersectGeometry.h
CLASS_DEF.h
macros to associate a CLID to a type
Muon::MuonIntersectGeoData::MuonIntersectGeoData
MuonIntersectGeoData()
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
Identifier
Definition: IdentifierFieldParser.cxx:14