ATLAS Offline Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
Muon::IMuonPatternCalibration::ROTRegion Struct Reference

#include <IMuonPatternCalibration.h>

Collaboration diagram for Muon::IMuonPatternCalibration::ROTRegion:

Public Member Functions

const ClusterVecclusters () const
 
const MdtVecVecmdts () const
 
void push_back (std::unique_ptr< const MuonClusterOnTrack > cl)
 
void push_back (MdtVec &&vec)
 

Public Attributes

int regionId {0}
 
Amg::Vector3D regionPos {Amg::Vector3D::Zero()}
 
Amg::Vector3D regionDir {Amg::Vector3D::Zero()}
 

Private Attributes

ClusterVec m_clusters {}
 
MdtVecVec m_mdts {}
 
std::vector< std::unique_ptr< const Trk::MeasurementBase > > m_garbage {}
 

Detailed Description

Definition at line 30 of file IMuonPatternCalibration.h.

Member Function Documentation

◆ clusters()

const ClusterVec& Muon::IMuonPatternCalibration::ROTRegion::clusters ( ) const
inline

Definition at line 35 of file IMuonPatternCalibration.h.

35 {return m_clusters;}

◆ mdts()

const MdtVecVec& Muon::IMuonPatternCalibration::ROTRegion::mdts ( ) const
inline

Definition at line 36 of file IMuonPatternCalibration.h.

36 {return m_mdts;}

◆ push_back() [1/2]

void Muon::IMuonPatternCalibration::ROTRegion::push_back ( MdtVec &&  vec)
inline

Definition at line 43 of file IMuonPatternCalibration.h.

43  {
44  std::transform(vec.begin(), vec.end(),std::back_inserter(m_garbage),
45  [](const MdtDriftCircleOnTrack* mdt) {return std::unique_ptr<const Trk::MeasurementBase>{mdt};
46  });
47  m_mdts.push_back(std::move(vec));
48  }

◆ push_back() [2/2]

void Muon::IMuonPatternCalibration::ROTRegion::push_back ( std::unique_ptr< const MuonClusterOnTrack cl)
inline

Definition at line 38 of file IMuonPatternCalibration.h.

38  {
39  // cppcheck-suppress danglingLifetime
40  m_clusters.push_back(cl.get());
41  m_garbage.push_back(std::move(cl));
42  }

Member Data Documentation

◆ m_clusters

ClusterVec Muon::IMuonPatternCalibration::ROTRegion::m_clusters {}
private

Definition at line 50 of file IMuonPatternCalibration.h.

◆ m_garbage

std::vector<std::unique_ptr<const Trk::MeasurementBase> > Muon::IMuonPatternCalibration::ROTRegion::m_garbage {}
private

Definition at line 52 of file IMuonPatternCalibration.h.

◆ m_mdts

MdtVecVec Muon::IMuonPatternCalibration::ROTRegion::m_mdts {}
private

Definition at line 51 of file IMuonPatternCalibration.h.

◆ regionDir

Amg::Vector3D Muon::IMuonPatternCalibration::ROTRegion::regionDir {Amg::Vector3D::Zero()}

Definition at line 33 of file IMuonPatternCalibration.h.

◆ regionId

int Muon::IMuonPatternCalibration::ROTRegion::regionId {0}

Definition at line 31 of file IMuonPatternCalibration.h.

◆ regionPos

Amg::Vector3D Muon::IMuonPatternCalibration::ROTRegion::regionPos {Amg::Vector3D::Zero()}

Definition at line 32 of file IMuonPatternCalibration.h.


The documentation for this struct was generated from the following file:
Muon::IMuonPatternCalibration::ROTRegion::m_clusters
ClusterVec m_clusters
Definition: IMuonPatternCalibration.h:50
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
Muon::IMuonPatternCalibration::ROTRegion::m_garbage
std::vector< std::unique_ptr< const Trk::MeasurementBase > > m_garbage
Definition: IMuonPatternCalibration.h:52
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26
Muon::IMuonPatternCalibration::ROTRegion::m_mdts
MdtVecVec m_mdts
Definition: IMuonPatternCalibration.h:51