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

The MuonPatternCombination class provides the means to store the output of the initial global pattern recognition in the muon spectrometer. More...

#include <MuonPatternCombination.h>

Collaboration diagram for Muon::MuonPatternCombination:

Public Member Functions

 MuonPatternCombination (const Trk::TrackParameters *parameter, const std::vector< MuonPatternChamberIntersect > &chamberData)
 constructor taking as argmuents: More...
 
 MuonPatternCombination (const MuonPatternCombination &pat)
 
MuonPatternCombinationoperator= (const MuonPatternCombination &pat)
 
 ~MuonPatternCombination ()
 
const Trk::TrackParameterstrackParameter () const
 access to the global position, direction and if available momentum of the road, the pointer might be zero! More...
 
const std::vector< MuonPatternChamberIntersect > & chamberData () const
 access to the MuonPatternChamberIntersect associated with the MuonPatternCombination More...
 

Private Attributes

const Trk::TrackParametersm_parameter
 Position and direction of the road In addition the track parameter can provides a first estimate of the momentum. More...
 
std::vector< MuonPatternChamberIntersectm_chamberData
 vector of hits per chamber More...
 

Detailed Description

The MuonPatternCombination class provides the means to store the output of the initial global pattern recognition in the muon spectrometer.

The parameters of the road (position, direction, momentum) are stored in form of a TrackParameter. The hits are stored sorted per chambers in form a MuonPatternChamberIntersect objects.

Definition at line 29 of file MuonPatternCombination.h.

Constructor & Destructor Documentation

◆ MuonPatternCombination() [1/2]

Muon::MuonPatternCombination::MuonPatternCombination ( const Trk::TrackParameters parameter,
const std::vector< MuonPatternChamberIntersect > &  chamberData 
)

constructor taking as argmuents:

Parameters
parameterthe road prediction (Trk::TrackParameter), ownership is transfered to the MuonPatternCombination, the user may pass a zero pointer
pata list of associated MuonPatternChamberIntersect objects

Definition at line 25 of file MuonPatternCombination.cxx.

25  {
26  if (this != &pat) {
27  // delete old MuonPatterns

◆ MuonPatternCombination() [2/2]

Muon::MuonPatternCombination::MuonPatternCombination ( const MuonPatternCombination pat)

Definition at line 29 of file MuonPatternCombination.cxx.

29  : nullptr;
30  m_chamberData = pat.m_chamberData;

◆ ~MuonPatternCombination()

Muon::MuonPatternCombination::~MuonPatternCombination ( )

Definition at line 42 of file MuonPatternCombination.cxx.

Member Function Documentation

◆ chamberData()

const std::vector< MuonPatternChamberIntersect > & Muon::MuonPatternCombination::chamberData ( ) const
inline

access to the MuonPatternChamberIntersect associated with the MuonPatternCombination

Definition at line 60 of file MuonPatternCombination.h.

60 { return m_chamberData; }

◆ operator=()

MuonPatternCombination & Muon::MuonPatternCombination::operator= ( const MuonPatternCombination pat)

Definition at line 32 of file MuonPatternCombination.cxx.

35  { delete m_parameter; }
36 
37 } // namespace Muon

◆ trackParameter()

const Trk::TrackParameters * Muon::MuonPatternCombination::trackParameter ( ) const
inline

access to the global position, direction and if available momentum of the road, the pointer might be zero!

Definition at line 58 of file MuonPatternCombination.h.

58 { return m_parameter; }

Member Data Documentation

◆ m_chamberData

std::vector<MuonPatternChamberIntersect> Muon::MuonPatternCombination::m_chamberData
private

vector of hits per chamber

Definition at line 55 of file MuonPatternCombination.h.

◆ m_parameter

const Trk::TrackParameters* Muon::MuonPatternCombination::m_parameter
private

Position and direction of the road In addition the track parameter can provides a first estimate of the momentum.

Definition at line 52 of file MuonPatternCombination.h.


The documentation for this class was generated from the following files:
Muon::MuonPatternCombination::m_chamberData
std::vector< MuonPatternChamberIntersect > m_chamberData
vector of hits per chamber
Definition: MuonPatternCombination.h:55
dso-stats.pat
pat
Definition: dso-stats.py:39
Muon::MuonPatternCombination::m_parameter
const Trk::TrackParameters * m_parameter
Position and direction of the road In addition the track parameter can provides a first estimate of t...
Definition: MuonPatternCombination.h:52