ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
Muon::CompetingMuonClustersOnTrack Class Reference

#include <CompetingMuonClustersOnTrack.h>

Inheritance diagram for Muon::CompetingMuonClustersOnTrack:
Collaboration diagram for Muon::CompetingMuonClustersOnTrack:

Public Types

typedef double AssignmentProb
 Type def of Assignment probability: probability for a certain RIO_OnTrack to be assigned to the track. More...
 

Public Member Functions

 CompetingMuonClustersOnTrack ()
 Default Constructor for POOL. More...
 
 CompetingMuonClustersOnTrack (const CompetingMuonClustersOnTrack &compROT)
 Copy Constructor. More...
 
CompetingMuonClustersOnTrackoperator= (const CompetingMuonClustersOnTrack &compROT)
 Assignment operator. More...
 
CompetingMuonClustersOnTrackoperator= (CompetingMuonClustersOnTrack &&compROT) noexcept
 
 CompetingMuonClustersOnTrack (std::vector< const MuonClusterOnTrack * > &&childrots, std::vector< AssignmentProb > &&assgnProb)
 Constructor with all parameters: PLEASE do not use directly, but call Muon::CompetingMuonClustersOnTrackTool, otherwise inconsistency of the data will be very probable. More...
 
 CompetingMuonClustersOnTrack (Trk::LocalParameters &&locPars, Amg::MatrixX &&error, const Trk::Surface *assSurf, std::vector< const MuonClusterOnTrack * > &&childrots, std::vector< AssignmentProb > &&assgnProb)
 constructor taking the local parameters + error matrix + associated surface directly, instead of using the base-class to recalculate them More...
 
virtual ~CompetingMuonClustersOnTrack ()
 Destructor. More...
 
CompetingMuonClustersOnTrackclone () const
 needed to avoid excessive RTTI More...
 
const Trk::SurfaceassociatedSurface () const
 returns the surface for the local to global transformation . More...
 
const Trk::SurfaceassociatedSurfaceRaw () const
 
const Amg::Vector3DglobalPosition () const
 Interface method to get the global Position. More...
 
unsigned int numberOfContainedROTs () const
 Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack. More...
 
const std::vector< const MuonClusterOnTrack * > & containedROTs () const
 returns the vector of SCT_ClusterOnTrack objects . More...
 
const MuonClusterOnTrackrioOnTrack (unsigned int) const
 returns the RIO_OnTrack (also known as ROT) objects depending on the integer More...
 
MsgStream & dump (MsgStream &out) const
 returns some information about this MeasurementBase/CompetingMuonClustersOnTrack. More...
 
std::ostream & dump (std::ostream &out) const
 returns some information about this MeasurementBase/CompetingMuonClustersOnTrack. More...
 
std::unique_ptr< CompetingRIOsOnTrackuniqueClone () const
 NVI Clone. More...
 
unsigned int indexOfMaxAssignProb () const
 Index of the ROT with the highest assignment probability. More...
 
AssignmentProb assignmentProbability (unsigned int indx) const
 returns the AssignmentProbability depending on the integer. More...
 
virtual void setLocalParametersAndErrorMatrix ()
 recalculate the LocalParameters and ErrorMatrix More...
 
virtual bool type (MeasurementBaseType::Type type) const override final
 Extended method checking the type. More...
 
const LocalParameters & localParameters () const
 Interface method to get the LocalParameters. More...
 
const Amg::MatrixXlocalCovariance () const
 Interface method to get the localError. More...
 
const S * surfacePtr ()
 return the ptr we hold useful for tests More...
 
const S * release () noexcept
 release ala unique_ptr release More...
 
void destroySurface () noexcept
 destroySurface deletes the ptr if not null and the surface has not a associatedDetectorElement Usefull also for testing More...
 

Static Public Member Functions

static const S * cloneHelper (const S *input)
 Helper for cloning or not when we need depending on if we have an associatedDetectorElement. More...
 

Protected Attributes

std::vector< AssignmentProbm_assignProb
 assignment probabilities of the ROTs More...
 
LocalParameters m_localParams
 
Amg::MatrixX m_localCovariance
 
const S * m_associatedSurface = nullptr
 

Private Member Functions

void clearChildRotVector ()
 private method to clear the Trk::RIO_OnTrack vector More...
 
bool ROTsHaveCommonSurface (const bool withNonVanishingAssignProb=true) const
 Have all the contained ROTs a common associated surface? If withNonVanishingAssignProb==true just the ROTs with non-vanishing assignment probabilities are checked. More...
 

Private Attributes

CxxUtils::CachedUniquePtr< const Amg::Vector3Dm_globalPosition
 The global Position. More...
 
std::vector< const MuonClusterOnTrack * > m_containedChildRots
 The vector of contained Muon::MuonClusterOnTrack objects. More...
 

Friends

class CompetingMuonClustersOnTrackTool
 Muon::CompetingMuonClustersOnTrackTool is a friend to allow for updates of the assignment probabilities. More...
 

Detailed Description

Class for competing MuonClusters, it extends the Trk::CompetingRIOsOnTrack base class.

This class is used for two use cases:

Author
Niels van Eldik

Definition at line 51 of file CompetingMuonClustersOnTrack.h.

Member Typedef Documentation

◆ AssignmentProb

Type def of Assignment probability: probability for a certain RIO_OnTrack to be assigned to the track.

Definition at line 69 of file CompetingRIOsOnTrack.h.

Constructor & Destructor Documentation

◆ CompetingMuonClustersOnTrack() [1/4]

Muon::CompetingMuonClustersOnTrack::CompetingMuonClustersOnTrack ( )

Default Constructor for POOL.

Definition at line 18 of file CompetingMuonClustersOnTrack.cxx.

◆ CompetingMuonClustersOnTrack() [2/4]

Muon::CompetingMuonClustersOnTrack::CompetingMuonClustersOnTrack ( const CompetingMuonClustersOnTrack compROT)

Copy Constructor.

Definition at line 27 of file CompetingMuonClustersOnTrack.cxx.

29  : Trk::CompetingRIOsOnTrack(compROT)
33 {
34  if (compROT.m_globalPosition) {
35  m_globalPosition.store(
36  std::make_unique<const Amg::Vector3D>(*compROT.m_globalPosition));
37  }
38 
39  std::vector<const MuonClusterOnTrack*>::const_iterator rotIter =
40  compROT.m_containedChildRots.begin();
41 
42  for (; rotIter != compROT.m_containedChildRots.end(); ++rotIter) {
43  m_containedChildRots.push_back((*rotIter)->clone());
44  }
45 }

◆ CompetingMuonClustersOnTrack() [3/4]

Muon::CompetingMuonClustersOnTrack::CompetingMuonClustersOnTrack ( std::vector< const MuonClusterOnTrack * > &&  childrots,
std::vector< AssignmentProb > &&  assgnProb 
)

Constructor with all parameters: PLEASE do not use directly, but call Muon::CompetingMuonClustersOnTrackTool, otherwise inconsistency of the data will be very probable.

Definition at line 48 of file CompetingMuonClustersOnTrack.cxx.

51  : Trk::CompetingRIOsOnTrack(std::move(assgnProb))
54  , m_containedChildRots(std::move(childrots))
55 {
57 }

◆ CompetingMuonClustersOnTrack() [4/4]

Muon::CompetingMuonClustersOnTrack::CompetingMuonClustersOnTrack ( Trk::LocalParameters &&  locPars,
Amg::MatrixX &&  error,
const Trk::Surface assSurf,
std::vector< const MuonClusterOnTrack * > &&  childrots,
std::vector< AssignmentProb > &&  assgnProb 
)

constructor taking the local parameters + error matrix + associated surface directly, instead of using the base-class to recalculate them

Parameters
locParsthe Trk::LocalParameters of the new CompetingMuonClustersOnTrack
errorthe Amg::MatrixX of the new CompetingMuonClustersOnTrack
assSurfthe surface at which the local parameters and erro are expressed
childrotsa vector of MuonClusterOnTrack objects that form the CompetingMuonClustersOnTrack
assgnProba vector with the assignment probabilities for each of the child ROTs

Definition at line 59 of file CompetingMuonClustersOnTrack.cxx.

65  : Trk::CompetingRIOsOnTrack(std::move(assgnProb))
68  , m_containedChildRots(std::move(childrots))
69 {
70  Trk::MeasurementBase::m_localParams = std::move(locPars);
72 }

◆ ~CompetingMuonClustersOnTrack()

Muon::CompetingMuonClustersOnTrack::~CompetingMuonClustersOnTrack ( )
virtual

Destructor.

Definition at line 116 of file CompetingMuonClustersOnTrack.cxx.

117 {
119 }

Member Function Documentation

◆ assignmentProbability()

CompetingRIOsOnTrack::AssignmentProb Trk::CompetingRIOsOnTrack::assignmentProbability ( unsigned int  indx) const
inlineinherited

returns the AssignmentProbability depending on the integer.

  • extends MeasurementBase

Definition at line 139 of file CompetingRIOsOnTrack.h.

140 {
141  assert(indx < numberOfContainedROTs());
142  if (indx < numberOfContainedROTs()) {
143  return m_assignProb[indx];
144  }
145  return 0; // could consider throwing an exception here - EJWM
146 }

◆ associatedSurface()

const Trk::Surface & Muon::CompetingMuonClustersOnTrack::associatedSurface ( ) const
inlinevirtual

returns the surface for the local to global transformation .

  • interface from MeasurementBase

Implements Trk::MeasurementBase.

Definition at line 162 of file CompetingMuonClustersOnTrack.h.

163 {
164  if (m_associatedSurface) {
165  return *m_associatedSurface;
166  }
167  return (
168  (*(std::as_const(m_containedChildRots).begin()))->associatedSurface());
169 }

◆ associatedSurfaceRaw()

const Trk::Surface * Muon::CompetingMuonClustersOnTrack::associatedSurfaceRaw ( ) const
inline

Definition at line 172 of file CompetingMuonClustersOnTrack.h.

173 {
174  return m_associatedSurface;
175 }

◆ clearChildRotVector()

void Muon::CompetingMuonClustersOnTrack::clearChildRotVector ( )
private

private method to clear the Trk::RIO_OnTrack vector

Definition at line 122 of file CompetingMuonClustersOnTrack.cxx.

123 {
124  for (const MuonClusterOnTrack* cl : m_containedChildRots) {
125  delete cl;
126  }
127 }

◆ clone()

CompetingMuonClustersOnTrack * Muon::CompetingMuonClustersOnTrack::clone ( ) const
inlinevirtual

needed to avoid excessive RTTI

Implements Trk::CompetingRIOsOnTrack.

Definition at line 156 of file CompetingMuonClustersOnTrack.h.

157 {
158  return new CompetingMuonClustersOnTrack(*this);
159 }

◆ cloneHelper()

template<typename S >
static const S* Trk::SurfacePtrHolderImplDetEl< S >::cloneHelper ( const S *  input)
inlinestaticinherited

Helper for cloning or not when we need depending on if we have an associatedDetectorElement.

Definition at line 236 of file SurfaceHolderImpl.h.

237  {
238  return (input && input->associatedDetectorElement() == nullptr
239  ? input->clone()
240  : input);
241  }

◆ containedROTs()

const std::vector< const MuonClusterOnTrack * > & Muon::CompetingMuonClustersOnTrack::containedROTs ( ) const
inline

returns the vector of SCT_ClusterOnTrack objects .

Definition at line 184 of file CompetingMuonClustersOnTrack.h.

185 {
186  return m_containedChildRots;
187 }

◆ destroySurface()

template<typename S >
void Trk::SurfacePtrHolderImplDetEl< S >::destroySurface ( )
inlinenoexceptinherited

destroySurface deletes the ptr if not null and the surface has not a associatedDetectorElement Usefull also for testing

Definition at line 224 of file SurfaceHolderImpl.h.

225  {
226  if (m_associatedSurface &&
227  m_associatedSurface->associatedDetectorElement() == nullptr) {
228  delete m_associatedSurface;
229  }
230  //
231  m_associatedSurface = nullptr;
232  }

◆ dump() [1/2]

MsgStream & Muon::CompetingMuonClustersOnTrack::dump ( MsgStream &  out) const
virtual

returns some information about this MeasurementBase/CompetingMuonClustersOnTrack.

Reimplemented from Trk::CompetingRIOsOnTrack.

Definition at line 130 of file CompetingMuonClustersOnTrack.cxx.

131 {
132  out << "Muon::CompetingMuonClustersOnTrack (Muon competingROTs) "
133  << std::endl;
134  out << " - it contains : " << m_containedChildRots.size()
135  << " RIO_OnTrack objects" << std::endl;
136  out << " - parameters : " << std::endl;
137  out << " - parameter key : " << std::endl;
138  return out;
139 }

◆ dump() [2/2]

std::ostream & Muon::CompetingMuonClustersOnTrack::dump ( std::ostream &  out) const
virtual

returns some information about this MeasurementBase/CompetingMuonClustersOnTrack.

Reimplemented from Trk::CompetingRIOsOnTrack.

Definition at line 142 of file CompetingMuonClustersOnTrack.cxx.

143 {
144  out << "Muon::CompetingMuonClustersOnTrack (Muon competingROTs) "
145  << std::endl;
146  out << " - it contains : " << m_containedChildRots.size()
147  << " RIO_OnTrack objects" << std::endl;
148  out << " - it contains : " << numberOfContainedROTs()
149  << " RIO_OnTrack objects" << std::endl;
150  out << " - parameters : " << std::endl;
151  out << " - parameter key : " << std::endl;
152  return out;
153 }

◆ globalPosition()

const Amg::Vector3D & Muon::CompetingMuonClustersOnTrack::globalPosition ( ) const
inlinevirtual

Interface method to get the global Position.

  • interface from MeasurementBase

Implements Trk::MeasurementBase.

Definition at line 196 of file CompetingMuonClustersOnTrack.h.

197 {
198  if (not m_globalPosition) {
199  m_globalPosition.set(std::make_unique<const Amg::Vector3D>(
200  associatedSurface().localToGlobal(localParameters())));
201  }
202  return (*m_globalPosition);
203 }

◆ indexOfMaxAssignProb()

unsigned int Trk::CompetingRIOsOnTrack::indexOfMaxAssignProb ( ) const
inherited

Index of the ROT with the highest assignment probability.

  • extends MeasurementBase

Definition at line 101 of file CompetingRIOsOnTrack.cxx.

102 {
103  unsigned int index = 0;
104  double maxAssgnProb = 0;
105  for (unsigned int i = 0; i < numberOfContainedROTs(); i++) {
106  if (m_assignProb[i] >= maxAssgnProb) {
107  index = i;
108  maxAssgnProb = m_assignProb[i];
109  }
110  }
111  return index;
112 }

◆ localCovariance()

const Amg::MatrixX & Trk::MeasurementBase::localCovariance ( ) const
inlineinherited

Interface method to get the localError.

Definition at line 138 of file MeasurementBase.h.

139 {
140  return m_localCovariance;
141 }

◆ localParameters()

const Trk::LocalParameters & Trk::MeasurementBase::localParameters ( ) const
inlineinherited

Interface method to get the LocalParameters.

Definition at line 132 of file MeasurementBase.h.

133 {
134  return m_localParams;
135 }

◆ numberOfContainedROTs()

unsigned int Muon::CompetingMuonClustersOnTrack::numberOfContainedROTs ( ) const
inlinevirtual

Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.

Implements Trk::CompetingRIOsOnTrack.

Definition at line 178 of file CompetingMuonClustersOnTrack.h.

179 {
180  return m_containedChildRots.size();
181 }

◆ operator=() [1/2]

CompetingMuonClustersOnTrack & Muon::CompetingMuonClustersOnTrack::operator= ( CompetingMuonClustersOnTrack &&  compROT)
noexcept

Definition at line 102 of file CompetingMuonClustersOnTrack.cxx.

104 {
105  if (this != &compROT) {
106  Trk::CompetingRIOsOnTrack::operator=(std::move(compROT));
107  Trk::SurfacePtrHolderDetEl::operator=(std::move(compROT));
109  m_containedChildRots.clear();
110  m_containedChildRots = std::move(compROT.m_containedChildRots);
111  m_globalPosition = std::move(compROT.m_globalPosition);
112  }
113  return (*this);
114 }

◆ operator=() [2/2]

CompetingMuonClustersOnTrack & Muon::CompetingMuonClustersOnTrack::operator= ( const CompetingMuonClustersOnTrack compROT)

Assignment operator.

Definition at line 75 of file CompetingMuonClustersOnTrack.cxx.

77 {
78  if (this != &compROT) {
79  // assingment operator of base class
82  // clear rots
84  m_containedChildRots.clear();
85  std::vector<const MuonClusterOnTrack*>::const_iterator rotIter =
86  compROT.m_containedChildRots.begin();
87 
88  for (; rotIter != compROT.m_containedChildRots.end(); ++rotIter) {
89  m_containedChildRots.push_back((*rotIter)->clone());
90  }
91  if (compROT.m_globalPosition) {
92  m_globalPosition.store(
93  std::make_unique<const Amg::Vector3D>(*compROT.m_globalPosition));
94  } else if (m_globalPosition) {
95  m_globalPosition.release().reset();
96  }
97  }
98  return (*this);
99 }

◆ release()

template<typename S >
const S* Trk::SurfacePtrHolderImplDetEl< S >::release ( )
inlinenoexceptinherited

release ala unique_ptr release

Definition at line 215 of file SurfaceHolderImpl.h.

216  {
217  const S* tmp = m_associatedSurface;
218  m_associatedSurface = nullptr;
219  return tmp;
220  }

◆ rioOnTrack()

const MuonClusterOnTrack & Muon::CompetingMuonClustersOnTrack::rioOnTrack ( unsigned int  indx) const
inlinevirtual

returns the RIO_OnTrack (also known as ROT) objects depending on the integer

Implements Trk::CompetingRIOsOnTrack.

Definition at line 190 of file CompetingMuonClustersOnTrack.h.

191 {
192  return *std::as_const(m_containedChildRots)[indx];
193 }

◆ ROTsHaveCommonSurface()

bool Muon::CompetingMuonClustersOnTrack::ROTsHaveCommonSurface ( const bool  withNonVanishingAssignProb = true) const
privatevirtual

Have all the contained ROTs a common associated surface? If withNonVanishingAssignProb==true just the ROTs with non-vanishing assignment probabilities are checked.

  • interface from CompetingRIOsOnTrack

Implements Trk::CompetingRIOsOnTrack.

Definition at line 157 of file CompetingMuonClustersOnTrack.cxx.

158 {
159  return true;
160 }

◆ setLocalParametersAndErrorMatrix()

void Trk::CompetingRIOsOnTrack::setLocalParametersAndErrorMatrix ( )
virtualinherited

recalculate the LocalParameters and ErrorMatrix

Reimplemented in InDet::CompetingTRT_DriftCirclesOnTrack, and InDet::CompetingSCT_ClustersOnTrack.

Definition at line 34 of file CompetingRIOsOnTrack.cxx.

35 {
36 
37  if (ROTsHaveCommonSurface()) {
38  // std::cout << "CompROT - weight matrices: " << std::endl;
39  // std::cout << "CompROT - [1] " << rioOnTrack(0).localCovariance() << std::endl;
40  Amg::MatrixX meanWeightMatrix =
42  for (unsigned int i = 1; i < numberOfContainedROTs(); i++) {
43  meanWeightMatrix += assignmentProbability(i) * rioOnTrack(i).localCovariance().inverse();
44  // std::cout << "CompROT - ["<< i << "] " << rioOnTrack(i).localCovariance() <<
45  // std::endl;
46  }
47  // limit weight values against values too close to 0, otherwise inversion will fail!
48  if (meanWeightMatrix.trace() <= 1.0e-15) {
49  meanWeightMatrix = Amg::MatrixX(rioOnTrack(0).localCovariance().rows(),
51  meanWeightMatrix.setZero();
52  for (int i = 0; i < meanWeightMatrix.cols(); ++i) {
53  meanWeightMatrix(i, i) = 1.0e-10;
54  }
55  }
56  // std::cout << "CompROT - mean weight: " << meanWeightMatrix << std::endl;
57  m_localCovariance = meanWeightMatrix.inverse();
58  // std::cout << "CompROT - mean covariance: " << localCovariance() << std::endl;
59 
60  if (numberOfContainedROTs() == 1) {
62  } else {
64  Amg::VectorX meanParams =
66  for (unsigned int i = 1; i < numberOfContainedROTs(); i++) {
67  weight = rioOnTrack(i).localCovariance().inverse();
68  meanParams =
70  }
71  // std::cout << "CompROT - sum params: " << meanParams << std::endl;
72  meanParams = localCovariance() * meanParams;
73  // std::cout << "CompROT - mean params: " << meanParams << std::endl;
74  int paramKey = rioOnTrack(0).localParameters().parameterKey();
75  if (paramKey == 1) {
76  Trk::DefinedParameter Par1(meanParams[Trk::loc1], Trk::loc1);
78  } else if (paramKey == 3) {
79  Trk::DefinedParameter Par1(meanParams[Trk::loc1], Trk::loc1);
80  Trk::DefinedParameter Par2(meanParams[Trk::loc2], Trk::loc2);
81  m_localParams = Trk::LocalParameters(Par1, Par2);
82  } else {
83  std::cout << "Trk::CompetingRIOsOnTrack: can not handle parameter key " << paramKey
84  << std::endl;
85  }
86  }
87  } else {
88  // --------------------------------------------------
89  // Warning: effective localParams cannot be calculated when ROTs don't lie on the
90  // associated surface without detector specific knowledge.
91  // --------------------------------------------------
92  // return 0;
93  std::cout
94  << "Trk::CompetingRIOsOnTrack: can not handle ROTs in different surfaces without "
95  "detector specific knowledge "
96  << std::endl;
97  }
98 }

◆ surfacePtr()

template<typename S >
const S* Trk::SurfacePtrHolderImplDetEl< S >::surfacePtr ( )
inlineinherited

return the ptr we hold useful for tests

Definition at line 213 of file SurfaceHolderImpl.h.

213 { return m_associatedSurface; }

◆ type()

virtual bool Trk::CompetingRIOsOnTrack::type ( MeasurementBaseType::Type  type) const
inlinefinaloverridevirtualinherited

Extended method checking the type.

Implements Trk::MeasurementBase.

Definition at line 116 of file CompetingRIOsOnTrack.h.

117  {
119  }

◆ uniqueClone()

std::unique_ptr<CompetingRIOsOnTrack> Trk::CompetingRIOsOnTrack::uniqueClone ( ) const
inlineinherited

NVI Clone.

Definition at line 88 of file CompetingRIOsOnTrack.h.

89  {
90  return std::unique_ptr<CompetingRIOsOnTrack>(clone());
91  }

Friends And Related Function Documentation

◆ CompetingMuonClustersOnTrackTool

friend class CompetingMuonClustersOnTrackTool
friend

Muon::CompetingMuonClustersOnTrackTool is a friend to allow for updates of the assignment probabilities.

Definition at line 59 of file CompetingMuonClustersOnTrack.h.

Member Data Documentation

◆ m_assignProb

std::vector<AssignmentProb> Trk::CompetingRIOsOnTrack::m_assignProb
protectedinherited

assignment probabilities of the ROTs

Definition at line 125 of file CompetingRIOsOnTrack.h.

◆ m_associatedSurface

template<typename S >
const S* Trk::SurfacePtrHolderImplDetEl< S >::m_associatedSurface = nullptr
protectedinherited

Definition at line 244 of file SurfaceHolderImpl.h.

◆ m_containedChildRots

std::vector<const MuonClusterOnTrack*> Muon::CompetingMuonClustersOnTrack::m_containedChildRots
private

The vector of contained Muon::MuonClusterOnTrack objects.

Definition at line 144 of file CompetingMuonClustersOnTrack.h.

◆ m_globalPosition

CxxUtils::CachedUniquePtr<const Amg::Vector3D> Muon::CompetingMuonClustersOnTrack::m_globalPosition
private

The global Position.

Definition at line 141 of file CompetingMuonClustersOnTrack.h.

◆ m_localCovariance

Amg::MatrixX Trk::MeasurementBase::m_localCovariance
protectedinherited

Definition at line 112 of file MeasurementBase.h.

◆ m_localParams

LocalParameters Trk::MeasurementBase::m_localParams
protectedinherited

Definition at line 111 of file MeasurementBase.h.


The documentation for this class was generated from the following files:
Trk::LocalParameters
Definition: LocalParameters.h:98
Amg::VectorX
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
Definition: EventPrimitives.h:30
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
Trk::SurfacePtrHolderImplDetEl::operator=
SurfacePtrHolderImplDetEl & operator=(const SurfacePtrHolderImplDetEl &other)
copy assingmemnt if surface is free we clone/copy.
Definition: SurfaceHolderImpl.h:192
Trk::LocalParameters::parameterKey
int parameterKey() const
Identifier key for matrix expansion/reduction.
Muon::CompetingMuonClustersOnTrack::m_containedChildRots
std::vector< const MuonClusterOnTrack * > m_containedChildRots
The vector of contained Muon::MuonClusterOnTrack objects.
Definition: CompetingMuonClustersOnTrack.h:144
index
Definition: index.py:1
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Trk::SurfacePtrHolderDetEl
Trk::SurfacePtrHolderImplDetEl< Surface > SurfacePtrHolderDetEl
Definition: SurfaceHolders.h:36
Trk::loc2
@ loc2
generic first and second local coordinate
Definition: ParamDefs.h:35
Trk::CompetingRIOsOnTrack::type
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
Definition: CompetingRIOsOnTrack.h:116
Muon::CompetingMuonClustersOnTrack::clearChildRotVector
void clearChildRotVector()
private method to clear the Trk::RIO_OnTrack vector
Definition: CompetingMuonClustersOnTrack.cxx:122
Trk::CompetingRIOsOnTrack::setLocalParametersAndErrorMatrix
virtual void setLocalParametersAndErrorMatrix()
recalculate the LocalParameters and ErrorMatrix
Definition: CompetingRIOsOnTrack.cxx:34
JetTiledMap::S
@ S
Definition: TiledEtaPhiMap.h:44
Trk::SurfacePtrHolderImplDetEl::m_associatedSurface
const S * m_associatedSurface
Definition: SurfaceHolderImpl.h:244
Trk::DefinedParameter
std::pair< double, ParamDefs > DefinedParameter
Definition: DefinedParameter.h:27
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
Trk::CompetingRIOsOnTrack::rioOnTrack
virtual const RIO_OnTrack & rioOnTrack(unsigned int) const =0
returns the RIO_OnTrack (also known as ROT) objects depending on the integer.
beamspotnt.cols
list cols
Definition: bin/beamspotnt.py:1114
Trk::CompetingRIOsOnTrack::operator=
CompetingRIOsOnTrack & operator=(const CompetingRIOsOnTrack &compROT)=default
Assignment operator.
Trk::CompetingRIOsOnTrack::numberOfContainedROTs
virtual unsigned int numberOfContainedROTs() const =0
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
lumiFormat.i
int i
Definition: lumiFormat.py:85
Trk::MeasurementBaseType::CompetingRIOsOnTrack
@ CompetingRIOsOnTrack
Definition: MeasurementBase.h:50
Muon::CompetingMuonClustersOnTrack::associatedSurface
const Trk::Surface & associatedSurface() const
returns the surface for the local to global transformation .
Definition: CompetingMuonClustersOnTrack.h:162
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
Trk::CompetingRIOsOnTrack::m_assignProb
std::vector< AssignmentProb > m_assignProb
assignment probabilities of the ROTs
Definition: CompetingRIOsOnTrack.h:125
beamspotnt.rows
list rows
Definition: bin/beamspotnt.py:1112
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
Trk::MeasurementBase::m_localParams
LocalParameters m_localParams
Definition: MeasurementBase.h:111
Trk::MeasurementBase::localCovariance
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
Definition: MeasurementBase.h:138
Muon::CompetingMuonClustersOnTrack::numberOfContainedROTs
unsigned int numberOfContainedROTs() const
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
Definition: CompetingMuonClustersOnTrack.h:178
Trk::CompetingRIOsOnTrack::clone
virtual CompetingRIOsOnTrack * clone() const override=0
Pseudo-constructor: needed to avoid excessive RTTI.
Trk::CompetingRIOsOnTrack::ROTsHaveCommonSurface
virtual bool ROTsHaveCommonSurface(const bool withNonVanishingAssignProb=true) const =0
query if all the contained ROTs have a common associated surface.
Trk::MeasurementBase::localParameters
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
Definition: MeasurementBase.h:132
Trk::MeasurementBase::m_localCovariance
Amg::MatrixX m_localCovariance
Definition: MeasurementBase.h:112
DeMoScan.index
string index
Definition: DeMoScan.py:364
Muon::CompetingMuonClustersOnTrack::CompetingMuonClustersOnTrack
CompetingMuonClustersOnTrack()
Default Constructor for POOL.
Definition: CompetingMuonClustersOnTrack.cxx:18
Muon::CompetingMuonClustersOnTrack::m_globalPosition
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalPosition
The global Position.
Definition: CompetingMuonClustersOnTrack.h:141
Trk::loc1
@ loc1
Definition: ParamDefs.h:34
error
Definition: IImpactPoint3dEstimator.h:70
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26
Trk::CompetingRIOsOnTrack::assignmentProbability
AssignmentProb assignmentProbability(unsigned int indx) const
returns the AssignmentProbability depending on the integer.
Definition: CompetingRIOsOnTrack.h:139