|  | 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()
Definition at line 68 of file MuonIntersectGeoData.cxx.
   69         std::vector<Identifier> chIds;
 
   76         int chEtaLeft = stEta - 1;
 
   77         int chEtaRight = stEta + 1;
 
   82         if (chEtaLeft < stEtaMin) chEtaLeft = -999;
 
   85         if (chEtaRight > stEtaMax) chEtaRight = -999;
 
   87         using namespace MuonStationIndex;
 
   98             if (chEtaLeft == 0) chEtaLeft -= 1;
 
   99             if (chEtaRight == 0) chEtaRight += 1;
 
  102             if (chEtaLeft == 0) chEtaLeft = -999;
 
  103             if (chEtaRight == 0) chEtaRight = -999;
 
  114             if (std::abs(chEtaLeft) == 8) chEtaLeft = -999;
 
  115             if (std::abs(chEtaRight) == 8) chEtaRight = -999;
 
  120             if( std::abs(chEtaLeft) != 5 && std::abs(chEtaLeft) != 4 ) chEtaLeft = -999;
 
  121             if( std::abs(chEtaRight) != 5 && std::abs(chEtaRight) != 4 ) chEtaRight = -999;
 
  124         if (chEtaLeft != -999 &&
 
  128         if (chEtaRight != -999 &&
 
 
 
 
◆ 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.
   56         std::vector<std::shared_ptr<const Muon::MdtIntersectGeometry>> stations = 
getStationGeometry(
id);
 
   59         for (std::shared_ptr<const Muon::MdtIntersectGeometry>& 
it : stations) {
 
   61             tubeIntersects.insert(tubeIntersects.end(), 
intersect.tubeIntersects().begin(), 
intersect.tubeIntersects().end());
 
 
 
 
◆ m_dbData
◆ 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
const std::string & stName(StIndex index)
convert StIndex into a string
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)
ChIndex chIndex(const std::string &index)
convert ChIndex name string to enum
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
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 B' along the line B that's closest to a second line A.
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