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 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
 Get filter decision:
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 Set filter decision:
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 14 of file ActsInspectTruthContentAlg.cxx.

16 : AthReentrantAlgorithm(name, pSvcLocator)
17 {}

◆ ~ActsInspectTruthContentAlg()

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

Member Function Documentation

◆ 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 274 of file ActsInspectTruthContentAlg.cxx.

274 {
275 assert(seed.sp().size() == 3ul);
276 const auto& bottom = seed.sp().at(0);
277 const auto& middle = seed.sp().at(1);
278 const auto& top = seed.sp().at(2);
279 xAOD::UncalibMeasType bottom_type = bottom->measurements().front()->type();
280 xAOD::UncalibMeasType middle_type = middle->measurements().front()->type();
281 xAOD::UncalibMeasType top_type = top->measurements().front()->type();
282
283 if (bottom_type == xAOD::UncalibMeasType::PixelClusterType and
286 return SeedType::PPP;
287 } else if (bottom_type == xAOD::UncalibMeasType::PixelClusterType and
290 return SeedType::PPS;
291 } else if (bottom_type == xAOD::UncalibMeasType::PixelClusterType and
294 return SeedType::PSS;
295 } else if (bottom_type == xAOD::UncalibMeasType::StripClusterType and
298 return SeedType::SSS;
299 } else {
300 return SeedType::Others;
301 }
302 }
@ 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 76 of file ActsInspectTruthContentAlg.cxx.

76 {
77 ATH_MSG_DEBUG( "Executing " << name() << " ..." );
78
79 // contextual stat collectors
80 cluster_stat_t clusterStat {};
81 seed_stat_t seedStat {};
82
83 std::array<const ActsTrk::MeasurementToTruthParticleAssociation*, s_nClusterTypes> truths {};
84 // Fill Stat info for Cluster collection(s)
85 for (std::size_t i(0); i<m_clusters.size(); ++i) {
86 ATH_MSG_DEBUG( "Retrieving cluster collection with key " << m_clusters.at(i).key() );
87 SG::ReadHandle<xAOD::UncalibratedMeasurementContainer> clusterHandle = SG::makeHandle( m_clusters.at(i), ctx );
88 ATH_CHECK( clusterHandle.isValid() );
90
91 if (clusters->empty()) continue;
92 xAOD::UncalibMeasType elementType = clusters->front()->type();
93
94 ATH_MSG_DEBUG( "Retrieving Measurement to Truth Particle Association map with key: " << m_associationMap_key.at(i).key() );
95 SG::ReadHandle<ActsTrk::MeasurementToTruthParticleAssociation> truthHandle = SG::makeHandle( m_associationMap_key.at(i), ctx );
96 ATH_CHECK( truthHandle.isValid() );
97 truths[static_cast<std::size_t>(elementType)] = truthHandle.cptr();
98
99 // Check truth and clusters are compatible
100 ATH_CHECK( truths[static_cast<std::size_t>(elementType)]->isCompatibleWith(clusters) );
101
102 ATH_CHECK( fillStatClusters(*clusters,
103 *truths[static_cast<std::size_t>(elementType)],
104 clusterStat) );
105 }
106
107 ATH_CHECK( copyStatTable(clusterStat, m_clusterStat) );
108
109 for (std::size_t i(0); i<m_seeds.size(); ++i) {
110 ATH_MSG_DEBUG( "Retrieving seed collection with key: " << m_seeds.at(i).key() );
111 SG::ReadHandle<ActsTrk::SeedContainer> seedHandle = SG::makeHandle( m_seeds.at(i), ctx );
112 ATH_CHECK( seedHandle.isValid() );
113 const ActsTrk::SeedContainer* seeds = seedHandle.cptr();
114
115 ATH_CHECK( fillStatSeeds(*seeds,
116 truths,
117 seedStat) );
118 }
119
120 ATH_CHECK( copyStatTable(seedStat, m_seedStat) );
121
122 for (std::size_t i(0); i<m_tracks.size(); ++i) {
123 ATH_MSG_DEBUG( "Retrieving tracks collection with key " << m_tracks.at(i).key() );
124 SG::ReadHandle<ActsTrk::TrackContainer> trackHandle = SG::makeHandle( m_tracks.at(i), ctx );
125 ATH_CHECK( trackHandle.isValid() );
126 const ActsTrk::TrackContainer* tracks = trackHandle.cptr();
127
128 cluster_stat_t onTrack_clusterStat {};
129 track_stat_t trackStat {};
130 ATH_CHECK( fillStatTracks(*tracks,
131 truths,
132 trackStat,
133 onTrack_clusterStat) );
134
135 ATH_CHECK( copyStatTable(trackStat, m_trackStat.at(i).second) );
136 ATH_CHECK( copyStatTable(onTrack_clusterStat, m_onTrack_clusterStat.at(i).second) );
137 }
138
139 return StatusCode::SUCCESS;
140 }
#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 & AthCommonAlgorithm< 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 89 of file AthCommonAlgorithm.cxx.

54{
55 // If we didn't find any symlinks to add, just return the collection
56 // from the base class. Otherwise, return the extended collection.
57 if (!m_extendedExtraObjects.empty()) {
59 }
61}
Common base class for algorithms.

◆ fillStatClusters()

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

Definition at line 143 of file ActsInspectTruthContentAlg.cxx.

146 {
147 ATH_MSG_DEBUG( "Checking truth for clusters ..." );
148 for (const xAOD::UncalibratedMeasurement* meas : container) {
149 std::size_t clusterTypeIndex = static_cast<std::size_t>(meas->type());
150 ++stat[Acts::toUnderlying(EStatClusters::kNTotal)][clusterTypeIndex];
151 const auto& tps = truth.at(meas->index());
152
153 // get number of (valid) contributions
154 if (tps.empty()) {
155 ++stat[Acts::toUnderlying(EStatClusters::kNClustersWithNoBarcode)][clusterTypeIndex];
156 continue;
157 }
158
159 // Check all barcodes are from primary particles
160 bool allValidParticles = true;
161 for (const auto* tp : tps) {
162 if ( not HepMC::is_simulation_particle(*tp) ) continue;
163 allValidParticles = false;
164 break;
165 }
166
167 if (tps.size() == 1) {
168 ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith1Contribution)][clusterTypeIndex];
169 if (allValidParticles) ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith1ValidContribution)][clusterTypeIndex];
170 }
171 else if (tps.size() == 2) {
172 ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith2Contribution)][clusterTypeIndex];
173 if (allValidParticles) ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith2ValidContribution)][clusterTypeIndex];
174 }
175 else {
176 ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith3Contribution)][clusterTypeIndex];
177 if (allValidParticles) ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith3ValidContribution)][clusterTypeIndex];
178 }
179
180 // get main contribution
181 bool hasContributionFromPrimaryParticle = false;
182 for (const auto* tp : tps) {
183 if ( HepMC::is_simulation_particle(*tp) ) continue;
184 hasContributionFromPrimaryParticle = true;
185 break;
186 }
187
188 if (not hasContributionFromPrimaryParticle) ++stat[Acts::toUnderlying(EStatClusters::kNClustersWith200kBarcode)][clusterTypeIndex];
189 else ++stat[Acts::toUnderlying(EStatClusters::kNClustersFromPrimaries)][clusterTypeIndex];
190 }
191
192 return StatusCode::SUCCESS;
193 }
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 196 of file ActsInspectTruthContentAlg.cxx.

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

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

◆ filterPassed()

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

Get filter decision:

Definition at line 93 of file AthCommonAlgorithm.h.

93 {
94 return execState( ctx ).filterPassed();
95 }
virtual bool filterPassed(const EventContext &ctx) const
Get filter decision:

◆ finalize()

StatusCode ActsTrk::ActsInspectTruthContentAlg::finalize ( )
overridevirtual

Definition at line 42 of file ActsInspectTruthContentAlg.cxx.

42 {
43 ATH_MSG_INFO( "Finalizing " << name() << " ..." );
44 ATH_MSG_INFO( "Statistics from Seed check with truth info:" );
45
47 ATH_MSG_FATAL("Problem dumping Cluster truth information");
48 return StatusCode::FAILURE;
49 }
50
52 ATH_MSG_FATAL("Problem dumping Seed truth information");
53 return StatusCode::FAILURE;
54 }
55
56 for (const auto& [trackCollectionName, onTrackStat] : m_onTrack_clusterStat) {
57 std::string reportName = "On Track Clusters (" + trackCollectionName + ")";
59 ATH_MSG_FATAL("Problem dumping On Track Cluster truth info (" << trackCollectionName << ")");
60 return StatusCode::FAILURE;
61 }
62 }
63
64 for (const auto& [trackCollectionName, trackStat] : m_trackStat) {
65 std::string reportName = "Track (" + trackCollectionName + ")";
67 ATH_MSG_FATAL("Problem dumping Track truth info (" << trackCollectionName << ")");
68 return StatusCode::FAILURE;
69 }
70 }
71
72 return StatusCode::SUCCESS;
73 }
#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 19 of file ActsInspectTruthContentAlg.cxx.

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

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::isClonable ( ) const
inlineoverridevirtualinherited

Specify if the algorithm is clonable.

Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.

Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.

Definition at line 68 of file AthCommonAlgorithm.h.

68 {
69 return true;
70 }

◆ 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 AthCommonAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Set filter decision:

Reimplemented in AthFilterAlgorithm.

Definition at line 99 of file AthCommonAlgorithm.h.

99 {
101 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const
Set filter decision:

◆ sysExecute()

StatusCode AthCommonAlgorithm< 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.

Reimplemented in AthAnalysisAlgorithm.

Definition at line 80 of file AthCommonAlgorithm.cxx.

41{
42 return BaseAlg::sysExecute (ctx);
43}

◆ sysInitialize()

StatusCode AthCommonAlgorithm< 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 AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, HypoBase, InputMakerBase, and PyAthena::Alg.

Definition at line 60 of file AthCommonAlgorithm.cxx.

71 {
73
74 if (sc.isFailure()) {
75 return sc;
76 }
77
78 ServiceHandle<ICondSvc> cs("CondSvc",name());
79 for (auto h : outputHandles()) {
80 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
81 // do this inside the loop so we don't create the CondSvc until needed
82 if ( cs.retrieve().isFailure() ) {
83 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
85 }
86 if (cs->regHandle(this,*h).isFailure()) {
88 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
89 << " with CondSvc");
90 }
91 }
92 }
93 return sc;
94}
#define ATH_MSG_WARNING(x)
virtual StatusCode sysInitialize() override
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 AthCommonAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

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

Empty if no symlinks were found.

Definition at line 108 of file AthCommonAlgorithm.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: