ATLAS Offline Software
Loading...
Searching...
No Matches
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
 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
const Amg::Vector3DintersectPosition () const
 intersect position in chamber
const Amg::Vector3DintersectDirection () const
 intersect position in chamber
const Trk::TrackSurfaceIntersectionstationIntersect () const
 reference to the Trk::TrackSurfaceIntersection
const std::vector< const Trk::PrepRawData * > & prepRawDataVec () const
 Access to the vector of associated Trk::PrepRawData.

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:

  • the predicted intersection + direction of the global road with the chamber reference plane
  • a list of PrepRawData objects in the given chamber

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 }
std::vector< const Trk::PrepRawData * > m_rios
Trk::TrackSurfaceIntersection m_intersect
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.

◆ 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(); }
const Trk::TrackSurfaceIntersection & stationIntersect() const
reference to the Trk::TrackSurfaceIntersection
const Amg::Vector3D & direction() const
Method to retrieve the direction at the Intersection.

◆ 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(); }
const Amg::Vector3D & position() const
Method to retrieve the position of the Intersection.

◆ 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: