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

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

#include <CompetingTRT_DriftCirclesOnTrack.h>

Inheritance diagram for InDet::CompetingTRT_DriftCirclesOnTrack:
Collaboration diagram for InDet::CompetingTRT_DriftCirclesOnTrack:

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

 CompetingTRT_DriftCirclesOnTrack ()
 Default Constructor for POOL. More...
 
 CompetingTRT_DriftCirclesOnTrack (const CompetingTRT_DriftCirclesOnTrack &compROT)
 Copy Constructor. More...
 
CompetingTRT_DriftCirclesOnTrackoperator= (const CompetingTRT_DriftCirclesOnTrack &compROT)
 Assignment operator. More...
 
CompetingTRT_DriftCirclesOnTrackoperator= (CompetingTRT_DriftCirclesOnTrack &&compROT) noexcept
 Move assignment operator. More...
 
 CompetingTRT_DriftCirclesOnTrack (const Trk::Surface *sf, std::vector< const InDet::TRT_DriftCircleOnTrack * > &&childrots, std::vector< AssignmentProb > &&assgnProb, const Trk::LocalParameters &effecLocalPars, const Amg::MatrixX &effecLocalErrMat, int ROTsHaveComSrfc)
 Constructor with all parameters: PLEASE do not use directly, but call InDet::CompetingTRT_DriftCirclesOnTrackTool, otherwise inconsistency of the data will be very probable. More...
 
virtual ~CompetingTRT_DriftCirclesOnTrack ()
 Destructor. More...
 
CompetingTRT_DriftCirclesOnTrackclone () const
 virtual constructor - 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::TRT_DriftCircleOnTrack * > & containedROTs () const
 returns the vector of TRT_DriftCircleOnTrack objects . More...
 
const InDet::TRT_DriftCircleOnTrackrioOnTrack (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/CompetingTRT_DriftCirclesOnTrack. More...
 
std::ostream & dump (std::ostream &out) const
 returns some information about this MeasurementBase/CompetingTRT_DriftCirclesOnTrack. 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...
 
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 InDet::TRT_DriftCircleOnTrack * > m_containedChildRots
 The vector of contained InDet::TRT_DriftCircleOnTrack objects. More...
 
int m_ROTsHaveCommonSurface
 

Friends

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

Detailed Description

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

This class is used by the Deterministic Annealing Filter to handle several TRT_DriftCircleOnTrack in one "effective detector layer" (might be more than one DetectorElement), which compete against each other in being assigned to a track. localParameters() and localErrorMatrix() return the mean values according to the weights (assignment probabilities).

Author
Sebastian.Fleischmann -at- cern.ch

Definition at line 45 of file CompetingTRT_DriftCirclesOnTrack.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

◆ CompetingTRT_DriftCirclesOnTrack() [1/3]

InDet::CompetingTRT_DriftCirclesOnTrack::CompetingTRT_DriftCirclesOnTrack ( )

Default Constructor for POOL.

Definition at line 19 of file CompetingTRT_DriftCirclesOnTrack.cxx.

◆ CompetingTRT_DriftCirclesOnTrack() [2/3]

InDet::CompetingTRT_DriftCirclesOnTrack::CompetingTRT_DriftCirclesOnTrack ( const CompetingTRT_DriftCirclesOnTrack compROT)

Copy Constructor.

Definition at line 29 of file CompetingTRT_DriftCirclesOnTrack.cxx.

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

◆ CompetingTRT_DriftCirclesOnTrack() [3/3]

InDet::CompetingTRT_DriftCirclesOnTrack::CompetingTRT_DriftCirclesOnTrack ( const Trk::Surface sf,
std::vector< const InDet::TRT_DriftCircleOnTrack * > &&  childrots,
std::vector< AssignmentProb > &&  assgnProb,
const Trk::LocalParameters effecLocalPars,
const Amg::MatrixX effecLocalErrMat,
int  ROTsHaveComSrfc 
)

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

Definition at line 49 of file CompetingTRT_DriftCirclesOnTrack.cxx.

58  : Trk::CompetingRIOsOnTrack(std::move(assgnProb))
61  , m_containedChildRots(std::move(childrots))
62  , m_ROTsHaveCommonSurface(ROTsHaveComSrfc)
63 {
64  m_localParams = effecLocalPars;
65  m_localCovariance = effecLocalErrMat;
66 }

◆ ~CompetingTRT_DriftCirclesOnTrack()

InDet::CompetingTRT_DriftCirclesOnTrack::~CompetingTRT_DriftCirclesOnTrack ( )
virtual

Destructor.

Definition at line 115 of file CompetingTRT_DriftCirclesOnTrack.cxx.

116 {
118 }

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::CompetingTRT_DriftCirclesOnTrack::associatedSurface ( ) const
inlinevirtual

returns the surface for the local to global transformation .

  • interface from MeasurementBase

Implements Trk::MeasurementBase.

Definition at line 141 of file CompetingTRT_DriftCirclesOnTrack.h.

142 {
143  return (*m_associatedSurface);
144 }

◆ clearChildRotVector()

void InDet::CompetingTRT_DriftCirclesOnTrack::clearChildRotVector ( )
private

private method to clear the Trk::RIO_OnTrack vector

Definition at line 121 of file CompetingTRT_DriftCirclesOnTrack.cxx.

122 {
123  std::vector<const InDet::TRT_DriftCircleOnTrack*>::const_iterator rotIter =
124  m_containedChildRots.begin();
125  for (; rotIter != m_containedChildRots.end(); ++rotIter) {
126  delete (*rotIter);
127  }
128 }

◆ clone()

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

virtual constructor - needed to avoid excessive RTTI

Implements Trk::CompetingRIOsOnTrack.

Definition at line 135 of file CompetingTRT_DriftCirclesOnTrack.h.

136 {
137  return new InDet::CompetingTRT_DriftCirclesOnTrack(*this);
138 }

◆ 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 InDet::TRT_DriftCircleOnTrack * > & InDet::CompetingTRT_DriftCirclesOnTrack::containedROTs ( ) const
inline

returns the vector of TRT_DriftCircleOnTrack objects .

Definition at line 147 of file CompetingTRT_DriftCirclesOnTrack.h.

148 {
149  return m_containedChildRots;
150 }

◆ 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 & InDet::CompetingTRT_DriftCirclesOnTrack::dump ( MsgStream &  out) const
virtual

returns some information about this MeasurementBase/CompetingTRT_DriftCirclesOnTrack.

Reimplemented from Trk::CompetingRIOsOnTrack.

Definition at line 131 of file CompetingTRT_DriftCirclesOnTrack.cxx.

132 {
133  using std::ios;
134  out << "Trk::CompetingTRT_DriftCirclesOnTrack with ["
135  << numberOfContainedROTs() << "] competing RIO_OnTrack objects"
136  << std::endl;
137  out << " - "
138  << (this->ROTsHaveCommonSurface(true) ? "on common surface"
139  : "over different surfaces")
140  << " (given prob>cut)" << std::endl;
142  out << " - GlobalPosition : ";
143  if (not m_globalPosition)
144  out << "null pointer" << endmsg;
145  else
146  out << *m_globalPosition << endmsg;
147  return out;
148 }

◆ dump() [2/2]

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

returns some information about this MeasurementBase/CompetingTRT_DriftCirclesOnTrack.

Reimplemented from Trk::CompetingRIOsOnTrack.

Definition at line 151 of file CompetingTRT_DriftCirclesOnTrack.cxx.

152 {
153  using std::ios;
154  out << "Trk::CompetingTRT_DriftCirclesOnTrack with ["
155  << numberOfContainedROTs() << "] competing RIO_OnTrack objects"
156  << std::endl;
157  out << " - "
158  << (this->ROTsHaveCommonSurface(true) ? "on common surface"
159  : "over different surfaces")
160  << " (given prob>cut)" << std::endl;
162  out << " - GlobalPosition : ";
163  if (not m_globalPosition)
164  out << "null pointer" << std::endl;
165  else
166  out << *m_globalPosition << std::endl;
167  return out;
168 }

◆ globalPosition()

const Amg::Vector3D & InDet::CompetingTRT_DriftCirclesOnTrack::globalPosition ( ) const
virtual

Interface method to get the global Position.

  • interface from MeasurementBase

Implements Trk::MeasurementBase.

Definition at line 189 of file CompetingTRT_DriftCirclesOnTrack.cxx.

190 {
191  if (m_globalPosition) {
192  return *m_globalPosition;
193  }
194  // cannot use the localToGlobal transformation, because the local z-coordinate
195  // along the wire is not known here. The contained TRT_DriftCircleOnTrack use
196  // the full transformation => use the weighted mean of their GlobalPositions
197  // FIXME: introduce a special function in base class, which returns the sum of
198  // assignment probabilities
199  double assgnProbSum = 0.;
200  std::vector<AssignmentProb>::const_iterator assgnProbIter =
201  m_assignProb.begin();
202  for (; assgnProbIter != m_assignProb.end(); ++assgnProbIter) {
203  assgnProbSum += (*assgnProbIter);
204  }
205 
206  Amg::Vector3D globalPos(0., 0., 0.);
207  if (assgnProbSum > 0.) {
208  std::vector<const InDet::TRT_DriftCircleOnTrack*>::const_iterator rotIter =
209  std::as_const(m_containedChildRots).begin();
210  assgnProbIter = m_assignProb.begin();
211  for (; rotIter != std::as_const(m_containedChildRots).end();
212  ++rotIter, ++assgnProbIter) {
213  globalPos +=
214  (((*assgnProbIter) / assgnProbSum) * ((*rotIter)->globalPosition()));
215  }
216 
217  } else {
218  globalPos = std::as_const(m_containedChildRots)[0]->globalPosition();
219  }
220  m_globalPosition.set(std::make_unique<const Amg::Vector3D>(globalPos));
221  return *m_globalPosition;
222 }

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

Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.

Implements Trk::CompetingRIOsOnTrack.

Definition at line 159 of file CompetingTRT_DriftCirclesOnTrack.h.

160 {
161  return m_containedChildRots.size();
162 }

◆ operator=() [1/2]

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

Move assignment operator.

Definition at line 99 of file CompetingTRT_DriftCirclesOnTrack.cxx.

101 {
102  if (this != &compROT) {
103  // base class move
106  // rots
108  m_containedChildRots = std::move(compROT.m_containedChildRots);
109  m_globalPosition = std::move(compROT.m_globalPosition);
111  }
112  return (*this);
113 }

◆ operator=() [2/2]

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

Assignment operator.

Definition at line 69 of file CompetingTRT_DriftCirclesOnTrack.cxx.

71 {
72  if (this != &compROT) {
73  // assignment operator of base class
76 
77  // clear rots
79  m_containedChildRots.clear();
80 
81  if (compROT.m_globalPosition) {
82  m_globalPosition.store(
83  std::make_unique<const Amg::Vector3D>(*compROT.m_globalPosition));
84  } else if (m_globalPosition) {
85  m_globalPosition.release().reset();
86  }
87  //
88  m_ROTsHaveCommonSurface = compROT.m_ROTsHaveCommonSurface;
89  //
90  std::vector<const InDet::TRT_DriftCircleOnTrack*>::const_iterator rotIter =
91  compROT.m_containedChildRots.begin();
92  for (; rotIter != compROT.m_containedChildRots.end(); ++rotIter)
93  m_containedChildRots.push_back((*rotIter)->clone());
94  }
95  return (*this);
96 }

◆ 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 InDet::TRT_DriftCircleOnTrack & InDet::CompetingTRT_DriftCirclesOnTrack::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 153 of file CompetingTRT_DriftCirclesOnTrack.h.

154 {
155  return *std::as_const(m_containedChildRots)[indx];
156 }

◆ ROTsHaveCommonSurface()

bool InDet::CompetingTRT_DriftCirclesOnTrack::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.

Implements Trk::CompetingRIOsOnTrack.

Definition at line 172 of file CompetingTRT_DriftCirclesOnTrack.cxx.

174 {
175  // if (m_ROTsHaveCommonSurface==0) {
176  // values of int m_ROTsHaveCommonSurface:
177  // no yes NA (ROTs on a common surface) NA means not checked yet
178  // 0 1 2
179  // for all | just ROTs with non-vanishing assgnProb
180  // * 1 | * 3
181  if (withNonVanishingAssignProb) {
182  return (m_ROTsHaveCommonSurface / 3);
183  } else {
184  return (m_ROTsHaveCommonSurface % 3);
185  }
186 }

◆ setLocalParametersAndErrorMatrix()

void InDet::CompetingTRT_DriftCirclesOnTrack::setLocalParametersAndErrorMatrix ( )
virtual

recalculate the LocalParameters and ErrorMatrix

Reimplemented from Trk::CompetingRIOsOnTrack.

Definition at line 225 of file CompetingTRT_DriftCirclesOnTrack.cxx.

226 {
227  std::cout << "InDet::CompetingTRT_DriftCirclesOnTrack: can not handle ROTs "
228  "in different surfaces without detector specific knowledge "
229  << std::endl;
230 }

◆ 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

◆ CompetingTRT_DriftCirclesOnTrackTool

friend class CompetingTRT_DriftCirclesOnTrackTool
friend

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

Definition at line 53 of file CompetingTRT_DriftCirclesOnTrack.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 InDet::TRT_DriftCircleOnTrack*> InDet::CompetingTRT_DriftCirclesOnTrack::m_containedChildRots
private

The vector of contained InDet::TRT_DriftCircleOnTrack objects.

Definition at line 124 of file CompetingTRT_DriftCirclesOnTrack.h.

◆ m_globalPosition

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

The global Position.

Definition at line 121 of file CompetingTRT_DriftCirclesOnTrack.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.

◆ m_ROTsHaveCommonSurface

int InDet::CompetingTRT_DriftCirclesOnTrack::m_ROTsHaveCommonSurface
private

Definition at line 131 of file CompetingTRT_DriftCirclesOnTrack.h.


The documentation for this class was generated from the following files:
InDet::CompetingTRT_DriftCirclesOnTrack::m_containedChildRots
std::vector< const InDet::TRT_DriftCircleOnTrack * > m_containedChildRots
The vector of contained InDet::TRT_DriftCircleOnTrack objects.
Definition: CompetingTRT_DriftCirclesOnTrack.h:124
Trk::SurfacePtrHolderImplDetEl::operator=
SurfacePtrHolderImplDetEl & operator=(const SurfacePtrHolderImplDetEl &other)
copy assingmemnt if surface is free we clone/copy.
Definition: SurfaceHolderImpl.h:192
InDet::CompetingTRT_DriftCirclesOnTrack::numberOfContainedROTs
unsigned int numberOfContainedROTs() const
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
Definition: CompetingTRT_DriftCirclesOnTrack.h:159
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
index
Definition: index.py:1
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Trk::SurfacePtrHolderDetEl
Trk::SurfacePtrHolderImplDetEl< Surface > SurfacePtrHolderDetEl
Definition: SurfaceHolders.h:36
Trk::CompetingRIOsOnTrack::type
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
Definition: CompetingRIOsOnTrack.h:116
JetTiledMap::S
@ S
Definition: TiledEtaPhiMap.h:44
Trk::SurfacePtrHolderImplDetEl::m_associatedSurface
const S * m_associatedSurface
Definition: SurfaceHolderImpl.h:244
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
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
InDet::CompetingTRT_DriftCirclesOnTrack::clearChildRotVector
void clearChildRotVector()
private method to clear the Trk::RIO_OnTrack vector
Definition: CompetingTRT_DriftCirclesOnTrack.cxx:121
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
InDet::CompetingTRT_DriftCirclesOnTrack::m_ROTsHaveCommonSurface
int m_ROTsHaveCommonSurface
Definition: CompetingTRT_DriftCirclesOnTrack.h:131
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
Trk::MeasurementBase::m_localParams
LocalParameters m_localParams
Definition: MeasurementBase.h:111
Trk::CompetingRIOsOnTrack::clone
virtual CompetingRIOsOnTrack * clone() const override=0
Pseudo-constructor: needed to avoid excessive RTTI.
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
InDet::CompetingTRT_DriftCirclesOnTrack
Class for competing TRT_DriftCircles, it extends the Trk::CompetingRIOsOnTrack base class.
Definition: CompetingTRT_DriftCirclesOnTrack.h:48
Trk::MeasurementBase::m_localCovariance
Amg::MatrixX m_localCovariance
Definition: MeasurementBase.h:112
DeMoScan.index
string index
Definition: DeMoScan.py:364
mapkey::sf
@ sf
Definition: TElectronEfficiencyCorrectionTool.cxx:38
InDet::CompetingTRT_DriftCirclesOnTrack::ROTsHaveCommonSurface
bool ROTsHaveCommonSurface(const bool withNonVanishingAssignProb=true) const
Have all the contained ROTs a common associated surface? If withNonVanishingAssignProb==true just the...
Definition: CompetingTRT_DriftCirclesOnTrack.cxx:172
InDet::CompetingTRT_DriftCirclesOnTrack::m_globalPosition
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalPosition
The global Position.
Definition: CompetingTRT_DriftCirclesOnTrack.h:121