ATLAS Offline Software
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
InDet::CompetingSCT_ClustersOnTrack Class Reference

#include <CompetingSCT_ClustersOnTrack.h>

Inheritance diagram for InDet::CompetingSCT_ClustersOnTrack:
Collaboration diagram for InDet::CompetingSCT_ClustersOnTrack:

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

 CompetingSCT_ClustersOnTrack ()
 Default Constructor for POOL. More...
 
 CompetingSCT_ClustersOnTrack (const CompetingSCT_ClustersOnTrack &compROT)
 Copy Constructor. More...
 
CompetingSCT_ClustersOnTrackoperator= (const CompetingSCT_ClustersOnTrack &compROT)
 Assignment operator. More...
 
CompetingSCT_ClustersOnTrackoperator= (CompetingSCT_ClustersOnTrack &&compROT) noexcept
 Default move assignment operator. More...
 
 CompetingSCT_ClustersOnTrack (std::vector< const InDet::SCT_ClusterOnTrack * > &&childrots, std::vector< AssignmentProb > &&assgnProb)
 Constructor with all parameters: PLEASE do not use directly, but call InDet::CompetingSCT_ClustersOnTrackTool, otherwise inconsistency of the data will be very probable. More...
 
virtual ~CompetingSCT_ClustersOnTrack ()
 Destructor. More...
 
CompetingSCT_ClustersOnTrackclone () const
 needed to avoid excessive RTTI More...
 
const Trk::SurfaceassociatedSurface () const
 returns the surface for the local to global transformation . More...
 
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 InDet::SCT_ClusterOnTrack * > & containedROTs () const
 returns the vector of SCT_ClusterOnTrack objects . More...
 
const InDet::SCT_ClusterOnTrackrioOnTrack (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/CompetingSCT_ClustersOnTrack. More...
 
std::ostream & dump (std::ostream &out) const
 returns some information about this MeasurementBase/CompetingSCT_ClustersOnTrack. More...
 
virtual void setLocalParametersAndErrorMatrix ()
 recalculate the LocalParameters and ErrorMatrix 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 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...
 

Protected Attributes

std::vector< AssignmentProbm_assignProb
 assignment probabilities of the ROTs More...
 
LocalParameters m_localParams
 
Amg::MatrixX m_localCovariance
 

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 InDet::SCT_ClusterOnTrack * > m_containedChildRots
 The vector of contained InDet::SCT_ClusterOnTrack objects. More...
 

Friends

class CompetingSCT_ClustersOnTrackTool
 InDet::CompetingSCT_ClustersOnTrackTool is a friend to allow for updates of the assignment probabilities. More...
 

Detailed Description

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

This class is used by the Deterministic Annealing Filter to handle several SCT_ClusterOnTrack in one detector element, which compete against each other in being assigned to a track. In contrast to the InDet::CompetingTRT_DriftCirclesOnTrack all competing measurements of the InDet::CompetingSCT_ClustersOnTrack have to be on the same detector element (i.e. have a common associated surface). localParameters() and localErrorMatrix() return the mean values according to the weights (assignment probabilities).

Author
Sebas.nosp@m.tian.nosp@m..Flei.nosp@m.schm.nosp@m.ann@c.nosp@m.ern..nosp@m.ch

Definition at line 44 of file CompetingSCT_ClustersOnTrack.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

◆ CompetingSCT_ClustersOnTrack() [1/3]

InDet::CompetingSCT_ClustersOnTrack::CompetingSCT_ClustersOnTrack ( )

Default Constructor for POOL.

Definition at line 19 of file CompetingSCT_ClustersOnTrack.cxx.

22 //
23 {
24 }

◆ CompetingSCT_ClustersOnTrack() [2/3]

InDet::CompetingSCT_ClustersOnTrack::CompetingSCT_ClustersOnTrack ( const CompetingSCT_ClustersOnTrack compROT)

Copy Constructor.

Definition at line 27 of file CompetingSCT_ClustersOnTrack.cxx.

29  : Trk::CompetingRIOsOnTrack(compROT)
31 {
32  for (const InDet::SCT_ClusterOnTrack* rot : compROT.m_containedChildRots) {
33  m_containedChildRots.push_back(rot->clone());
34  }
35  if (compROT.m_globalPosition) {
36  m_globalPosition.store(std::make_unique<const Amg::Vector3D>(*compROT.m_globalPosition));
37  }
38 }

◆ CompetingSCT_ClustersOnTrack() [3/3]

InDet::CompetingSCT_ClustersOnTrack::CompetingSCT_ClustersOnTrack ( std::vector< const InDet::SCT_ClusterOnTrack * > &&  childrots,
std::vector< AssignmentProb > &&  assgnProb 
)

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

Definition at line 41 of file CompetingSCT_ClustersOnTrack.cxx.

46  : Trk::CompetingRIOsOnTrack(std::move(assgnProb))
48  , m_containedChildRots(std::move(childrots))
49 {
50  // initialize local position and error matrix
52 }

◆ ~CompetingSCT_ClustersOnTrack()

InDet::CompetingSCT_ClustersOnTrack::~CompetingSCT_ClustersOnTrack ( )
virtual

Destructor.

Definition at line 93 of file CompetingSCT_ClustersOnTrack.cxx.

94 {
96 }

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 & InDet::CompetingSCT_ClustersOnTrack::associatedSurface ( ) const
inlinevirtual

returns the surface for the local to global transformation .

  • interface from MeasurementBase

Implements Trk::MeasurementBase.

Definition at line 127 of file CompetingSCT_ClustersOnTrack.h.

128 {
129  return ((*(m_containedChildRots.begin()))->associatedSurface());
130 }

◆ clearChildRotVector()

void InDet::CompetingSCT_ClustersOnTrack::clearChildRotVector ( )
private

private method to clear the Trk::RIO_OnTrack vector

Definition at line 99 of file CompetingSCT_ClustersOnTrack.cxx.

100 {
102  delete rot;
103 }

◆ clone()

CompetingSCT_ClustersOnTrack * InDet::CompetingSCT_ClustersOnTrack::clone ( ) const
inlinevirtual

needed to avoid excessive RTTI

Implements Trk::CompetingRIOsOnTrack.

Definition at line 121 of file CompetingSCT_ClustersOnTrack.h.

122 {
123  return new InDet::CompetingSCT_ClustersOnTrack(*this);
124 }

◆ containedROTs()

const std::vector< const InDet::SCT_ClusterOnTrack * > & InDet::CompetingSCT_ClustersOnTrack::containedROTs ( ) const
inline

returns the vector of SCT_ClusterOnTrack objects .

Definition at line 133 of file CompetingSCT_ClustersOnTrack.h.

134 {
135  return m_containedChildRots;
136 }

◆ dump() [1/2]

MsgStream & InDet::CompetingSCT_ClustersOnTrack::dump ( MsgStream &  out) const
virtual

returns some information about this MeasurementBase/CompetingSCT_ClustersOnTrack.

Reimplemented from Trk::CompetingRIOsOnTrack.

Definition at line 106 of file CompetingSCT_ClustersOnTrack.cxx.

107 {
108  using std::ios;
109  out << "Trk::CompetingSCT_ClustersOnTrack with [" << numberOfContainedROTs()
110  << "] competing RIO_OnTrack objects" << std::endl;
111  out << " - "
112  << (this->ROTsHaveCommonSurface(true) ? "on common surface" : "over different surfaces")
113  << " (given prob>cut)" << std::endl;
115  out << " - GlobalPosition : ";
116  if (not m_globalPosition)
117  out << "null pointer" << endmsg;
118  else
119  out << *m_globalPosition << endmsg;
120  return out;
121 }

◆ dump() [2/2]

std::ostream & InDet::CompetingSCT_ClustersOnTrack::dump ( std::ostream &  out) const
virtual

returns some information about this MeasurementBase/CompetingSCT_ClustersOnTrack.

Reimplemented from Trk::CompetingRIOsOnTrack.

Definition at line 124 of file CompetingSCT_ClustersOnTrack.cxx.

125 {
126  using std::ios;
127  out << "Trk::CompetingSCT_ClustersOnTrack with [" << numberOfContainedROTs()
128  << "] competing RIO_OnTrack objects" << std::endl;
129  out << " - "
130  << (this->ROTsHaveCommonSurface(true) ? "on common surface" : "over different surfaces")
131  << " (given prob>cut)" << std::endl;
133  out << " - GlobalPosition : ";
134  if (not m_globalPosition)
135  out << "null pointer" << std::endl;
136  else
137  out << *m_globalPosition << std::endl;
138  return out;
139 }

◆ globalPosition()

const Amg::Vector3D & InDet::CompetingSCT_ClustersOnTrack::globalPosition ( ) const
inlinevirtual

Interface method to get the global Position.

  • interface from MeasurementBase

Implements Trk::MeasurementBase.

Definition at line 145 of file CompetingSCT_ClustersOnTrack.h.

146 {
147  if (not m_globalPosition) {
148  m_globalPosition.set(std::make_unique<const Amg::Vector3D>(
149  associatedSurface().localToGlobal(localParameters())));
150  }
151  return *m_globalPosition;
152 }

◆ 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 InDet::CompetingSCT_ClustersOnTrack::numberOfContainedROTs ( ) const
inlinevirtual

Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.

Implements Trk::CompetingRIOsOnTrack.

Definition at line 155 of file CompetingSCT_ClustersOnTrack.h.

156 {
157  return m_containedChildRots.size();
158 }

◆ operator=() [1/2]

InDet::CompetingSCT_ClustersOnTrack & InDet::CompetingSCT_ClustersOnTrack::operator= ( InDet::CompetingSCT_ClustersOnTrack &&  compROT)
noexcept

Default move assignment operator.

Definition at line 78 of file CompetingSCT_ClustersOnTrack.cxx.

80 {
81  if (this != &compROT) {
82  // move operator of base class
84  // clear rots
86  m_containedChildRots = std::move(compROT.m_containedChildRots);
87  m_globalPosition = std::move(compROT.m_globalPosition);
88  }
89  return (*this);
90 }

◆ operator=() [2/2]

InDet::CompetingSCT_ClustersOnTrack & InDet::CompetingSCT_ClustersOnTrack::operator= ( const CompetingSCT_ClustersOnTrack compROT)

Assignment operator.

Definition at line 55 of file CompetingSCT_ClustersOnTrack.cxx.

57 {
58  if (this != &compROT) {
59  // assingment operator of base class
61  // clear rots
63  m_containedChildRots.clear();
64 
65  for (const InDet::SCT_ClusterOnTrack* rot : compROT.m_containedChildRots) {
66  m_containedChildRots.push_back(rot->clone());
67  }
68  if (compROT.m_globalPosition) {
69  m_globalPosition.store(std::make_unique<const Amg::Vector3D>(*compROT.m_globalPosition));
70  } else if (m_globalPosition) {
71  m_globalPosition.release().reset();
72  }
73  }
74  return (*this);
75 }

◆ rioOnTrack()

const InDet::SCT_ClusterOnTrack & InDet::CompetingSCT_ClustersOnTrack::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 139 of file CompetingSCT_ClustersOnTrack.h.

140 {
141  return *(m_containedChildRots[indx]);
142 }

◆ ROTsHaveCommonSurface()

bool InDet::CompetingSCT_ClustersOnTrack::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
  • CompetingSCT_ClustersOnTrack assume that all PixelClusters belong to the same detector element, so this function will always return true

Implements Trk::CompetingRIOsOnTrack.

Definition at line 143 of file CompetingSCT_ClustersOnTrack.cxx.

144 {
145  return true;
146 }

◆ setLocalParametersAndErrorMatrix()

void InDet::CompetingSCT_ClustersOnTrack::setLocalParametersAndErrorMatrix ( )
virtual

recalculate the LocalParameters and ErrorMatrix

  • CompetingSCT_ClustersOnTrack overwrites implementation in CompetingRIOsOnTrack, because SCT end cap needs special attention in calculating the effective parameters

Reimplemented from Trk::CompetingRIOsOnTrack.

Definition at line 149 of file CompetingSCT_ClustersOnTrack.cxx.

150 {
151 
152  if (ROTsHaveCommonSurface()) {
153  int nNonVanishingROTs = ((assignmentProbability(0) > 1.e-10) ? 1 : 0);
154  for (unsigned int i = 1; i < numberOfContainedROTs(); i++) {
155  if (assignmentProbability(i) > 1.e-10) {
156  nNonVanishingROTs += 1;
157  }
158  }
159  const int& paramKey = rioOnTrack(0).localParameters().parameterKey();
160  Amg::MatrixX meanWeightMatrix;
161  meanWeightMatrix.setZero();
162  const unsigned int& maxProbIndex = indexOfMaxAssignProb();
163  if (nNonVanishingROTs > 1) {
164  // more than one non-vanishing ROT: do the more complicated calculation
165  if (paramKey == 1) {
167  Amg::VectorX meanParams =
169  meanWeightMatrix = assignmentProbability(0) * weight;
170  for (unsigned int i = 1; i < numberOfContainedROTs(); i++) {
171  weight = rioOnTrack(i).localCovariance().inverse();
172  meanParams =
174  meanWeightMatrix += assignmentProbability(i) * weight;
175  }
176 
177  meanParams = meanWeightMatrix.inverse() * meanParams;
178  Trk::DefinedParameter Par1(meanParams[Trk::loc1], Trk::loc1);
180  } else if (paramKey == 3) {
181  double meanTheta = 0.;
182  double meanEigen1 = 0.;
183  double meanEigen2 = 0.;
184  double sumAssignProb = 0.;
185  double meanMeasX = 0.;
186  double meanMeasY = 0.;
187  for (unsigned int i = 0; i < numberOfContainedROTs(); i++) {
188  const Amg::MatrixX& covMat = rioOnTrack(i).localCovariance();
189  // rho[i] = covMat[0][1]/sqrt(covMat[0][0]*covMat[1][1]);
190  const double& assignProb = assignmentProbability(i);
191  sumAssignProb += assignProb;
192  const double trace = covMat(0, 0) + covMat(1, 1);
193  const double det = covMat(0, 0) * covMat(1, 1) - covMat(0, 1) * covMat(1, 0);
194  const double lambda1 = trace / 2. - sqrt(trace * trace / 4. - det);
195  const double lambda2 = trace / 2. + sqrt(trace * trace / 4. - det);
196  meanTheta +=
197  assignProb * 0.5 * atan(2. * covMat(0, 1) / (covMat(0, 0) - covMat(1, 1)));
198  meanEigen1 += assignProb / lambda1;
199  meanEigen2 += assignProb / lambda2;
200  // x coord has smaller uncert (use smaller eigenvalue):
201  meanMeasX += assignProb / lambda1 * rioOnTrack(i).localParameters()[Trk::locX];
202  meanMeasY += assignProb / lambda2 * rioOnTrack(i).localParameters()[Trk::locY];
203  }
204  meanTheta /= sumAssignProb;
205  meanMeasX /= meanEigen1;
206  meanMeasY /= meanEigen2;
207 
208  const double cosTheta = cos(meanTheta);
209  const double sinTheta = sin(meanTheta);
210  meanWeightMatrix = Amg::MatrixX(2, 2);
211  meanWeightMatrix.setZero();
212  meanWeightMatrix(0, 0) =
213  cosTheta * cosTheta * meanEigen1 + sinTheta * sinTheta * meanEigen2;
214  meanWeightMatrix(1, 1) =
215  cosTheta * cosTheta * meanEigen2 + sinTheta * sinTheta * meanEigen1;
216  meanWeightMatrix(0, 1) =
217  cosTheta * sinTheta * meanEigen1 - cosTheta * sinTheta * meanEigen2;
218  meanWeightMatrix(1, 0) = meanWeightMatrix(0, 1);
219 
220  Amg::MatrixX weightMatrix_maxIndex =
221  rioOnTrack(maxProbIndex).localCovariance().inverse();
222  int orderInput = (weightMatrix_maxIndex(0, 0) > weightMatrix_maxIndex(1, 1)) ? -1 : 1;
223  int orderOutput = (meanWeightMatrix(0, 0) > meanWeightMatrix(1, 1)) ? -1 : 1;
224  if (orderInput * orderOutput < 0) {
225  std::cout << "Trk::CompetingSCT_ClustersOnTrack: order of dimensions "
226  "does not match!!!";
227  }
228 
229  Trk::DefinedParameter Par1(meanMeasX, Trk::loc1);
230  Trk::DefinedParameter Par2(meanMeasY, Trk::loc2);
231  m_localParams = Trk::LocalParameters(Par1, Par2);
232  } else {
233  std::cout << "Trk::CompetingSCT_ClustersOnTrack: can not handle parameter key "
234  << paramKey << std::endl;
235  }
236  } else {
237  // not more than one non-vanishing ROT: use the ROT with highest prob
238  meanWeightMatrix = assignmentProbability(maxProbIndex) *
239  rioOnTrack(maxProbIndex).localCovariance().inverse();
240  m_localParams = rioOnTrack(maxProbIndex).localParameters();
241  }
242  // limit weight values against values too close to 0, otherwise inversion
243  // will fail!
244  if (meanWeightMatrix.trace() <= 1.0e-15) {
245  for (int i = 0; i < meanWeightMatrix.cols(); ++i)
246  meanWeightMatrix(i, i) = 1.0e-10;
247  }
248  m_localCovariance = meanWeightMatrix.inverse();
249 
250  } else {
251 
252  std::cout << "Trk::CompetingRIOsOnTrack: can not handle ROTs in different "
253  "surfaces without detector specific knowledge "
254  << std::endl;
255  }
256 }

◆ 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

◆ CompetingSCT_ClustersOnTrackTool

friend class CompetingSCT_ClustersOnTrackTool
friend

InDet::CompetingSCT_ClustersOnTrackTool is a friend to allow for updates of the assignment probabilities.

Definition at line 50 of file CompetingSCT_ClustersOnTrack.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_containedChildRots

std::vector<const InDet::SCT_ClusterOnTrack*> InDet::CompetingSCT_ClustersOnTrack::m_containedChildRots
private

The vector of contained InDet::SCT_ClusterOnTrack objects.

Definition at line 109 of file CompetingSCT_ClustersOnTrack.h.

◆ m_globalPosition

CxxUtils::CachedUniquePtr<const Amg::Vector3D> InDet::CompetingSCT_ClustersOnTrack::m_globalPosition
private

The global position.

Definition at line 106 of file CompetingSCT_ClustersOnTrack.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:32
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:29
InDet::CompetingSCT_ClustersOnTrack::m_containedChildRots
std::vector< const InDet::SCT_ClusterOnTrack * > m_containedChildRots
The vector of contained InDet::SCT_ClusterOnTrack objects.
Definition: CompetingSCT_ClustersOnTrack.h:109
Trk::CompetingRIOsOnTrack::dump
virtual MsgStream & dump(MsgStream &out) const override
returns the some information about the base class members (avoid code duplication)
Definition: CompetingRIOsOnTrack.cxx:115
Trk::locX
@ locX
Definition: ParamDefs.h:43
Trk::locY
@ locY
local cartesian
Definition: ParamDefs.h:44
Trk::LocalParameters::parameterKey
int parameterKey() const
Identifier key for matrix expansion/reduction.
index
Definition: index.py:1
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
InDet::CompetingSCT_ClustersOnTrack::clearChildRotVector
void clearChildRotVector()
private method to clear the Trk::RIO_OnTrack vector
Definition: CompetingSCT_ClustersOnTrack.cxx:99
Trk::loc2
@ loc2
generic first and second local coordinate
Definition: ParamDefs.h:41
Trk::CompetingRIOsOnTrack::type
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
Definition: CompetingRIOsOnTrack.h:116
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
InDet::CompetingSCT_ClustersOnTrack::m_globalPosition
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalPosition
The global position.
Definition: CompetingSCT_ClustersOnTrack.h:106
drawFromPickle.atan
atan
Definition: drawFromPickle.py:36
Trk::DefinedParameter
std::pair< double, ParamDefs > DefinedParameter
Definition: DefinedParameter.h:27
InDet::CompetingSCT_ClustersOnTrack::setLocalParametersAndErrorMatrix
virtual void setLocalParametersAndErrorMatrix()
recalculate the LocalParameters and ErrorMatrix
Definition: CompetingSCT_ClustersOnTrack.cxx:149
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:200
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:92
Trk::MeasurementBaseType::CompetingRIOsOnTrack
@ CompetingRIOsOnTrack
Definition: MeasurementBase.h:50
InDet::SCT_ClusterOnTrack::clone
virtual SCT_ClusterOnTrack * clone() const override final
Pseudo-constructor.
Definition: SCT_ClusterOnTrack.h:140
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
WritePulseShapeToCool.det
det
Definition: WritePulseShapeToCool.py:204
Trk::CompetingRIOsOnTrack::m_assignProb
std::vector< AssignmentProb > m_assignProb
assignment probabilities of the ROTs
Definition: CompetingRIOsOnTrack.h:125
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
InDet::CompetingSCT_ClustersOnTrack::ROTsHaveCommonSurface
bool ROTsHaveCommonSurface(const bool withNonVanishingAssignProb=true) const
Have all the contained ROTs a common associated surface? If withNonVanishingAssignProb==true just the...
Definition: CompetingSCT_ClustersOnTrack.cxx:143
InDet::CompetingSCT_ClustersOnTrack::associatedSurface
const Trk::Surface & associatedSurface() const
returns the surface for the local to global transformation .
Definition: CompetingSCT_ClustersOnTrack.h:127
InDet::CompetingSCT_ClustersOnTrack::numberOfContainedROTs
unsigned int numberOfContainedROTs() const
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
Definition: CompetingSCT_ClustersOnTrack.h:155
Trk::CompetingRIOsOnTrack::clone
virtual CompetingRIOsOnTrack * clone() const override=0
Pseudo-constructor: needed to avoid excessive RTTI.
InDet::CompetingSCT_ClustersOnTrack
Definition: CompetingSCT_ClustersOnTrack.h:45
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:362
InDet::CompetingSCT_ClustersOnTrack::rioOnTrack
const InDet::SCT_ClusterOnTrack & rioOnTrack(unsigned int) const
returns the RIO_OnTrack (also known as ROT) objects depending on the integer
Definition: CompetingSCT_ClustersOnTrack.h:139
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36
Trk::CompetingRIOsOnTrack::indexOfMaxAssignProb
unsigned int indexOfMaxAssignProb() const
Index of the ROT with the highest assignment probability.
Definition: CompetingRIOsOnTrack.cxx:101
Trk::loc1
@ loc1
Definition: ParamDefs.h:40
Trk::CompetingRIOsOnTrack::assignmentProbability
AssignmentProb assignmentProbability(unsigned int indx) const
returns the AssignmentProbability depending on the integer.
Definition: CompetingRIOsOnTrack.h:139
InDet::SCT_ClusterOnTrack
Definition: SCT_ClusterOnTrack.h:44