ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::ActsInspectTruthContentAlg Class Reference

#include <ActsInspectTruthContentAlg.h>

Inheritance diagram for ActsTrk::ActsInspectTruthContentAlg:

Public Types

enum class  EStatClusters : std::size_t {
  kNTotal , kNClustersFromPrimaries , kNClustersWithNoBarcode , kNClustersWith1Contribution ,
  kNClustersWith1ValidContribution , kNClustersWith2Contribution , kNClustersWith2ValidContribution , kNClustersWith3Contribution ,
  kNClustersWith3ValidContribution , kNClustersWith200kBarcode , kNStat
}
enum class  EStatSeeds : std::size_t {
  kNTotal , nKSeedsWith0Matches , nKSeedsWith1Matches , nKSeedsWith2Matches ,
  nKSeedsSame2Matches , nKSeedsWith3Matches , nKSeedsSame3Matches , nKSeedsWith4Matches ,
  nKSeedsSame4Matches , nKSeedsWith5Matches , nKSeedsSame5Matches , nKSeedsWith6Matches ,
  nKSeedsSame6Matches , kNStat
}
enum class  EStatTracks : std::size_t {
  kNTotal , kNFullMatch , kNPerfectMatch , kNTracks0Holes ,
  kNTracks1Holes , kNTracks2Holes , kNTracks3Holes , kNTracks0Outliers ,
  kNTracks1Outliers , kNTracks2Outliers , kNTracks3Outliers , kNStat
}
enum class  SeedType : std::size_t {
  PPP , SSS , PPS , PSS ,
  Others , nTypes
}
enum class  TrackType : std::size_t { Main , nTypes }

Public Member Functions

 ActsInspectTruthContentAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~ActsInspectTruthContentAlg () override=default
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const override
virtual StatusCode finalize () override
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
virtual void setFilterPassed (bool state, const EventContext &ctx) const
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

using cluster_stat_t
using seed_stat_t
using track_stat_t
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

StatusCode fillStatClusters (const xAOD::UncalibratedMeasurementContainer &container, const ActsTrk::MeasurementToTruthParticleAssociation &truth, cluster_stat_t &stat) const
StatusCode fillStatSeeds (const ActsTrk::SeedContainer &seeds, std::array< const ActsTrk::MeasurementToTruthParticleAssociation *, s_nClusterTypes > &truths, seed_stat_t &stat) const
StatusCode fillStatTracks (const ActsTrk::TrackContainer &tracks, std::array< const ActsTrk::MeasurementToTruthParticleAssociation *, s_nClusterTypes > &truths, track_stat_t &trackStat, cluster_stat_t &onTrackClusterStat) const
template<typename row_t, typename coll_t, typename stat_t>
StatusCode printStatTables (const std::string &objectCollectionName, const stat_t &stat) const
template<typename stat_t>
StatusCode copyStatTable (const stat_t &contextual, stat_t &global) const
SeedType deduceSeedType (const ActsTrk::Seed &) const
std::string to_string (xAOD::UncalibMeasType type) const
std::string to_string (ActsInspectTruthContentAlg::SeedType type) const
std::string to_string (ActsInspectTruthContentAlg::TrackType type) const
std::string to_label (ActsInspectTruthContentAlg::EStatClusters type) const
std::string to_label (ActsInspectTruthContentAlg::EStatSeeds type) const
std::string to_label (ActsInspectTruthContentAlg::EStatTracks type) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

SG::ReadHandleKeyArray< xAOD::UncalibratedMeasurementContainerm_clusters {this, "Clusters", {}}
SG::ReadHandleKeyArray< ActsTrk::SeedContainerm_seeds {this, "Seeds", {}}
SG::ReadHandleKeyArray< ActsTrk::MeasurementToTruthParticleAssociationm_associationMap_key {this,"TruthAssociationMaps", {}}
SG::ReadHandleKeyArray< ActsTrk::TrackContainerm_tracks {this, "Tracks", {}}
std::mutex m_mutex ATLAS_THREAD_SAFE {}
cluster_stat_t m_clusterStat ATLAS_THREAD_SAFE {}
seed_stat_t m_seedStat ATLAS_THREAD_SAFE {}
std::vector< std::pair< std::string, track_stat_t > > m_trackStat ATLAS_THREAD_SAFE {}
std::vector< std::pair< std::string, cluster_stat_t > > m_onTrack_clusterStat ATLAS_THREAD_SAFE {}
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Static Private Attributes

static constexpr std::size_t s_nClusterTypes = static_cast<std::size_t>(xAOD::UncalibMeasType::nTypes)
static constexpr std::size_t s_nSeedTypes = static_cast<std::size_t>(SeedType::nTypes)

Detailed Description

Definition at line 18 of file ActsInspectTruthContentAlg.h.

Member Typedef Documentation

◆ cluster_stat_t

Initial value:
std::array<
std::array<std::size_t, s_nClusterTypes>,
static_cast<std::size_t>(EStatClusters::kNStat)>

Definition at line 92 of file ActsInspectTruthContentAlg.h.

◆ seed_stat_t

Initial value:
std::array<
std::array<std::size_t, s_nSeedTypes>,
static_cast<std::size_t>(EStatSeeds::kNStat)>

Definition at line 95 of file ActsInspectTruthContentAlg.h.

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

◆ track_stat_t

Initial value:
std::array<
std::array<std::size_t, 1>,
static_cast<std::size_t>(EStatTracks::kNStat)>

Definition at line 98 of file ActsInspectTruthContentAlg.h.

Member Enumeration Documentation

◆ EStatClusters

enum class ActsTrk::ActsInspectTruthContentAlg::EStatClusters : std::size_t
strong
Enumerator
kNTotal 
kNClustersFromPrimaries 
kNClustersWithNoBarcode 
kNClustersWith1Contribution 
kNClustersWith1ValidContribution 
kNClustersWith2Contribution 
kNClustersWith2ValidContribution 
kNClustersWith3Contribution 
kNClustersWith3ValidContribution 
kNClustersWith200kBarcode 
kNStat 

Definition at line 29 of file ActsInspectTruthContentAlg.h.

29 : std::size_t {
30 kNTotal,
31 kNClustersFromPrimaries,
32 kNClustersWithNoBarcode,
33 kNClustersWith1Contribution,
34 kNClustersWith1ValidContribution,
35 kNClustersWith2Contribution,
36 kNClustersWith2ValidContribution,
37 kNClustersWith3Contribution,
38 kNClustersWith3ValidContribution,
39 kNClustersWith200kBarcode,
40 kNStat
41 };

◆ EStatSeeds

enum class ActsTrk::ActsInspectTruthContentAlg::EStatSeeds : std::size_t
strong
Enumerator
kNTotal 
nKSeedsWith0Matches 
nKSeedsWith1Matches 
nKSeedsWith2Matches 
nKSeedsSame2Matches 
nKSeedsWith3Matches 
nKSeedsSame3Matches 
nKSeedsWith4Matches 
nKSeedsSame4Matches 
nKSeedsWith5Matches 
nKSeedsSame5Matches 
nKSeedsWith6Matches 
nKSeedsSame6Matches 
kNStat 

Definition at line 43 of file ActsInspectTruthContentAlg.h.

43 : std::size_t {
44 kNTotal,
45 nKSeedsWith0Matches,
46 nKSeedsWith1Matches,
47 nKSeedsWith2Matches,
48 nKSeedsSame2Matches,
49 nKSeedsWith3Matches,
50 nKSeedsSame3Matches,
51 nKSeedsWith4Matches,
52 nKSeedsSame4Matches,
53 nKSeedsWith5Matches,
54 nKSeedsSame5Matches,
55 nKSeedsWith6Matches,
56 nKSeedsSame6Matches,
57 kNStat
58 };

◆ EStatTracks

enum class ActsTrk::ActsInspectTruthContentAlg::EStatTracks : std::size_t
strong
Enumerator
kNTotal 
kNFullMatch 
kNPerfectMatch 
kNTracks0Holes 
kNTracks1Holes 
kNTracks2Holes 
kNTracks3Holes 
kNTracks0Outliers 
kNTracks1Outliers 
kNTracks2Outliers 
kNTracks3Outliers 
kNStat 

Definition at line 60 of file ActsInspectTruthContentAlg.h.

60 : std::size_t {
61 kNTotal,
62 kNFullMatch,
63 kNPerfectMatch,
64 kNTracks0Holes,
65 kNTracks1Holes,
66 kNTracks2Holes,
67 kNTracks3Holes,
68 kNTracks0Outliers,
69 kNTracks1Outliers,
70 kNTracks2Outliers,
71 kNTracks3Outliers,
72 kNStat
73 };

◆ SeedType

enum class ActsTrk::ActsInspectTruthContentAlg::SeedType : std::size_t
strong
Enumerator
PPP 
SSS 
PPS 
PSS 
Others 
nTypes 

Definition at line 75 of file ActsInspectTruthContentAlg.h.

75 : std::size_t {
76 PPP,
77 SSS,
78 PPS,
79 PSS,
80 Others,
81 nTypes
82 };

◆ TrackType

enum class ActsTrk::ActsInspectTruthContentAlg::TrackType : std::size_t
strong
Enumerator
Main 
nTypes 

Definition at line 84 of file ActsInspectTruthContentAlg.h.

84 : std::size_t {
85 Main,
86 nTypes
87 };

Constructor & Destructor Documentation

◆ ActsInspectTruthContentAlg()

ActsTrk::ActsInspectTruthContentAlg::ActsInspectTruthContentAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 13 of file ActsInspectTruthContentAlg.cxx.

15 : AthReentrantAlgorithm(name, pSvcLocator)
16 {}

◆ ~ActsInspectTruthContentAlg()

virtual ActsTrk::ActsInspectTruthContentAlg::~ActsInspectTruthContentAlg ( )
overridevirtualdefault

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

62{
63 return 0;
64}

◆ copyStatTable()

template<typename stat_t>
StatusCode ActsTrk::ActsInspectTruthContentAlg::copyStatTable ( const stat_t & contextual,
stat_t & global ) const
private

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ deduceSeedType()

ActsInspectTruthContentAlg::SeedType ActsTrk::ActsInspectTruthContentAlg::deduceSeedType ( const ActsTrk::Seed & seed) const
private

Definition at line 273 of file ActsInspectTruthContentAlg.cxx.

273 {
274 assert(seed.sp().size() == 3ul);
275 const auto& bottom = seed.sp().at(0);
276 const auto& middle = seed.sp().at(1);
277 const auto& top = seed.sp().at(2);
278 xAOD::UncalibMeasType bottom_type = bottom->measurements().front()->type();
279 xAOD::UncalibMeasType middle_type = middle->measurements().front()->type();
280 xAOD::UncalibMeasType top_type = top->measurements().front()->type();
281
282 if (bottom_type == xAOD::UncalibMeasType::PixelClusterType and
285 return SeedType::PPP;
286 } else if (bottom_type == xAOD::UncalibMeasType::PixelClusterType and
289 return SeedType::PPS;
290 } else if (bottom_type == xAOD::UncalibMeasType::PixelClusterType and
293 return SeedType::PSS;
294 } else if (bottom_type == xAOD::UncalibMeasType::StripClusterType and
297 return SeedType::SSS;
298 } else {
299 return SeedType::Others;
300 }
301 }
@ top
UncalibMeasType
Define the type of the uncalibrated measurement.

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode ActsTrk::ActsInspectTruthContentAlg::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 75 of file ActsInspectTruthContentAlg.cxx.

75 {
76 ATH_MSG_DEBUG( "Executing " << name() << " ..." );
77
78 // contextual stat collectors
79 cluster_stat_t clusterStat {};
80 seed_stat_t seedStat {};
81
82 std::array<const ActsTrk::MeasurementToTruthParticleAssociation*, s_nClusterTypes> truths {};
83 // Fill Stat info for Cluster collection(s)
84 for (std::size_t i(0); i<m_clusters.size(); ++i) {
85 ATH_MSG_DEBUG( "Retrieving cluster collection with key " << m_clusters.at(i).key() );
86 SG::ReadHandle<xAOD::UncalibratedMeasurementContainer> clusterHandle = SG::makeHandle( m_clusters.at(i), ctx );
87 ATH_CHECK( clusterHandle.isValid() );
89
90 if (clusters->empty()) continue;
91 xAOD::UncalibMeasType elementType = clusters->front()->type();
92
93 ATH_MSG_DEBUG( "Retrieving Measurement to Truth Particle Association map with key: " << m_associationMap_key.at(i).key() );
94 SG::ReadHandle<ActsTrk::MeasurementToTruthParticleAssociation> truthHandle = SG::makeHandle( m_associationMap_key.at(i), ctx );
95 ATH_CHECK( truthHandle.isValid() );
96 truths[static_cast<std::size_t>(elementType)] = truthHandle.cptr();
97
98 // Check truth and clusters are compatible
99 ATH_CHECK( truths[static_cast<std::size_t>(elementType)]->isCompatibleWith(clusters) );
100
101 ATH_CHECK( fillStatClusters(*clusters,
102 *truths[static_cast<std::size_t>(elementType)],
103 clusterStat) );
104 }
105
106 ATH_CHECK( copyStatTable(clusterStat, m_clusterStat) );
107
108 for (std::size_t i(0); i<m_seeds.size(); ++i) {
109 ATH_MSG_DEBUG( "Retrieving seed collection with key: " << m_seeds.at(i).key() );
110 SG::ReadHandle<ActsTrk::SeedContainer> seedHandle = SG::makeHandle( m_seeds.at(i), ctx );
111 ATH_CHECK( seedHandle.isValid() );
112 const ActsTrk::SeedContainer* seeds = seedHandle.cptr();
113
114 ATH_CHECK( fillStatSeeds(*seeds,
115 truths,
116 seedStat) );
117 }
118
119 ATH_CHECK( copyStatTable(seedStat, m_seedStat) );
120
121 for (std::size_t i(0); i<m_tracks.size(); ++i) {
122 ATH_MSG_DEBUG( "Retrieving tracks collection with key " << m_tracks.at(i).key() );
123 SG::ReadHandle<ActsTrk::TrackContainer> trackHandle = SG::makeHandle( m_tracks.at(i), ctx );
124 ATH_CHECK( trackHandle.isValid() );
125 const ActsTrk::TrackContainer* tracks = trackHandle.cptr();
126
127 cluster_stat_t onTrack_clusterStat {};
128 track_stat_t trackStat {};
129 ATH_CHECK( fillStatTracks(*tracks,
130 truths,
131 trackStat,
132 onTrack_clusterStat) );
133
134 ATH_CHECK( copyStatTable(trackStat, m_trackStat.at(i).second) );
135 ATH_CHECK( copyStatTable(onTrack_clusterStat, m_onTrack_clusterStat.at(i).second) );
136 }
137
138 return StatusCode::SUCCESS;
139 }
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
SG::ReadHandleKeyArray< ActsTrk::SeedContainer > m_seeds
StatusCode fillStatClusters(const xAOD::UncalibratedMeasurementContainer &container, const ActsTrk::MeasurementToTruthParticleAssociation &truth, cluster_stat_t &stat) const
std::array< std::array< std::size_t, 1 >, static_cast< std::size_t >(EStatTracks::kNStat)> track_stat_t
std::array< std::array< std::size_t, s_nClusterTypes >, static_cast< std::size_t >(EStatClusters::kNStat)> cluster_stat_t
SG::ReadHandleKeyArray< ActsTrk::TrackContainer > m_tracks
StatusCode copyStatTable(const stat_t &contextual, stat_t &global) const
StatusCode fillStatTracks(const ActsTrk::TrackContainer &tracks, std::array< const ActsTrk::MeasurementToTruthParticleAssociation *, s_nClusterTypes > &truths, track_stat_t &trackStat, cluster_stat_t &onTrackClusterStat) const
StatusCode fillStatSeeds(const ActsTrk::SeedContainer &seeds, std::array< const ActsTrk::MeasurementToTruthParticleAssociation *, s_nClusterTypes > &truths, seed_stat_t &stat) const
std::array< std::array< std::size_t, s_nSeedTypes >, static_cast< std::size_t >(EStatSeeds::kNStat)> seed_stat_t
SG::ReadHandleKeyArray< xAOD::UncalibratedMeasurementContainer > m_clusters
SG::ReadHandleKeyArray< ActsTrk::MeasurementToTruthParticleAssociation > m_associationMap_key
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
UncalibratedMeasurementContainer_v1 UncalibratedMeasurementContainer
Define the version of the uncalibrated measurement container.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

88{
89 // If we didn't find any symlinks to add, just return the collection
90 // from the base class. Otherwise, return the extended collection.
91 if (!m_extendedExtraObjects.empty()) {
93 }
95}
An algorithm that can be simultaneously executed in multiple threads.

◆ fillStatClusters()

StatusCode ActsTrk::ActsInspectTruthContentAlg::fillStatClusters ( const xAOD::UncalibratedMeasurementContainer & container,
const ActsTrk::MeasurementToTruthParticleAssociation & truth,
typename ActsInspectTruthContentAlg::cluster_stat_t & stat ) const
private

Definition at line 142 of file ActsInspectTruthContentAlg.cxx.

145 {
146 ATH_MSG_DEBUG( "Checking truth for clusters ..." );
147 for (const xAOD::UncalibratedMeasurement* meas : container) {
148 std::size_t clusterTypeIndex = static_cast<std::size_t>(meas->type());
149 ++stat[Acts::toUnderlying(EStatClusters::kNTotal)][clusterTypeIndex];
150 const auto& tps = truth.at(meas->index());
151
152 // get number of (valid) contributions
153 if (tps.empty()) {
154 ++stat[Acts::toUnderlying(EStatClusters::kNClustersWithNoBarcode)][clusterTypeIndex];
155 continue;
156 }
157
158 // Check all barcodes are from primary particles
159 bool allValidParticles = true;
160 for (const auto* tp : tps) {
161 if ( not HepMC::is_simulation_particle(*tp) ) continue;
162 allValidParticles = false;
163 break;
164 }
165
166 if (tps.size() == 1) {
167 ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith1Contribution)][clusterTypeIndex];
168 if (allValidParticles) ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith1ValidContribution)][clusterTypeIndex];
169 }
170 else if (tps.size() == 2) {
171 ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith2Contribution)][clusterTypeIndex];
172 if (allValidParticles) ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith2ValidContribution)][clusterTypeIndex];
173 }
174 else {
175 ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith3Contribution)][clusterTypeIndex];
176 if (allValidParticles) ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith3ValidContribution)][clusterTypeIndex];
177 }
178
179 // get main contribution
180 bool hasContributionFromPrimaryParticle = false;
181 for (const auto* tp : tps) {
182 if ( HepMC::is_simulation_particle(*tp) ) continue;
183 hasContributionFromPrimaryParticle = true;
184 break;
185 }
186
187 if (not hasContributionFromPrimaryParticle) ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith200kBarcode)][clusterTypeIndex];
188 else ++stat[Acts::toUnderlying(EStatClusters::kNClustersFromPrimaries)][clusterTypeIndex];
189 }
190
191 return StatusCode::SUCCESS;
192 }
bool is_simulation_particle(const T &p)
Method to establish if a particle (or barcode) was created during the simulation (TODO update to be s...
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.

◆ fillStatSeeds()

StatusCode ActsTrk::ActsInspectTruthContentAlg::fillStatSeeds ( const ActsTrk::SeedContainer & seeds,
std::array< const ActsTrk::MeasurementToTruthParticleAssociation *, s_nClusterTypes > & truths,
seed_stat_t & stat ) const
private

Definition at line 195 of file ActsInspectTruthContentAlg.cxx.

198 {
199 ATH_MSG_DEBUG( "Checking truth for seeds ..." );
200 for (std::size_t i(0); i<seeds.size(); ++i) {
201 ActsTrk::Seed seed = seeds.at(i);
202
203 int nMatches = 0;
204 int nMeasurements = 0;
205 std::unordered_map<std::size_t, int> particleIds {};
206
207 std::size_t seedType = Acts::toUnderlying(deduceSeedType(seed));
208 ++stat[Acts::toUnderlying(EStatSeeds::kNTotal)][seedType];
209
210 const auto& sps = seed.sp();
211 for ( const xAOD::SpacePoint* sp : sps ) {
212 const auto& measurements = sp->measurements();
213 for (const xAOD::UncalibratedMeasurement* meas : measurements ) {
215
216 std::size_t clusterTypeIndex = Acts::toUnderlying(meas->type());
217 const ActsTrk::MeasurementToTruthParticleAssociation* truth = truths.at(clusterTypeIndex);
218 auto tps = truth->at(meas->index());
219
220 if (tps.empty()) continue;
221
222 bool contributionOnlyFromSimulationParticles = true;
223 for (const auto* tp : tps) {
224 if ( HepMC::is_simulation_particle(*tp) ) continue;
225 contributionOnlyFromSimulationParticles = false;
226
227 std::size_t pid = HepMC::uniqueID(tp);
228 particleIds.try_emplace( pid, 0 );
229 ++particleIds[pid];
230 }
231 if (contributionOnlyFromSimulationParticles) continue;
232
233 ++nMatches;
234 } // loop on measurements
235 } // loop on space points
236
237 // check if we have measurements associated to the same particle id
238 // if the number of entries for the same id (the key) is the same as the
239 // number of measurements in the seed, then we have a match
240 bool isFromSameParticle = false;
241 for (const auto [pid, nEntries] : particleIds) {
242 if (nEntries != nMeasurements) continue;
243 isFromSameParticle = true;
244 break;
245 }
246
247
248 if (nMatches == 0) {
249 ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsWith0Matches)][seedType];
250 } else if (nMatches == 1) {
251 ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsWith1Matches)][seedType];
252 } else if (nMatches == 2) {
253 ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsWith2Matches)][seedType];
254 if (isFromSameParticle) ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsSame2Matches)][seedType];
255 } else if (nMatches == 3) {
256 ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsWith3Matches)][seedType];
257 if (isFromSameParticle) ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsSame3Matches)][seedType];
258 } else if (nMatches == 4) {
259 ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsWith4Matches)][seedType];
260 if (isFromSameParticle) ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsSame4Matches)][seedType];
261 } else if (nMatches == 5) {
262 ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsWith5Matches)][seedType];
263 if (isFromSameParticle) ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsSame5Matches)][seedType];
264 } else if (nMatches == 6) {
265 ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsWith6Matches)][seedType];
266 if (isFromSameParticle) ++stat[Acts::toUnderlying(EStatSeeds::nKSeedsSame6Matches)][seedType];
267 }
268 } // loop on seed
269
270 return StatusCode::SUCCESS;
271 }
static Double_t sp
SeedType deduceSeedType(const ActsTrk::Seed &) const
int uniqueID(const T &p)
std::size_t nMeasurements(const xAOD::MuonSegment &segment)
Returns the number of associated Uncalibrated measurements.
Seed at(Index index) const
std::size_t size() const noexcept

◆ fillStatTracks()

StatusCode ActsTrk::ActsInspectTruthContentAlg::fillStatTracks ( const ActsTrk::TrackContainer & tracks,
std::array< const ActsTrk::MeasurementToTruthParticleAssociation *, s_nClusterTypes > & truths,
track_stat_t & trackStat,
cluster_stat_t & onTrackClusterStat ) const
private

Definition at line 304 of file ActsInspectTruthContentAlg.cxx.

307 {
308 ATH_MSG_DEBUG( "Checking truth for tracks ..." );
309 for (const auto track : tracks) {
310 ++trackStat[Acts::toUnderlying(EStatTracks::kNTotal)][0];
311 std::size_t nHoles = track.nHoles();
312 if (nHoles == 0) ++trackStat[Acts::toUnderlying(EStatTracks::kNTracks0Holes)][0];
313 else if (nHoles == 1) ++trackStat[Acts::toUnderlying(EStatTracks::kNTracks1Holes)][0];
314 else if (nHoles == 2) ++trackStat[Acts::toUnderlying(EStatTracks::kNTracks2Holes)][0];
315 else ++trackStat[Acts::toUnderlying(EStatTracks::kNTracks3Holes)][0];
316
317 std::size_t nOutliers = track.nOutliers();
318 if (nOutliers == 0) ++trackStat[Acts::toUnderlying(EStatTracks::kNTracks0Outliers)][0];
319 else if (nOutliers == 1) ++trackStat[Acts::toUnderlying(EStatTracks::kNTracks1Outliers)][0];
320 else if (nOutliers == 2) ++trackStat[Acts::toUnderlying(EStatTracks::kNTracks2Outliers)][0];
321 else ++trackStat[Acts::toUnderlying(EStatTracks::kNTracks3Outliers)][0];
322
323
324 bool AllValids = true;
325 int nConsideredMeasurements = 0;
326 std::unordered_map<std::size_t, int> particleIds {};
327
328 // on track clusters
329 track.container()
330 .trackStateContainer().visitBackwards(track.tipIndex(),
331 [&truths, &onTrackStat,
332 &AllValids,
333 &nConsideredMeasurements, &particleIds]
334 (const auto& state) {
335 auto flags = state.typeFlags();
336 if (not flags.hasMeasurement()) return;
337 ++nConsideredMeasurements;
338
339 // get cluster
340 auto sl = state.getUncalibratedSourceLink().template get<ATLASUncalibSourceLink>();
341 assert( sl != nullptr);
342 const xAOD::UncalibratedMeasurement &meas = getUncalibratedMeasurement(sl);
343
344 std::size_t clusterTypeIndex = Acts::toUnderlying(meas.type());
345 ++onTrackStat[Acts::toUnderlying(EStatClusters::kNTotal)][clusterTypeIndex];
346
347 const ActsTrk::MeasurementToTruthParticleAssociation* truth = truths[clusterTypeIndex];
348 const auto& tps = truth->at(meas.index());
349
350 if (tps.empty()) {
351 ++onTrackStat[Acts::toUnderlying(EStatClusters::kNClustersWithNoBarcode)][clusterTypeIndex];
352 AllValids = false;
353 return;
354 }
355
356 bool allBarcodesValid = true;
357 bool hasContributionFromPrimaryParticle = false;
358 for (const auto* tp : tps) {
359 if ( not HepMC::is_simulation_particle(*tp) ) {
360 hasContributionFromPrimaryParticle = true;
361 continue;
362 }
363 allBarcodesValid = false;
364 break;
365 }
366 if (not hasContributionFromPrimaryParticle) AllValids = false;
367
368 if (tps.size() == 1) {
369 ++onTrackStat[Acts::toUnderlying(EStatClusters::kNClustersWith1Contribution)][clusterTypeIndex];
370 if (allBarcodesValid) ++onTrackStat[Acts::toUnderlying(EStatClusters::kNClustersWith1ValidContribution)][clusterTypeIndex];
371 }
372 else if (tps.size() == 2) {
373 ++onTrackStat[Acts::toUnderlying(EStatClusters::kNClustersWith2Contribution)][clusterTypeIndex];
374 if (allBarcodesValid) ++onTrackStat[Acts::toUnderlying(EStatClusters::kNClustersWith2ValidContribution)][clusterTypeIndex];
375 }
376 else {
377 ++onTrackStat[Acts::toUnderlying(EStatClusters::kNClustersWith3Contribution)][clusterTypeIndex];
378 if (allBarcodesValid) ++onTrackStat[Acts::toUnderlying(EStatClusters::kNClustersWith3ValidContribution)][clusterTypeIndex];
379 }
380
381 bool contributionOnlyFromSimulationParticles = true;
382 for (const auto* tp : tps) {
383 if ( HepMC::is_simulation_particle(*tp) ) continue;
384 contributionOnlyFromSimulationParticles = false;
385
386 std::size_t pid = HepMC::uniqueID(tp);
387 particleIds.try_emplace( pid, 0 );
388 ++particleIds[pid];
389 }
390
391 // get main contribution
392 if (contributionOnlyFromSimulationParticles) ++onTrackStat[Acts::toUnderlying(EStatClusters::kNClustersWith200kBarcode)][clusterTypeIndex];
393 else ++onTrackStat[Acts::toUnderlying(EStatClusters::kNClustersFromPrimaries)][clusterTypeIndex];
394 }); // llop on states
395
396 bool AllSameBarcode = false;
397 for ( const auto [pid, nEntries] : particleIds ) {
398 if (nEntries != nConsideredMeasurements) continue;
399 AllSameBarcode = true;
400 break;
401 }
402
403 if (AllValids) ++trackStat[Acts::toUnderlying(EStatTracks::kNFullMatch)][0];
404 if (AllSameBarcode) ++trackStat[Acts::toUnderlying(EStatTracks::kNPerfectMatch)][0];
405 } // loop on tracks
406
407 return StatusCode::SUCCESS;
408 }
if(pathvar)
for(size_t i=0;i< m_blockFillers.size();i++)
Fill one block.

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96 {
97 return execState( ctx ).filterPassed();
98 }
virtual bool filterPassed(const EventContext &ctx) const

◆ finalize()

StatusCode ActsTrk::ActsInspectTruthContentAlg::finalize ( )
overridevirtual

Definition at line 41 of file ActsInspectTruthContentAlg.cxx.

41 {
42 ATH_MSG_INFO( "Finalizing " << name() << " ..." );
43 ATH_MSG_INFO( "Statistics from Seed check with truth info:" );
44
46 ATH_MSG_FATAL("Problem dumping Cluster truth information");
47 return StatusCode::FAILURE;
48 }
49
51 ATH_MSG_FATAL("Problem dumping Seed truth information");
52 return StatusCode::FAILURE;
53 }
54
55 for (const auto& [trackCollectionName, onTrackStat] : m_onTrack_clusterStat) {
56 std::string reportName = "On Track Clusters (" + trackCollectionName + ")";
58 ATH_MSG_FATAL("Problem dumping On Track Cluster truth info (" << trackCollectionName << ")");
59 return StatusCode::FAILURE;
60 }
61 }
62
63 for (const auto& [trackCollectionName, trackStat] : m_trackStat) {
64 std::string reportName = "Track (" + trackCollectionName + ")";
66 ATH_MSG_FATAL("Problem dumping Track truth info (" << trackCollectionName << ")");
67 return StatusCode::FAILURE;
68 }
69 }
70
71 return StatusCode::SUCCESS;
72 }
#define ATH_MSG_FATAL(x)
#define ATH_MSG_INFO(x)
StatusCode printStatTables(const std::string &objectCollectionName, const stat_t &stat) const

◆ initialize()

StatusCode ActsTrk::ActsInspectTruthContentAlg::initialize ( )
overridevirtual

Definition at line 18 of file ActsInspectTruthContentAlg.cxx.

18 {
19 ATH_MSG_INFO( "Initializing " << name() << " ..." );
20
21 ATH_CHECK( m_clusters.initialize() );
22 ATH_CHECK( m_seeds.initialize() );
23 ATH_CHECK( m_associationMap_key.initialize() );
24 ATH_CHECK( m_tracks.initialize() );
25
26 if (m_clusters.size() != m_associationMap_key.size()) {
27 ATH_MSG_ERROR("Inconsistent sizes of Clusters and TruthAssociationMaps");
28 return StatusCode::FAILURE;
29 }
30
31 for (const auto& trackKey : m_tracks) {
32 std::string containerName = trackKey.key();
33 m_onTrack_clusterStat.push_back( std::make_pair(containerName, cluster_stat_t()) );
34 m_trackStat.push_back( std::make_pair(containerName, track_stat_t()) );
35 }
36
37 return StatusCode::SUCCESS;
38 }
#define ATH_MSG_ERROR(x)

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ printStatTables()

template<typename row_t, typename coll_t, typename stat_t>
StatusCode ActsTrk::ActsInspectTruthContentAlg::printStatTables ( const std::string & objectCollectionName,
const stat_t & stat ) const
private

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100 {
102 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

75{
76 return BaseAlg::sysExecute (ctx);
77}

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in HypoBase, and InputMakerBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

105 {
107
108 if (sc.isFailure()) {
109 return sc;
110 }
111
112 ServiceHandle<ICondSvc> cs("CondSvc",name());
113 for (auto h : outputHandles()) {
114 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
115 // do this inside the loop so we don't create the CondSvc until needed
116 if ( cs.retrieve().isFailure() ) {
117 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
118 return StatusCode::SUCCESS;
119 }
120 if (cs->regHandle(this,*h).isFailure()) {
122 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
123 << " with CondSvc");
124 }
125 }
126 }
127 return sc;
128}
#define ATH_MSG_WARNING(x)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ to_label() [1/3]

std::string ActsTrk::ActsInspectTruthContentAlg::to_label ( ActsInspectTruthContentAlg::EStatClusters type) const
inlineprivate

◆ to_label() [2/3]

std::string ActsTrk::ActsInspectTruthContentAlg::to_label ( ActsInspectTruthContentAlg::EStatSeeds type) const
inlineprivate

◆ to_label() [3/3]

std::string ActsTrk::ActsInspectTruthContentAlg::to_label ( ActsInspectTruthContentAlg::EStatTracks type) const
inlineprivate

◆ to_string() [1/3]

std::string ActsTrk::ActsInspectTruthContentAlg::to_string ( ActsInspectTruthContentAlg::SeedType type) const
inlineprivate

◆ to_string() [2/3]

std::string ActsTrk::ActsInspectTruthContentAlg::to_string ( ActsInspectTruthContentAlg::TrackType type) const
inlineprivate

◆ to_string() [3/3]

std::string ActsTrk::ActsInspectTruthContentAlg::to_string ( xAOD::UncalibMeasType type) const
inlineprivate

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ ATLAS_THREAD_SAFE [1/5]

std::vector<std::pair<std::string, cluster_stat_t> > m_onTrack_clusterStat ActsTrk::ActsInspectTruthContentAlg::ATLAS_THREAD_SAFE {}
mutableprivate

Definition at line 134 of file ActsInspectTruthContentAlg.h.

134{};

◆ ATLAS_THREAD_SAFE [2/5]

std::vector<std::pair<std::string, track_stat_t> > m_trackStat ActsTrk::ActsInspectTruthContentAlg::ATLAS_THREAD_SAFE {}
mutableprivate

Definition at line 133 of file ActsInspectTruthContentAlg.h.

133{};

◆ ATLAS_THREAD_SAFE [3/5]

seed_stat_t m_seedStat ActsTrk::ActsInspectTruthContentAlg::ATLAS_THREAD_SAFE {}
mutableprivate

Definition at line 132 of file ActsInspectTruthContentAlg.h.

132{};

◆ ATLAS_THREAD_SAFE [4/5]

cluster_stat_t m_clusterStat ActsTrk::ActsInspectTruthContentAlg::ATLAS_THREAD_SAFE {}
mutableprivate

Definition at line 131 of file ActsInspectTruthContentAlg.h.

131{};

◆ ATLAS_THREAD_SAFE [5/5]

std::mutex m_mutex ActsTrk::ActsInspectTruthContentAlg::ATLAS_THREAD_SAFE {}
mutableprivate

Definition at line 130 of file ActsInspectTruthContentAlg.h.

130{};

◆ m_associationMap_key

SG::ReadHandleKeyArray<ActsTrk::MeasurementToTruthParticleAssociation> ActsTrk::ActsInspectTruthContentAlg::m_associationMap_key {this,"TruthAssociationMaps", {}}
private

Definition at line 126 of file ActsInspectTruthContentAlg.h.

126{this,"TruthAssociationMaps", {}};

◆ m_clusters

SG::ReadHandleKeyArray<xAOD::UncalibratedMeasurementContainer> ActsTrk::ActsInspectTruthContentAlg::m_clusters {this, "Clusters", {}}
private

Definition at line 124 of file ActsInspectTruthContentAlg.h.

124{this, "Clusters", {}};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_seeds

SG::ReadHandleKeyArray<ActsTrk::SeedContainer> ActsTrk::ActsInspectTruthContentAlg::m_seeds {this, "Seeds", {}}
private

Definition at line 125 of file ActsInspectTruthContentAlg.h.

125{this, "Seeds", {}};

◆ m_tracks

SG::ReadHandleKeyArray<ActsTrk::TrackContainer> ActsTrk::ActsInspectTruthContentAlg::m_tracks {this, "Tracks", {}}
private

Definition at line 127 of file ActsInspectTruthContentAlg.h.

127{this, "Tracks", {}};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.

◆ s_nClusterTypes

std::size_t ActsTrk::ActsInspectTruthContentAlg::s_nClusterTypes = static_cast<std::size_t>(xAOD::UncalibMeasType::nTypes)
staticconstexprprivate

Definition at line 90 of file ActsInspectTruthContentAlg.h.

◆ s_nSeedTypes

std::size_t ActsTrk::ActsInspectTruthContentAlg::s_nSeedTypes = static_cast<std::size_t>(SeedType::nTypes)
staticconstexprprivate

Definition at line 91 of file ActsInspectTruthContentAlg.h.


The documentation for this class was generated from the following files: