ATLAS Offline Software
MuonPatternChamberIntersect.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // MuonPatternCombination.h
6 // Header file for class MuonPatternCombination
8 // (c) ATLAS Detector software
10 // nveldik@nikhef.nl
12 
13 #ifndef MUON_MUONPATTERNSTATIONINTERSECT_H
14 #define MUON_MUONPATTERNSTATIONINTERSECT_H
15 
17 //#include "TrkEventPrimitives/GlobalPosition.h"
18 //#include "TrkEventPrimitives/GlobalDirection.h"
22 
23 namespace Trk {
24  class PrepRawData;
25 }
26 
27 #include <vector>
28 
29 namespace Muon {
30 
39  public:
44  MuonPatternChamberIntersect(const Trk::TrackSurfaceIntersection& intersect, const std::vector<const Trk::PrepRawData*>& rios);
45 
50  MuonPatternChamberIntersect(const Amg::Vector3D& pos, const Amg::Vector3D& dir, const std::vector<const Trk::PrepRawData*>& rios);
51 
53  const Amg::Vector3D& intersectPosition() const;
54 
56  const Amg::Vector3D& intersectDirection() const;
57 
60 
62  const std::vector<const Trk::PrepRawData*>& prepRawDataVec() const;
63 
64  private:
65  // Prediction of the extrapolated position and direction of the road in the chamber
67 
68  // vector of PRDs in the chamber
69  std::vector<const Trk::PrepRawData*> m_rios;
70  };
71 
73 
75 
77 
78  inline const std::vector<const Trk::PrepRawData*>& MuonPatternChamberIntersect::prepRawDataVec() const { return m_rios; }
79 
80 } // namespace Muon
81 
82 #endif
SortMuonPrepData.h
Muon::MuonPatternChamberIntersect::m_intersect
Trk::TrackSurfaceIntersection m_intersect
Definition: MuonPatternChamberIntersect.h:66
Muon::MuonPatternChamberIntersect::intersectPosition
const Amg::Vector3D & intersectPosition() const
intersect position in chamber
Definition: MuonPatternChamberIntersect.h:72
Trk::TrackSurfaceIntersection
Definition: TrackSurfaceIntersection.h:32
Muon::MuonPatternChamberIntersect::m_rios
std::vector< const Trk::PrepRawData * > m_rios
Definition: MuonPatternChamberIntersect.h:69
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::MuonPatternChamberIntersect::MuonPatternChamberIntersect
MuonPatternChamberIntersect(const Trk::TrackSurfaceIntersection &intersect, const std::vector< const Trk::PrepRawData * > &rios)
constructor taking a Trk::TrackSurfaceIntersection
Definition: MuonPatternChamberIntersect.cxx:9
GeoPrimitives.h
Muon::MuonPatternChamberIntersect::intersectDirection
const Amg::Vector3D & intersectDirection() const
intersect position in chamber
Definition: MuonPatternChamberIntersect.h:74
Trk::TrackSurfaceIntersection::position
const Amg::Vector3D & position() const
Method to retrieve the position of the Intersection.
Definition: TrackSurfaceIntersection.h:80
Muon::MuonPatternChamberIntersect
This class holds information needed for the Moore and MoMu pattern recognition for a muon chamber.
Definition: MuonPatternChamberIntersect.h:38
beamspotman.dir
string dir
Definition: beamspotman.py:623
Muon::MuonPatternChamberIntersect::prepRawDataVec
const std::vector< const Trk::PrepRawData * > & prepRawDataVec() const
Access to the vector of associated Trk::PrepRawData.
Definition: MuonPatternChamberIntersect.h:78
EventPrimitives.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Trk::TrackSurfaceIntersection::direction
const Amg::Vector3D & direction() const
Method to retrieve the direction at the Intersection.
Definition: TrackSurfaceIntersection.h:88
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
Amg::intersect
std::optional< double > intersect(const AmgVector(N)&posA, const AmgVector(N)&dirA, const AmgVector(N)&posB, const AmgVector(N)&dirB)
Calculates the closest approach of two lines.
Definition: GeoPrimitivesHelpers.h:302
Muon::MuonPatternChamberIntersect::stationIntersect
const Trk::TrackSurfaceIntersection & stationIntersect() const
reference to the Trk::TrackSurfaceIntersection
Definition: MuonPatternChamberIntersect.h:76
TrackSurfaceIntersection.h