|
ATLAS Offline Software
|
#include <MuonIntersectGeoData.h>
Definition at line 22 of file MuonIntersectGeoData.h.
◆ ~MuonIntersectGeoData()
Muon::MuonIntersectGeoData::~MuonIntersectGeoData |
( |
| ) |
|
|
default |
◆ MuonIntersectGeoData() [1/2]
Muon::MuonIntersectGeoData::MuonIntersectGeoData |
( |
| ) |
|
|
default |
◆ MuonIntersectGeoData() [2/2]
◆ binPlusneighbours()
No CSC chambers -> No Mdt EI Station
Definition at line 67 of file MuonIntersectGeoData.cxx.
68 std::vector<Identifier> chIds;
75 int chEtaLeft = stEta - 1;
76 int chEtaRight = stEta + 1;
79 if (chEtaLeft < stEtaMin) chEtaLeft = -999;
82 if (chEtaRight > stEtaMax) chEtaRight = -999;
94 if (chEtaLeft == 0) chEtaLeft -= 1;
95 if (chEtaRight == 0) chEtaRight += 1;
98 if (chEtaLeft == 0) chEtaLeft = -999;
99 if (chEtaRight == 0) chEtaRight = -999;
110 if (std::abs(chEtaLeft) == 8) chEtaLeft = -999;
111 if (std::abs(chEtaRight) == 8) chEtaRight = -999;
117 if (chEtaLeft != -999 &&
121 if (chEtaRight != -999 &&
◆ detMgr()
◆ getChamber()
get a pointer to the cached chamber
Definition at line 46 of file MuonIntersectGeoData.cxx.
49 if (idHelper.get_detectorElement_hash(idHelper.multilayerID(chId),
hash))
return nullptr;
◆ getStationGeometry()
get geometry description of the given chamber + neighbouring chambers
Definition at line 31 of file MuonIntersectGeoData.cxx.
36 std::vector<std::shared_ptr<const Muon::MdtIntersectGeometry>> stations;
37 stations.reserve(chambers.size());
41 std::shared_ptr<const MdtIntersectGeometry> chamb =
getChamber(chId);
42 if (chamb) stations.push_back(std::move(chamb));
◆ tubesCrossedByTrack()
Definition at line 53 of file MuonIntersectGeoData.cxx.
55 std::vector<std::shared_ptr<const Muon::MdtIntersectGeometry>> stations =
getStationGeometry(
id);
58 for (std::shared_ptr<const Muon::MdtIntersectGeometry>&
it : stations) {
60 tubeIntersects.insert(tubeIntersects.end(),
intersect.tubeIntersects().begin(),
intersect.tubeIntersects().end());
◆ m_dbData
◆ m_detMgr
◆ m_geometry
◆ m_idHelperSvc
The documentation for this class was generated from the following files:
bool validElement(const Identifier &id) const
bool isGood(const Identifier &Id) const
Returns if the identifier (tube/multiLayer/chamber) is masked in the conditions database.
std::vector< std::shared_ptr< MdtIntersectGeometry > > m_geometry
virtual bool hasCSC() const =0
returns whether the CSC identifiers are loaded
size_type detectorElement_hash_max() const
std::vector< std::shared_ptr< const MdtIntersectGeometry > > getStationGeometry(const Identifier &id) const
get geometry description of the given chamber + neighbouring chambers
const MdtCondDbData * m_dbData
int stationName(const Identifier &id) const
std::vector< std::string > intersection(std::vector< std::string > &v1, std::vector< std::string > &v2)
const IMuonIdHelperSvc * m_idHelperSvc
const MdtReadoutElement * getMdtReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
const MuonGM::MuonDetectorManager * detMgr() const
int getMultilayer() const
Returns the multilayer represented by the readout element.
std::pair< int, int > stationEtaMinMax(const Identifier &id) const
virtual MuonStationIndex::ChIndex chamberIndex(const Identifier &id) const =0
calculate chamber index from Identifier
std::shared_ptr< const MdtIntersectGeometry > getChamber(const Identifier &id) const
get a pointer to the cached chamber
int stationPhi(const Identifier &id) const
const MuonGM::MuonDetectorManager * m_detMgr
virtual const MdtIdHelper & mdtIdHelper() const =0
access to MdtIdHelper
bool isBarrel(const Identifier &id) const
int stationEta(const Identifier &id) const
Identifier elementID(int stationName, int stationEta, int stationPhi) const
std::optional< double > intersect(const AmgVector(N)&posA, const AmgVector(N)&dirA, const AmgVector(N)&posB, const AmgVector(N)&dirB)
Calculates the point of closest approach of two lines.
std::vector< Identifier > binPlusneighbours(const Identifier &id) const
Identifier identify() const override final
Returns the ATLAS Identifier of the MuonReadOutElement.
ChIndex
enum to classify the different chamber layers in the muon spectrometer
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
std::vector< MuonTubeIntersect > TubeIntersects