ATLAS Offline Software
Loading...
Searching...
No Matches
MuonIntersectGeoData.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONSTATIONINTERSECTCOND_MuonIntersectGeoData_H
5#define MUONSTATIONINTERSECTCOND_MuonIntersectGeoData_H
8
11
16
17class MsgStream;
18class MdtCondDbData;
19
20namespace Muon {
21 class IMuonIdHelperSvc;
23 public:
26 MuonIntersectGeoData(MsgStream& msg, const MuonGM::MuonDetectorManager* detMgr, const IMuonIdHelperSvc* idHelperSvc,
27 const MdtCondDbData* cond_data);
28
30 const Identifier& id, const Amg::Vector3D& pos, const Amg::Vector3D& dir) const;
31
33 std::vector<std::shared_ptr<const MdtIntersectGeometry>> getStationGeometry(const Identifier& id) const;
35 std::shared_ptr<const MdtIntersectGeometry> getChamber(const Identifier& id) const;
36
37 private:
38 std::vector<Identifier> binPlusneighbours(const Identifier& id) const;
39
40 std::vector<std::shared_ptr<MdtIntersectGeometry>> m_geometry{};
42 const MdtCondDbData* m_dbData{nullptr};
43 };
44} // namespace Muon
45
47CONDCONT_DEF(Muon::MuonIntersectGeoData, 85983392);
48#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
std::vector< std::shared_ptr< MdtIntersectGeometry > > m_geometry
std::vector< std::shared_ptr< const MdtIntersectGeometry > > getStationGeometry(const Identifier &id) const
get geometry description of the given chamber + neighbouring chambers
const IMuonIdHelperSvc * m_idHelperSvc
const MdtCondDbData * m_dbData
Muon::MuonStationIntersect tubesCrossedByTrack(const MuonGM::MuonDetectorManager *detMgr, const Identifier &id, const Amg::Vector3D &pos, const Amg::Vector3D &dir) const
std::shared_ptr< const MdtIntersectGeometry > getChamber(const Identifier &id) const
get a pointer to the cached chamber
std::vector< Identifier > binPlusneighbours(const Identifier &id) const
Eigen::Matrix< double, 3, 1 > Vector3D
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MsgStream & msg
Definition testRead.cxx:32