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)
 
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 138 of file TrackSummaryContainer.cxx.

138  :
139  m_mutableTrackBackend(std::make_unique<xAOD::TrackSummaryContainer>()),
140  m_mutableTrackBackendAux(std::make_unique<xAOD::TrackSummaryAuxContainer>())
141 {
144 }

◆ MutableTrackSummaryContainer() [2/3]

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

◆ MutableTrackSummaryContainer() [3/3]

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

Definition at line 146 of file TrackSummaryContainer.cxx.

147  :
148  m_mutableTrackBackend(std::move(other.m_mutableTrackBackend)),
149  m_mutableTrackBackendAux(std::move(other.m_mutableTrackBackendAux))
150 {
153 
154  m_surfaces = std::move(other.m_surfaces);
155  m_decorations = std::move(other.m_decorations);
156 }

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 185 of file TrackSummaryContainer.cxx.

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

◆ clear()

void ActsTrk::MutableTrackSummaryContainer::clear ( )

zeroes container

Definition at line 260 of file TrackSummaryContainer.cxx.

260  {
261  m_mutableTrackBackend->clear();
262  m_surfaces.clear();
263 }

◆ component_impl() [1/3]

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

write access to decorations

Definition at line 217 of file TrackSummaryContainer.cxx.

218  {
219  std::any result = ::component_impl(*m_mutableTrackBackend, key, itrack);
220  if (result.has_value()) {
221  return result;
222  }
223  for (auto& d : m_decorations) {
224  if (d.hash == key) {
225  return d.setter(m_mutableTrackBackendAux.get(), itrack, d.auxid);
226  }
227  }
228  throw std::runtime_error("TrackSummaryContainer no such component " +
230 }

◆ 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 79 of file TrackSummaryContainer.cxx.

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

◆ 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.

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

◆ 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 207 of file TrackSummaryContainer.cxx.

209  {
210  if ( staticVariableHashes.count(key) == 1) { return; }
211  for ( const auto& d: m_decorations) {
212  if (d.hash != key) { continue; }
213  d.copier(m_mutableTrackBackendAux.get(), itrack, d.auxid, src_ptr);
214  }
215 }

◆ covariance() [1/3]

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

write access to covariance

Definition at line 237 of file TrackSummaryContainer.cxx.

238  {
239  return m_mutableTrackBackend->at(itrack)->covParamsEigen();
240 }

◆ covariance() [2/3]

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

covariance of the track fit

Definition at line 100 of file TrackSummaryContainer.cxx.

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

◆ covariance() [3/3]

ActsTrk::ConstCovariance ActsTrk::TrackSummaryContainer::covariance

covariance of the track fit

Definition at line 97 of file TrackSummaryContainer.cxx.

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

◆ decodeSurfaces()

void ActsTrk::TrackSummaryContainer::decodeSurfaces ( const xAOD::TrackSurfaceContainer src)
inherited

Definition at line 125 of file TrackSummaryContainer.cxx.

125  {
126  m_surfaces.reserve(src->size());
127  for ( auto xAODSurfacePtr: *src) {
128  m_surfaces.push_back( decodeSurface(xAODSurfacePtr));
129  }
130 }

◆ dynamicKeys_impl()

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

Definition at line 114 of file TrackSummaryContainer.cxx.

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

◆ encodeSurfaces()

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

Definition at line 270 of file TrackSummaryContainer.cxx.

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

◆ ensureDynamicColumns_impl() [1/2]

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

synchronizes decorations

Definition at line 242 of file TrackSummaryContainer.cxx.

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

◆ ensureDynamicColumns_impl() [2/2]

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

Definition at line 249 of file TrackSummaryContainer.cxx.

250  {
251  for (auto& d : other.m_decorations) {
252  m_decorations.push_back(d);
253  }
254 }

◆ fillFrom()

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

Definition at line 105 of file TrackSummaryContainer.cxx.

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

◆ 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 159 of file TrackSummaryContainer.cxx.

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

◆ parameters() [1/3]

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

write access to parameters

Definition at line 232 of file TrackSummaryContainer.cxx.

233  {
234  return m_mutableTrackBackend->at(itrack)->paramsEigen();
235 }

◆ parameters() [2/3]

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

parameters of the track

Definition at line 95 of file TrackSummaryContainer.cxx.

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

◆ parameters() [3/3]

ActsTrk::ConstParameters ActsTrk::TrackSummaryContainer::parameters

parameters of the track

Definition at line 92 of file TrackSummaryContainer.cxx.

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

◆ particleHypothesis_impl()

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

return pointer to reference surface

Definition at line 42 of file TrackSummaryContainer.cxx.

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

◆ referenceSurface_impl()

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

return pointer to reference surface

Definition at line 33 of file TrackSummaryContainer.cxx.

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

◆ removeTrack_impl()

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

clears track data under index

Definition at line 194 of file TrackSummaryContainer.cxx.

195  {
196  if (itrack >= m_mutableTrackBackend->size()) {
197  throw std::out_of_range("removeTrack_impl track backend");
198  }
199  if (itrack >= m_surfaces.size()) {
200  throw std::out_of_range("removeTrack_impl surfaces");
201  }
202  m_mutableTrackBackend->erase(m_mutableTrackBackend->begin() + itrack);
203  m_surfaces.erase(m_surfaces.begin() + itrack);
204 }

◆ reserve()

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

preallocate number of track objects

Definition at line 256 of file TrackSummaryContainer.cxx.

256  {
257  m_mutableTrackBackend->reserve(size);
258 }

◆ restoreDecorations()

void ActsTrk::TrackSummaryContainer::restoreDecorations ( )
inherited

Definition at line 110 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 287 of file TrackSummaryContainer.cxx.

287  {
288  m_mutableTrackBackend->at(itrack)->setParticleHypothesis(ActsTrk::ParticleHypothesis::convert(particleHypothesis));
289 }

◆ 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 265 of file TrackSummaryContainer.cxx.

266  {
267  m_surfaces[itrack] = surface;
268 }

◆ size_impl()

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

returns number of stored tracks

Definition at line 46 of file TrackSummaryContainer.cxx.

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

◆ 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::hashStringDynamic(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
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:142
ActsTrk::ParticleHypothesis::convert
xAOD::ParticleHypothesis convert(Acts::ParticleHypothesis h)
Definition: ParticleHypothesisEncoding.cxx:12
xAOD::pion
@ pion
Definition: TrackingPrimitives.h:197
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:79
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:110
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:217
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:72
ActsTrk::IndexType
std::uint32_t IndexType
Definition: Decoration.h:14
ActsTrk::detail::accepted_decoration_types
Definition: Decoration.h:33
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:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
xAOD::ParticleHypothesis
ParticleHypothesis
Definition: TrackingPrimitives.h:193
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
python.SystemOfUnits.s
float s
Definition: SystemOfUnits.py:147
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
ActsTrk::decodeSurface
std::shared_ptr< const Acts::Surface > decodeSurface(const xAOD::TrackSurface *backend)
Creates transient Acts Surface objects given a surface backend implementation should be exact mirror ...
Definition: SurfaceEncoding.cxx:136
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37