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

#include <TrackSummaryContainer.h>

Inheritance diagram for ActsTrk::MutableTrackSummaryContainer:
Collaboration diagram for ActsTrk::MutableTrackSummaryContainer:

Public Types

using IndexType = uint32_t
 

Public Member Functions

 MutableTrackSummaryContainer ()
 
 MutableTrackSummaryContainer (const MutableTrackSummaryContainer &)=delete
 
MutableTrackSummaryContainer operator= (const MutableTrackSummaryContainer &)=delete
 
 MutableTrackSummaryContainer (MutableTrackSummaryContainer &&)
 
MutableTrackSummaryContaineroperator= (MutableTrackSummaryContainer &&other) noexcept
 
ActsTrk::IndexType addTrack_impl ()
 adds new track to the tail of the container More...
 
void removeTrack_impl (ActsTrk::IndexType itrack)
 clears track data under index More...
 
template<typename T >
constexpr void addColumn_impl (std::string_view key)
 enables the container to support decoration of given name and type More...
 
void copyDynamicFrom_impl (ActsTrk::IndexType itrack, Acts::HashedString key, const std::any &src_ptr)
 copies decorations from other container More...
 
std::any component_impl (Acts::HashedString key, ActsTrk::IndexType itrack)
 write access to decorations More...
 
ActsTrk::Parameters parameters (ActsTrk::IndexType itrack)
 write access to parameters More...
 
ActsTrk::Covariance covariance (ActsTrk::IndexType itrack)
 write access to covariance More...
 
void ensureDynamicColumns_impl (const MutableTrackSummaryContainer &other)
 synchronizes decorations More...
 
void ensureDynamicColumns_impl (const TrackSummaryContainer &other)
 
void reserve (ActsTrk::IndexType size)
 preallocate number of track objects More...
 
void clear ()
 zeroes container More...
 
void setReferenceSurface_impl (ActsTrk::IndexType itrack, std::shared_ptr< const Acts::Surface > surface)
 point given track to surface The surface ownership is shared More...
 
void setParticleHypothesis_impl (ActsTrk::IndexType itrack, const Acts::ParticleHypothesis &particleHypothesis)
 sets particle hypothesis More...
 
xAOD::TrackSummaryContainertrackBackend ()
 
void encodeSurfaces (xAOD::TrackSurfaceAuxContainer *dest, const Acts::GeometryContext &)
 
std::any component_impl (Acts::HashedString key, ActsTrk::IndexType itrack) const
 access to components by pointer with type More...
 
ActsTrk::ConstParameters parameters (ActsTrk::IndexType itrack) const
 parameters of the track More...
 
ActsTrk::ConstCovariance covariance (ActsTrk::IndexType itrack) const
 covariance of the track fit More...
 
constexpr bool hasColumn_impl (Acts::HashedString key) const
 return true if the container has specific decoration More...
 
const Acts::Surface * referenceSurface_impl (ActsTrk::IndexType itrack) const
 return pointer to reference surface More...
 
Acts::ParticleHypothesis particleHypothesis_impl (IndexType itrack) const
 return pointer to reference surface More...
 
std::size_t size_impl () const
 returns number of stored tracks More...
 
std::any component_impl (Acts::HashedString key, ActsTrk::IndexType itrack) const
 access to components by pointer with type More...
 
ActsTrk::ConstParameters parameters (ActsTrk::IndexType itrack) const
 parameters of the track More...
 
ActsTrk::ConstCovariance covariance (ActsTrk::IndexType itrack) const
 covariance of the track fit More...
 
void fillFrom (ActsTrk::MutableTrackSummaryContainer &mtb)
 
void restoreDecorations ()
 
void decodeSurfaces (const xAOD::TrackSurfaceContainer *src, const Acts::GeometryContext &)
 
std::vector< Acts::HashedString > dynamicKeys_impl () const
 

Static Public Attributes

static constexpr auto kInvalid = Acts::MultiTrajectoryTraits::kInvalid
 
static const std::set< std::string > staticVariables
 
static const std::set< Acts::HashedString > staticVariableHashes
 

Protected Attributes

DataLink< xAOD::TrackSummaryContainerm_trackBackend = nullptr
 
std::vector< ActsTrk::detail::Decorationm_decorations
 
std::vector< std::shared_ptr< const Acts::Surface > > m_surfaces
 

Private Attributes

std::unique_ptr< xAOD::TrackSummaryContainerm_mutableTrackBackend
 
std::unique_ptr< xAOD::TrackSummaryAuxContainerm_mutableTrackBackendAux
 

Friends

class ActsTrk::MutableTrackContainerHandlesHelper
 

Detailed Description

Definition at line 118 of file Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h.

Member Typedef Documentation

◆ IndexType

using ActsTrk::TrackSummaryContainer::IndexType = uint32_t
inherited

Constructor & Destructor Documentation

◆ MutableTrackSummaryContainer() [1/3]

ActsTrk::MutableTrackSummaryContainer::MutableTrackSummaryContainer ( )

Definition at line 136 of file TrackSummaryContainer.cxx.

136  {
137 
138  m_mutableTrackBackend = std::make_unique<xAOD::TrackSummaryContainer>();
139  m_mutableTrackBackendAux = std::make_unique<xAOD::TrackSummaryAuxContainer>();
141 
143 }

◆ MutableTrackSummaryContainer() [2/3]

ActsTrk::MutableTrackSummaryContainer::MutableTrackSummaryContainer ( const MutableTrackSummaryContainer )
delete

◆ MutableTrackSummaryContainer() [3/3]

ActsTrk::MutableTrackSummaryContainer::MutableTrackSummaryContainer ( MutableTrackSummaryContainer &&  other)

Definition at line 145 of file TrackSummaryContainer.cxx.

146  {
147  m_mutableTrackBackend = std::move(other.m_mutableTrackBackend);
148  m_mutableTrackBackendAux = std::move(other.m_mutableTrackBackendAux);
151 
152  m_surfaces = std::move(other.m_surfaces);
153  m_decorations = std::move(other.m_decorations);
154 }

Member Function Documentation

◆ addColumn_impl()

template<typename T >
constexpr void ActsTrk::MutableTrackSummaryContainer::addColumn_impl ( std::string_view  key)
constexpr

enables the container to support decoration of given name and type

Definition at line 244 of file Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h.

245  {
247  throw std::runtime_error(
248  "TrackSummaryContainer::addColumn_impl: "
249  "unsupported decoration type");
250  }
251  m_decorations.emplace_back(ActsTrk::detail::decoration<T>(
252  name,
253  ActsTrk::detail::constDecorationGetter<T>,
254  ActsTrk::detail::decorationCopier<T>,
255  ActsTrk::detail::decorationSetter<T>
256  ));
257 }

◆ addTrack_impl()

ActsTrk::IndexType ActsTrk::MutableTrackSummaryContainer::addTrack_impl ( )

adds new track to the tail of the container

Definition at line 183 of file TrackSummaryContainer.cxx.

183  {
184  m_mutableTrackBackend->push_back(std::make_unique<xAOD::TrackSummary>());
185  m_mutableTrackBackend->back()->resize();
186  // ACTS assumes default to be pion, xAOD::ParticleHypothesis == 0 is geantino
187  m_mutableTrackBackend->back()->setParticleHypothesis(xAOD::pion);
188  m_surfaces.push_back(nullptr);
189  return m_mutableTrackBackend->size() - 1;
190 }

◆ clear()

void ActsTrk::MutableTrackSummaryContainer::clear ( )

zeroes container

Definition at line 254 of file TrackSummaryContainer.cxx.

254  {
255  m_mutableTrackBackend->clear();
256  m_surfaces.clear();
257 }

◆ component_impl() [1/3]

std::any ActsTrk::MutableTrackSummaryContainer::component_impl ( Acts::HashedString  key,
ActsTrk::IndexType  itrack 
)

write access to decorations

Definition at line 211 of file TrackSummaryContainer.cxx.

212  {
213  std::any result = ::component_impl(*m_mutableTrackBackend, key, itrack);
214  if (result.has_value()) {
215  return result;
216  }
217  for (auto& d : m_decorations) {
218  if (d.hash == key) {
219  return d.setter(m_mutableTrackBackendAux.get(), itrack, d.auxid);
220  }
221  }
222  throw std::runtime_error("TrackSummaryContainer no such component " +
224 }

◆ component_impl() [2/3]

std::any ActsTrk::TrackSummaryContainer::component_impl ( Acts::HashedString  key,
ActsTrk::IndexType  itrack 
) const
inherited

access to components by pointer with type

Definition at line 78 of file TrackSummaryContainer.cxx.

79  {
80  std::any result = ::component_impl(*m_trackBackend, key, itrack);
81  if (result.has_value()) {
82  return result;
83  }
84  for (auto& d : m_decorations) {
85  if (d.hash == key) {
86  // TODO the dynamic case will be eliminated once we switch to use Aux containers directly
87  return d.getter(m_trackBackend->getStore(), itrack, d.auxid);
88  }
89  }
90  throw std::runtime_error("TrackSummaryContainer no such component " +
92 }

◆ component_impl() [3/3]

std::any ActsTrk::TrackSummaryContainer::component_impl

access to components by pointer with type

Definition at line 86 of file TrackSummaryContainer.cxx.

79  {
80  std::any result = ::component_impl(*m_trackBackend, key, itrack);
81  if (result.has_value()) {
82  return result;
83  }
84  for (auto& d : m_decorations) {
85  if (d.hash == key) {
86  // TODO the dynamic case will be eliminated once we switch to use Aux containers directly
87  return d.getter(m_trackBackend->getStore(), itrack, d.auxid);
88  }
89  }
90  throw std::runtime_error("TrackSummaryContainer no such component " +
92 }

◆ copyDynamicFrom_impl()

void ActsTrk::MutableTrackSummaryContainer::copyDynamicFrom_impl ( ActsTrk::IndexType  itrack,
Acts::HashedString  key,
const std::any &  src_ptr 
)

copies decorations from other container

Definition at line 201 of file TrackSummaryContainer.cxx.

203  {
204  if ( staticVariableHashes.count(key) == 1) { return; }
205  for ( const auto& d: m_decorations) {
206  if (d.hash != key) { continue; }
207  d.copier(m_mutableTrackBackendAux.get(), itrack, d.auxid, src_ptr);
208  }
209 }

◆ covariance() [1/3]

ActsTrk::Covariance ActsTrk::MutableTrackSummaryContainer::covariance ( ActsTrk::IndexType  itrack)

write access to covariance

Definition at line 231 of file TrackSummaryContainer.cxx.

232  {
233  return m_mutableTrackBackend->at(itrack)->covParamsEigen();
234 }

◆ covariance() [2/3]

ActsTrk::ConstCovariance ActsTrk::TrackSummaryContainer::covariance ( ActsTrk::IndexType  itrack) const
inherited

covariance of the track fit

Definition at line 99 of file TrackSummaryContainer.cxx.

100  {
101  return m_trackBackend->at(itrack)->covParamsEigen();
102 }

◆ covariance() [3/3]

ActsTrk::ConstCovariance ActsTrk::TrackSummaryContainer::covariance

covariance of the track fit

Definition at line 97 of file TrackSummaryContainer.cxx.

100  {
101  return m_trackBackend->at(itrack)->covParamsEigen();
102 }

◆ decodeSurfaces()

void ActsTrk::TrackSummaryContainer::decodeSurfaces ( const xAOD::TrackSurfaceContainer src,
const Acts::GeometryContext &  geoContext 
)
inherited

Definition at line 124 of file TrackSummaryContainer.cxx.

124  {
125  for ( auto xAODSurfacePtr: *src) {
126  m_surfaces.push_back( decodeSurface(xAODSurfacePtr, geoContext));
127  }
128 }

◆ dynamicKeys_impl()

std::vector< Acts::HashedString > ActsTrk::TrackSummaryContainer::dynamicKeys_impl ( ) const
inherited

Definition at line 113 of file TrackSummaryContainer.cxx.

113  {
114  std::vector<Acts::HashedString> result;
115  for ( const auto& d: m_decorations) {
116  if (staticVariableHashes.count(d.hash) == 1) {
117  continue;
118  }
119  result.push_back(d.hash);
120  }
121  return result;
122 }

◆ encodeSurfaces()

void ActsTrk::MutableTrackSummaryContainer::encodeSurfaces ( xAOD::TrackSurfaceAuxContainer dest,
const Acts::GeometryContext &  geoContext 
)

Definition at line 264 of file TrackSummaryContainer.cxx.

264  {
265  dest->resize(m_surfaces.size());
266  size_t destIndex = 0;
267  // go over all surfaces and for each free surface record persistent version of it in the xAOD
268  // at the same time store index to it updating TrackSummary
269  for ( ActsTrk::IndexType index = 0, eindex = m_surfaces.size(); index < eindex; ++index ) {
270  if ( m_surfaces[index] == nullptr or m_surfaces[index]->geometryId().value() != 0 ) {
271  m_mutableTrackBackend->at(index)->setSurfaceIndex(Acts::kTrackIndexInvalid);
272  } else {
273  m_mutableTrackBackend->at(index)->setSurfaceIndex(destIndex);
274  encodeSurface(dest, destIndex, m_surfaces[index].get(), geoContext);
275  destIndex++;
276  }
277  }
278  dest->resize(destIndex);
279 }

◆ ensureDynamicColumns_impl() [1/2]

void ActsTrk::MutableTrackSummaryContainer::ensureDynamicColumns_impl ( const MutableTrackSummaryContainer other)

synchronizes decorations

Definition at line 236 of file TrackSummaryContainer.cxx.

237  {
238  for (auto& d : other.m_decorations) {
239  m_decorations.push_back(d);
240  }
241 }

◆ ensureDynamicColumns_impl() [2/2]

void ActsTrk::MutableTrackSummaryContainer::ensureDynamicColumns_impl ( const TrackSummaryContainer other)

Definition at line 243 of file TrackSummaryContainer.cxx.

244  {
245  for (auto& d : other.m_decorations) {
246  m_decorations.push_back(d);
247  }
248 }

◆ fillFrom()

void ActsTrk::TrackSummaryContainer::fillFrom ( ActsTrk::MutableTrackSummaryContainer mtb)
inherited

Definition at line 104 of file TrackSummaryContainer.cxx.

105  {
106  m_surfaces = std::move(mtb.m_surfaces);
107 }

◆ hasColumn_impl()

constexpr bool ActsTrk::TrackSummaryContainer::hasColumn_impl ( Acts::HashedString  key) const
constexprinherited

return true if the container has specific decoration

Definition at line 214 of file Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h.

215  {
216  using namespace Acts::HashedStringLiteral;
217  switch (key) {
218  case "params"_hash:
219  case "cov"_hash:
220  case "nMeasurements"_hash:
221  case "nHoles"_hash:
222  case "d0"_hash:
223  case "chi2"_hash:
224  case "ndf"_hash:
225  case "nOutliers"_hash:
226  case "hSharedHits"_hash:
227  case "tipIndex"_hash:
228  case "stemIndex"_hash:
229 
230  return true;
231  }
232  for (auto& d : m_decorations) {
233  if (d.hash == key) {
234  return true;
235  }
236  }
237  return false;
238 }

◆ operator=() [1/2]

MutableTrackSummaryContainer ActsTrk::MutableTrackSummaryContainer::operator= ( const MutableTrackSummaryContainer )
delete

◆ operator=() [2/2]

ActsTrk::MutableTrackSummaryContainer & ActsTrk::MutableTrackSummaryContainer::operator= ( ActsTrk::MutableTrackSummaryContainer &&  other)
noexcept

Definition at line 157 of file TrackSummaryContainer.cxx.

158  {
159  //NB. restoreDecorations may throw a GaudiException, resulting in a call to terminate()
160  // because the function is annotated 'noexcept'
161  m_mutableTrackBackend = std::exchange(other.m_mutableTrackBackend, nullptr);
162  m_mutableTrackBackendAux = std::exchange(other.m_mutableTrackBackendAux, nullptr);
163  //setStore throws an exception of type SG::ExcUntrackedSetStore, SG::ExcCLIDMismatch
164  //resulting in a call to terminate() because the function is marked 'noexcept'
167 
168  m_surfaces = std::move(other.m_surfaces);
169  m_decorations = std::move(other.m_decorations);
170 
171  //restore decorations
172  // restoreDecorations may throw a GaudiException or SG::ExcBadVarName
173  // resulting in a call to terminate() because the function is marked 'noexcept'
175 
176  // invalidate vector type components of 'other'
177  other.m_surfaces.clear();
178  other.m_decorations.clear();
179 
180  return *this;
181 }

◆ parameters() [1/3]

ActsTrk::Parameters ActsTrk::MutableTrackSummaryContainer::parameters ( ActsTrk::IndexType  itrack)

write access to parameters

Definition at line 226 of file TrackSummaryContainer.cxx.

227  {
228  return m_mutableTrackBackend->at(itrack)->paramsEigen();
229 }

◆ parameters() [2/3]

ActsTrk::ConstParameters ActsTrk::TrackSummaryContainer::parameters ( ActsTrk::IndexType  itrack) const
inherited

parameters of the track

Definition at line 94 of file TrackSummaryContainer.cxx.

95  {
96  return m_trackBackend->at(itrack)->paramsEigen();
97 }

◆ parameters() [3/3]

ActsTrk::ConstParameters ActsTrk::TrackSummaryContainer::parameters

parameters of the track

Definition at line 92 of file TrackSummaryContainer.cxx.

95  {
96  return m_trackBackend->at(itrack)->paramsEigen();
97 }

◆ particleHypothesis_impl()

Acts::ParticleHypothesis ActsTrk::TrackSummaryContainer::particleHypothesis_impl ( IndexType  itrack) const
inherited

return pointer to reference surface

Definition at line 41 of file TrackSummaryContainer.cxx.

41  {
42  return ActsTrk::ParticleHypothesis::convert( static_cast<xAOD::ParticleHypothesis>(m_trackBackend->at(itrack)->particleHypothesis()));
43 }

◆ referenceSurface_impl()

const Acts::Surface * ActsTrk::TrackSummaryContainer::referenceSurface_impl ( ActsTrk::IndexType  itrack) const
inherited

return pointer to reference surface

Definition at line 32 of file TrackSummaryContainer.cxx.

33  {
34  if (itrack >= m_surfaces.size())
35  throw std::out_of_range(
36  "TrackSummaryContainer index out of range when accessing reference "
37  "surface");
38  return m_surfaces[itrack].get();
39 }

◆ removeTrack_impl()

void ActsTrk::MutableTrackSummaryContainer::removeTrack_impl ( ActsTrk::IndexType  itrack)

clears track data under index

Definition at line 192 of file TrackSummaryContainer.cxx.

193  {
194  if (itrack >= m_mutableTrackBackend->size()) {
195  throw std::out_of_range("removeTrack_impl");
196  }
197  m_mutableTrackBackend->erase(m_mutableTrackBackend->begin() + itrack);
198 }

◆ reserve()

void ActsTrk::MutableTrackSummaryContainer::reserve ( ActsTrk::IndexType  size)

preallocate number of track objects

Definition at line 250 of file TrackSummaryContainer.cxx.

250  {
251  m_mutableTrackBackend->reserve(size);
252 }

◆ restoreDecorations()

void ActsTrk::TrackSummaryContainer::restoreDecorations ( )
inherited

Definition at line 109 of file TrackSummaryContainer.cxx.

◆ setParticleHypothesis_impl()

void ActsTrk::MutableTrackSummaryContainer::setParticleHypothesis_impl ( ActsTrk::IndexType  itrack,
const Acts::ParticleHypothesis &  particleHypothesis 
)

sets particle hypothesis

Warning
it will fail for an arbitrary particles as it converts to a predefined set (
See also
xAOD::ParticleHypothesis in TrackingPrimitives.h) of values

Definition at line 281 of file TrackSummaryContainer.cxx.

281  {
282  m_mutableTrackBackend->at(itrack)->setParticleHypothesis(ActsTrk::ParticleHypothesis::convert(particleHypothesis));
283 }

◆ setReferenceSurface_impl()

void ActsTrk::MutableTrackSummaryContainer::setReferenceSurface_impl ( ActsTrk::IndexType  itrack,
std::shared_ptr< const Acts::Surface >  surface 
)

point given track to surface The surface ownership is shared

Definition at line 259 of file TrackSummaryContainer.cxx.

260  {
261  m_surfaces[itrack] = surface;
262 }

◆ size_impl()

std::size_t ActsTrk::TrackSummaryContainer::size_impl ( ) const
inherited

returns number of stored tracks

Definition at line 45 of file TrackSummaryContainer.cxx.

45  {
46  return m_trackBackend->size();
47 }

◆ trackBackend()

xAOD::TrackSummaryContainer* ActsTrk::MutableTrackSummaryContainer::trackBackend ( )
inline

Definition at line 202 of file Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h.

202  {
203  return m_mutableTrackBackend.get();
204  }

Friends And Related Function Documentation

◆ ActsTrk::MutableTrackContainerHandlesHelper

Member Data Documentation

◆ kInvalid

constexpr auto ActsTrk::TrackSummaryContainer::kInvalid = Acts::MultiTrajectoryTraits::kInvalid
staticconstexprinherited

◆ m_decorations

std::vector<ActsTrk::detail::Decoration> ActsTrk::TrackSummaryContainer::m_decorations
protectedinherited

◆ m_mutableTrackBackend

std::unique_ptr<xAOD::TrackSummaryContainer> ActsTrk::MutableTrackSummaryContainer::m_mutableTrackBackend
private

◆ m_mutableTrackBackendAux

std::unique_ptr<xAOD::TrackSummaryAuxContainer> ActsTrk::MutableTrackSummaryContainer::m_mutableTrackBackendAux
private

◆ m_surfaces

std::vector<std::shared_ptr<const Acts::Surface> > ActsTrk::TrackSummaryContainer::m_surfaces
protectedinherited

◆ m_trackBackend

DataLink<xAOD::TrackSummaryContainer> ActsTrk::TrackSummaryContainer::m_trackBackend = nullptr
protectedinherited

◆ staticVariableHashes

const std::set< Acts::HashedString > ActsTrk::TrackSummaryContainer::staticVariableHashes
staticinherited
Initial value:
= [](){
std::set<Acts::HashedString> result;
result.insert(Acts::hashString(s));
}
return result;
}()

Definition at line 62 of file Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h.

◆ staticVariables

const std::set< std::string > ActsTrk::TrackSummaryContainer::staticVariables
staticinherited
Initial value:
= {
"params", "covParams", "nMeasurements", "nHoles", "chi2f",
"ndf", "nOutliers", "nSharedHits", "tipIndex", "stemIndex",
"particleHypothesis", "surfaceIndex"}

Definition at line 61 of file Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h.


The documentation for this class was generated from the following files:
ActsTrk::TrackSummaryContainer::m_surfaces
std::vector< std::shared_ptr< const Acts::Surface > > m_surfaces
Definition: Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h:115
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
get_generator_info.result
result
Definition: get_generator_info.py:21
ActsTrk::MutableTrackSummaryContainer::m_mutableTrackBackend
std::unique_ptr< xAOD::TrackSummaryContainer > m_mutableTrackBackend
Definition: Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h:209
ActsTrk::TrackSummaryContainer::staticVariables
static const std::set< std::string > staticVariables
Definition: Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h:61
WriteCellNoiseToCool.src
src
Definition: WriteCellNoiseToCool.py:513
index
Definition: index.py:1
hist_file_dump.d
d
Definition: hist_file_dump.py:137
ActsTrk::ParticleHypothesis::convert
xAOD::ParticleHypothesis convert(Acts::ParticleHypothesis h)
Definition: ParticleHypothesisEncoding.cxx:12
xAOD::pion
@ pion
Definition: TrackingPrimitives.h:196
athena.value
value
Definition: athena.py:124
perfmonmt-printer.dest
dest
Definition: perfmonmt-printer.py:189
ActsTrk::TrackSummaryContainer::component_impl
std::any component_impl(Acts::HashedString key, ActsTrk::IndexType itrack) const
access to components by pointer with type
Definition: TrackSummaryContainer.cxx:78
ActsTrk::TrackSummaryContainer::m_trackBackend
DataLink< xAOD::TrackSummaryContainer > m_trackBackend
Definition: Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h:113
ActsTrk::TrackSummaryContainer::restoreDecorations
void restoreDecorations()
Definition: TrackSummaryContainer.cxx:109
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
ActsTrk::MutableTrackSummaryContainer::component_impl
std::any component_impl(Acts::HashedString key, ActsTrk::IndexType itrack)
write access to decorations
Definition: TrackSummaryContainer.cxx:211
ActsTrk::encodeSurface
void encodeSurface(xAOD::TrackSurfaceAuxContainer *backend, size_t index, const Acts::Surface *surface, const Acts::GeometryContext &geoContext)
Prepares persistifiable representation of surface into xAOD::TrackSurface object.
Definition: SurfaceEncoding.cxx:55
ActsTrk::IndexType
std::uint32_t IndexType
Definition: Decoration.h:13
ActsTrk::detail::accepted_decoration_types
Definition: Decoration.h:32
ActsTrk::MutableTrackSummaryContainer::m_mutableTrackBackendAux
std::unique_ptr< xAOD::TrackSummaryAuxContainer > m_mutableTrackBackendAux
Definition: Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h:210
ActsTrk::detail::restoreDecorations
std::vector< Decoration > restoreDecorations(const SG::IConstAuxStore *container, const std::set< std::string > &staticVariables)
Definition: Decoration.cxx:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
ActsTrk::decodeSurface
std::shared_ptr< const Acts::Surface > decodeSurface(const xAOD::TrackSurface *backend, const Acts::GeometryContext &geoContext)
Creates transient Acts Surface objects given a surface backend implementation should be exact mirror ...
Definition: SurfaceEncoding.cxx:143
xAOD::ParticleHypothesis
ParticleHypothesis
Definition: TrackingPrimitives.h:192
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
get
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition: hcg.cxx:127
ActsTrk::TrackSummaryContainer::m_decorations
std::vector< ActsTrk::detail::Decoration > m_decorations
Definition: Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h:114
ActsTrk::TrackSummaryContainer::staticVariableHashes
static const std::set< Acts::HashedString > staticVariableHashes
Definition: Tracking/Acts/ActsEvent/ActsEvent/TrackSummaryContainer.h:62
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37