ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
Muon::MuonPatternChamberIntersect Class Reference

This class holds information needed for the Moore and MoMu pattern recognition for a muon chamber. More...

#include <MuonPatternChamberIntersect.h>

Collaboration diagram for Muon::MuonPatternChamberIntersect:

Public Member Functions

 MuonPatternChamberIntersect (const Trk::TrackSurfaceIntersection &intersect, const std::vector< const Trk::PrepRawData * > &rios)
 constructor taking a Trk::TrackSurfaceIntersection More...
 
 MuonPatternChamberIntersect (const Amg::Vector3D &pos, const Amg::Vector3D &dir, const std::vector< const Trk::PrepRawData * > &rios)
 constructor taking the global intersect position and direction as input More...
 
const Amg::Vector3DintersectPosition () const
 intersect position in chamber More...
 
const Amg::Vector3DintersectDirection () const
 intersect position in chamber More...
 
const Trk::TrackSurfaceIntersectionstationIntersect () const
 reference to the Trk::TrackSurfaceIntersection More...
 
const std::vector< const Trk::PrepRawData * > & prepRawDataVec () const
 Access to the vector of associated Trk::PrepRawData. More...
 

Private Attributes

Trk::TrackSurfaceIntersection m_intersect
 
std::vector< const Trk::PrepRawData * > m_rios
 

Detailed Description

This class holds information needed for the Moore and MoMu pattern recognition for a muon chamber.

It is designed to pass information of a global road search on PRDs to a segment maker The information includes:

Definition at line 38 of file MuonPatternChamberIntersect.h.

Constructor & Destructor Documentation

◆ MuonPatternChamberIntersect() [1/2]

Muon::MuonPatternChamberIntersect::MuonPatternChamberIntersect ( const Trk::TrackSurfaceIntersection intersect,
const std::vector< const Trk::PrepRawData * > &  rios 
)

constructor taking a Trk::TrackSurfaceIntersection

Parameters
intersectthe intersect of the pattern with the chamber
riosa vector of Trk::PrepRawData objects in the chamber that were associated with the pattern

Definition at line 9 of file MuonPatternChamberIntersect.cxx.

10  :
11  m_intersect(intersect), m_rios(rios) {
12  std::sort(m_rios.begin(), m_rios.end(), SortMuonPrepData());
13  }

◆ MuonPatternChamberIntersect() [2/2]

Muon::MuonPatternChamberIntersect::MuonPatternChamberIntersect ( const Amg::Vector3D pos,
const Amg::Vector3D dir,
const std::vector< const Trk::PrepRawData * > &  rios 
)

constructor taking the global intersect position and direction as input

Parameters
intersectthe intersect of the pattern with the chamber
riosa vector of Trk::PrepRawData objects in the chamber that were associated with the pattern

Definition at line 15 of file MuonPatternChamberIntersect.cxx.

16  :
17  m_intersect(pos, dir, 0.), m_rios(rios) {
18  std::sort(m_rios.begin(), m_rios.end(), SortMuonPrepData());
19  }

Member Function Documentation

◆ intersectDirection()

const Amg::Vector3D & Muon::MuonPatternChamberIntersect::intersectDirection ( ) const
inline

intersect position in chamber

Definition at line 74 of file MuonPatternChamberIntersect.h.

74 { return stationIntersect().direction(); }

◆ intersectPosition()

const Amg::Vector3D & Muon::MuonPatternChamberIntersect::intersectPosition ( ) const
inline

intersect position in chamber

Definition at line 72 of file MuonPatternChamberIntersect.h.

72 { return stationIntersect().position(); }

◆ prepRawDataVec()

const std::vector< const Trk::PrepRawData * > & Muon::MuonPatternChamberIntersect::prepRawDataVec ( ) const
inline

Access to the vector of associated Trk::PrepRawData.

Definition at line 78 of file MuonPatternChamberIntersect.h.

78 { return m_rios; }

◆ stationIntersect()

const Trk::TrackSurfaceIntersection & Muon::MuonPatternChamberIntersect::stationIntersect ( ) const
inline

reference to the Trk::TrackSurfaceIntersection

Definition at line 76 of file MuonPatternChamberIntersect.h.

76 { return m_intersect; }

Member Data Documentation

◆ m_intersect

Trk::TrackSurfaceIntersection Muon::MuonPatternChamberIntersect::m_intersect
private

Definition at line 66 of file MuonPatternChamberIntersect.h.

◆ m_rios

std::vector<const Trk::PrepRawData*> Muon::MuonPatternChamberIntersect::m_rios
private

Definition at line 69 of file MuonPatternChamberIntersect.h.


The documentation for this class was generated from the following files:
Muon::MuonPatternChamberIntersect::m_intersect
Trk::TrackSurfaceIntersection m_intersect
Definition: MuonPatternChamberIntersect.h:66
Muon::MuonPatternChamberIntersect::m_rios
std::vector< const Trk::PrepRawData * > m_rios
Definition: MuonPatternChamberIntersect.h:69
Trk::TrackSurfaceIntersection::position
const Amg::Vector3D & position() const
Method to retrieve the position of the Intersection.
Definition: TrackSurfaceIntersection.h:80
beamspotman.dir
string dir
Definition: beamspotman.py:623
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
std::sort
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
Definition: DVL_algorithms.h:623
Muon::MuonPatternChamberIntersect::stationIntersect
const Trk::TrackSurfaceIntersection & stationIntersect() const
reference to the Trk::TrackSurfaceIntersection
Definition: MuonPatternChamberIntersect.h:76