ATLAS Offline Software
Loading...
Searching...
No Matches
HGTD::TrackTimeDefAndQualityAlg Class Reference

#include <TrackTimeDefAndQualityAlg.h>

Inheritance diagram for HGTD::TrackTimeDefAndQualityAlg:
Collaboration diagram for HGTD::TrackTimeDefAndQualityAlg:

Classes

struct  Hit
struct  CleaningResult

Public Member Functions

 TrackTimeDefAndQualityAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~TrackTimeDefAndQualityAlg ()
virtual StatusCode initialize () override final
virtual StatusCode execute (const EventContext &ctx) const override final
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

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

std::pair< float, float > getRadiusAndZ (const xAOD::TrackParticle &track_particle) const
CleaningResult runTimeConsistencyCuts (const std::vector< float > &times, const std::vector< char > &has_clusters, const std::vector< int > &hit_classification) const
std::array< Hit, s_hgtd_layers > getValidHits (const std::vector< float > &times, const std::vector< char > &has_clusters, const std::vector< int > &hit_classification) const
float calculateChi2 (const std::array< Hit, s_hgtd_layers > &hits) const
 Calculates the chi2 of the hit times given their resolution.
bool passesDeltaT (const std::array< Hit, s_hgtd_layers > &hits) const
 Checks two hits for time compatibility.
float meanTime (const std::array< Hit, s_hgtd_layers > &hits) const
 Calculates the arithmetic mean of the valid hit times;.
float trackTimeResolution (const std::array< Hit, s_hgtd_layers > &hits) const
 Calculates the combined resolution.
short findLayerWithBadChi2 (std::array< Hit, s_hgtd_layers > hits) const
 Identifies time outliers by finding the layer within which a hit contributes negatively to the overall chi2 value and returns the layer number.
void setLayerAsInvalid (std::array< Hit, s_hgtd_layers > &hits, short layer) const
 Given a layer number, the hit sitting on this layer is flagged as invalid.
short getValidPattern (const std::array< Hit, s_hgtd_layers > &hits) const
 Returns the pattern of valid hits in HGTD as a 4-bit bitfield, where a 1 encodes that a valid hit was found, while a 0 means no valid hit found.
bool lastHitIsOnLastSurface (const xAOD::TrackParticle &track_particle) const
 Checks if the last hit on track was found on a pre-specified set of Pixel and Strip layers close to the HGTD surfaces.
const Trk::TrackParametersgetLastHitOnTrack (const Trk::Track &track) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

const short m_recoed_ptrn_sft = 0
const short m_exp_ptrn_sft = 4
const short m_comp_ptrn_sft = 8
const short m_holes_ptrn_sft = 12
const short m_primes_ptrn_sft = 16
SG::ReadHandleKey< xAOD::TrackParticleContainerm_trackParticleContainerKey
SG::ReadDecorHandleKey< xAOD::TrackParticleContainerm_layerHasExtensionKey
SG::ReadDecorHandleKey< xAOD::TrackParticleContainerm_holesHGTDKey
SG::ReadDecorHandleKey< xAOD::TrackParticleContainerm_layerClusterTimeKey
SG::ReadDecorHandleKey< xAOD::TrackParticleContainerm_layerClusterTruthClassKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_time_dec_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_time_res_dec_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_hasValidTime_dec_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_summarypattern_dec_key
FloatProperty m_chi2_threshold
FloatProperty m_deltat_cut
FloatProperty m_default_time
FloatProperty m_default_time_res
BooleanProperty m_doActs
BooleanProperty m_doTruth
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

Detailed Description

Definition at line 63 of file TrackTimeDefAndQualityAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TrackTimeDefAndQualityAlg()

HGTD::TrackTimeDefAndQualityAlg::TrackTimeDefAndQualityAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 27 of file TrackTimeDefAndQualityAlg.cxx.

29 : AthReentrantAlgorithm(name, pSvcLocator) {}

◆ ~TrackTimeDefAndQualityAlg()

virtual HGTD::TrackTimeDefAndQualityAlg::~TrackTimeDefAndQualityAlg ( )
inlinevirtual

Definition at line 75 of file TrackTimeDefAndQualityAlg.h.

75{}

Member Function Documentation

◆ calculateChi2()

float HGTD::TrackTimeDefAndQualityAlg::calculateChi2 ( const std::array< Hit, s_hgtd_layers > & hits) const
private

Calculates the chi2 of the hit times given their resolution.

Parameters
[in]hitsArray of hits.
Returns
Chi2 value.

Definition at line 257 of file TrackTimeDefAndQualityAlg.cxx.

258 {
259
260 float mean = meanTime(hits);
261
262 float chi2 = 0.;
263 for (const auto& hit : hits) {
264 if (hit.m_isvalid) {
265 chi2 += (hit.m_time - mean) * (hit.m_time - mean) /
266 (hit.m_resolution * hit.m_resolution);
267 }
268 }
269 return chi2;
270}
bool hit(const Container &ids, int pdgId)
float meanTime(const std::array< Hit, s_hgtd_layers > &hits) const
Calculates the arithmetic mean of the valid hit times;.
double chi2(TH1 *h0, TH1 *h1)
void mean(std::vector< double > &bins, std::vector< double > &values, const std::vector< std::string > &files, const std::string &histname, const std::string &tplotname, const std::string &label="")

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

◆ 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 HGTD::TrackTimeDefAndQualityAlg::execute ( const EventContext & ctx) const
finaloverridevirtual

Definition at line 49 of file TrackTimeDefAndQualityAlg.cxx.

49 {
50
51 const xAOD::TrackParticleContainer* track_particles{nullptr};
52 ATH_CHECK(SG::get(track_particles, m_trackParticleContainerKey, ctx));
53
54 SG::WriteDecorHandle<xAOD::TrackParticleContainer, float> time_handle(
55 m_time_dec_key, ctx);
56 SG::WriteDecorHandle<xAOD::TrackParticleContainer, float> timeres_handle(
58 SG::WriteDecorHandle<xAOD::TrackParticleContainer, uint8_t> hasValidTime_handle(
60 SG::WriteDecorHandle<xAOD::TrackParticleContainer, uint32_t> summary_handle(
62
63 SG::ReadDecorHandle<xAOD::TrackParticleContainer, std::vector<float>>
64 layerClusterTimeHandle(m_layerClusterTimeKey, ctx);
65 ATH_CHECK(layerClusterTimeHandle.isValid());
66
67 SG::ReadDecorHandle<xAOD::TrackParticleContainer, std::vector<char>>
68 layerHasExtensionHandle(m_layerHasExtensionKey, ctx);
69 ATH_CHECK(layerHasExtensionHandle.isValid());
70
71 static const std::vector<char> s_no_holes(s_hgtd_layers, false);
72 std::optional<SG::ReadDecorHandle<xAOD::TrackParticleContainer, std::vector<char>>>
73 holesHGTDHandle;
74 if (!m_doActs) {
75 holesHGTDHandle.emplace(m_holesHGTDKey, ctx);
76 ATH_CHECK(holesHGTDHandle->isValid());
77 }
78
79 static const std::vector<int> s_no_truth(s_hgtd_layers, 0);
80 std::optional<SG::ReadDecorHandle<xAOD::TrackParticleContainer, std::vector<int>>>
81 layerClusterTruthClass;
82 if (m_doTruth) {
83 layerClusterTruthClass.emplace(m_layerClusterTruthClassKey, ctx);
84 ATH_CHECK(layerClusterTruthClass->isValid());
85 }
86
87 for (const auto* track_ptkl : *track_particles) {
88 // runs the time consistency checks
89 // if no hits are found in HGTD, returns a default time
90 const std::vector<float>& times = layerClusterTimeHandle(*track_ptkl);
91 const std::vector<char>& has_clusters = layerHasExtensionHandle(*track_ptkl);
92 const std::vector<int>& hit_classification = m_doTruth ? (*layerClusterTruthClass)(*track_ptkl) : s_no_truth;
93 const std::vector<char>& holes_HGTD = m_doActs ? s_no_holes : (*holesHGTDHandle)(*track_ptkl);
94
96 has_clusters,
97 hit_classification);
98
99 // check if the last hit on track was within the predefined area
100 if (lastHitIsOnLastSurface(*track_ptkl)) {
101 res.m_field |= (0b0000 << m_holes_ptrn_sft);
102 } else {
103 res.m_field |= (0b0001 << m_holes_ptrn_sft);
104 }
105
106 // keep which of the hits associated in reco were primary hits (truth info!)
107 short prime_pattern = 0x0;
108 for (short i = 0; i < s_hgtd_layers; i++) {
109 if (res.m_hits.at(i).m_isprime) {
110 prime_pattern |= (1 << i);
111 }
112 }
113 res.m_field |= (prime_pattern << m_primes_ptrn_sft);
114
115 // expected pattern : 'on which HGTD layer a hit was expected?' which means extrapolation has
116 // reached an active sensor, whether a matching cluster was found or not.
117 // So ‘expected = has_cluster OR HGTD_holes’.
118 short expected_pattern = 0x0;
119 for (short i = 0; i < s_hgtd_layers; i++) {
120 if (has_clusters.at(i) || holes_HGTD.at(i)) {
121 expected_pattern |= (1 << i);
122 }
123 }
124 res.m_field |= (expected_pattern << m_exp_ptrn_sft);
125
126 // decorate the track again with this info
127 time_handle(*track_ptkl) = res.m_time;
128 timeres_handle(*track_ptkl) = res.m_resolution;
129 hasValidTime_handle(*track_ptkl) = res.m_hasValidTime;
130 summary_handle(*track_ptkl) = res.m_field;
131 }
132 return StatusCode::SUCCESS;
133}
#define ATH_CHECK
Evaluate an expression and check for errors.
std::pair< std::vector< unsigned int >, bool > res
CleaningResult runTimeConsistencyCuts(const std::vector< float > &times, const std::vector< char > &has_clusters, const std::vector< int > &hit_classification) const
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_time_dec_key
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_holesHGTDKey
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_layerClusterTruthClassKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_time_res_dec_key
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticleContainerKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_hasValidTime_dec_key
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_layerClusterTimeKey
bool lastHitIsOnLastSurface(const xAOD::TrackParticle &track_particle) const
Checks if the last hit on track was found on a pre-specified set of Pixel and Strip layers close to t...
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_summarypattern_dec_key
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_layerHasExtensionKey
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".

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

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

◆ findLayerWithBadChi2()

short HGTD::TrackTimeDefAndQualityAlg::findLayerWithBadChi2 ( std::array< Hit, s_hgtd_layers > hits) const
private

Identifies time outliers by finding the layer within which a hit contributes negatively to the overall chi2 value and returns the layer number.

Copies the hits, since they have to be invalidated one by one.

Parameters
[in]hitsArray of hits.
Returns
Layer with outlier time, value between 0 and 3.

Definition at line 323 of file TrackTimeDefAndQualityAlg.cxx.

324 {
325 short remove_layer = -1;
326 float local_min_chi2 = 999999;
327 for (auto& hit : hits) {
328 // "turn off" hits one after the other to test their impact on the chi2
329 bool validbuff = hit.m_isvalid;
330 hit.m_isvalid = false;
331 float local_chi2 = calculateChi2(hits);
332 hit.m_isvalid = validbuff;
333 if (local_chi2 < local_min_chi2) {
334 local_min_chi2 = local_chi2;
335 remove_layer = hit.m_layer;
336 }
337 }
338 return remove_layer;
339}
float calculateChi2(const std::array< Hit, s_hgtd_layers > &hits) const
Calculates the chi2 of the hit times given their resolution.

◆ getLastHitOnTrack()

const Trk::TrackParameters * HGTD::TrackTimeDefAndQualityAlg::getLastHitOnTrack ( const Trk::Track & track) const
private

Definition at line 352 of file TrackTimeDefAndQualityAlg.cxx.

352 {
353
354 const Trk::TrackStates* tsos =
355 track.trackStateOnSurfaces();
356 if (not tsos) {
357 ATH_MSG_ERROR("Failed to retrieve track state on surfaces");
358 return nullptr;
359 }
360 // loop over the associated hits in ITk in reverse order, since we want to
361 // select the one closest to HGTD to start the extrapolation
362 for (auto i = tsos->rbegin(); i != tsos->rend(); ++i) {
363 const auto* curr_last_tsos = *i;
364 if (not curr_last_tsos) {
365 continue;
366 }
367
368 if (curr_last_tsos->type(Trk::TrackStateOnSurface::Measurement) and
369 curr_last_tsos->trackParameters() and
370 curr_last_tsos->measurementOnTrack()) {
371 return curr_last_tsos->trackParameters();
372 }
373 }
374
375 return nullptr;
376}
#define ATH_MSG_ERROR(x)
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
DataVector< const Trk::TrackStateOnSurface > TrackStates

◆ getRadiusAndZ()

std::pair< float, float > HGTD::TrackTimeDefAndQualityAlg::getRadiusAndZ ( const xAOD::TrackParticle & track_particle) const
private

Definition at line 378 of file TrackTimeDefAndQualityAlg.cxx.

379{
380 float radius = 0.f;
381 float abs_z = 0.f;
382
383 if (not m_doActs) {
384 const Trk::Track* track = track_particle.track();
385 if (not track) throw std::runtime_error("Cannot retrieve Trk track from Track Particle");
386 const Trk::TrackParameters* last_hit_param = getLastHitOnTrack(*track);
387 if (not last_hit_param) throw std::runtime_error("Cannot retrieve Trk track parameters from Trk track");
388
389 radius = std::hypot(last_hit_param->position().x(),
390 last_hit_param->position().y());
391 abs_z = std::abs(last_hit_param->position().z());
392 } else {
393 // ACTS
394 static const SG::ConstAccessor< ElementLink<ActsTrk::TrackContainer> > actsTrackLink("actsTrack");
395 if (not actsTrackLink.isAvailable(track_particle)) throw std::runtime_error("Track particle does not have link to acts track");
396
397 ElementLink<ActsTrk::TrackContainer> link_to_track = actsTrackLink(track_particle);
398 if (not link_to_track.isValid()) throw std::runtime_error("Element link to acts track is not valid");
399
400 std::optional<ActsTrk::TrackContainer::ConstTrackProxy> optional_track = *link_to_track;
401 if (not optional_track.has_value()) throw std::runtime_error("Link to acts track has no value");
402
403 const ActsTrk::TrackContainer::ConstTrackProxy& track = optional_track.value();
404 const auto lastMeasurementState = Acts::findLastMeasurementState(track);
405 const auto state = lastMeasurementState.value();
406
407 const xAOD::UncalibratedMeasurement *cluster = ActsTrk::detail::xAODUncalibMeasCalibrator::unpack(state.getUncalibratedSourceLink());
408 xAOD::UncalibMeasType clusterType = cluster->type();
409
410 switch (clusterType) {
412 {
413 auto glob = static_cast<const xAOD::PixelCluster*>(cluster)->globalPosition();
414 radius = glob.perp();
415 abs_z = std::abs(glob.z());
416 }
417 break;
419 {
420 auto glob = static_cast<const xAOD::StripCluster*>(cluster)->globalPosition();
421 radius = glob.perp();
422 abs_z = std::abs(glob.z());
423 }
424 break;
426 // return some default numbers
427 return std::make_pair(700, 3000);
428 default:
429 return std::make_pair(radius, abs_z);
430 }; // switch
431 } // acts
432
433 return std::make_pair(radius, abs_z);
434}
static const xAOD::UncalibratedMeasurement * unpack(const Acts::SourceLink &sl)
Helper method to unpack an Acts source link to an uncalibrated measurement.
const Trk::TrackParameters * getLastHitOnTrack(const Trk::Track &track) const
const Trk::Track * track() const
Returns a pointer (which can be NULL) to the Trk::Track which was used to make this TrackParticle.
virtual xAOD::UncalibMeasType type() const =0
Returns the type of the measurement type as a simple enumeration.
std::optional< ActsTrk::TrackContainer::ConstTrackStateProxy > lastMeasurementState(const xAOD::TrackParticle &trkPart, const bool skipOutlier=true)
Returns the track state proxy corresponding to the last measurement on track.
SG::ConstAccessor< T, ALLOC > ConstAccessor
Definition AuxElement.h:570
ParametersBase< TrackParametersDim, Charged > TrackParameters
StripCluster_v1 StripCluster
Define the version of the strip cluster class.
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
UncalibMeasType
Define the type of the uncalibrated measurement.

◆ getValidHits()

std::array< TrackTimeDefAndQualityAlg::Hit, s_hgtd_layers > HGTD::TrackTimeDefAndQualityAlg::getValidHits ( const std::vector< float > & times,
const std::vector< char > & has_clusters,
const std::vector< int > & hit_classification ) const
private

Definition at line 227 of file TrackTimeDefAndQualityAlg.cxx.

229 {
230 std::array<Hit, s_hgtd_layers> valid_hits {};
231
232 for (size_t i = 0; i < s_hgtd_layers; i++) {
233 Hit& newhit = valid_hits[i];
234 if (has_clusters.at(i)) {
235 newhit.m_time = times.at(i);
236 newhit.m_isprime = hit_classification.at(i) == 1;
237 newhit.m_isvalid = true;
238 }
239 newhit.m_layer = i;
240 }
241
242 return valid_hits;
243}

◆ getValidPattern()

short HGTD::TrackTimeDefAndQualityAlg::getValidPattern ( const std::array< Hit, s_hgtd_layers > & hits) const
private

Returns the pattern of valid hits in HGTD as a 4-bit bitfield, where a 1 encodes that a valid hit was found, while a 0 means no valid hit found.

The LSB carries the hit information for the layer closest to the IP.

Parameters
[in]hitsArray of hits.
Returns
Bit pattern encoding valid hits in layers.

Definition at line 245 of file TrackTimeDefAndQualityAlg.cxx.

247 {
248 short pattern = 0x0;
249 for (short i = 0; i < s_hgtd_layers; i++) {
250 if (hits.at(i).m_isvalid) {
251 pattern |= (1 << i);
252 }
253 }
254 return pattern;
255}

◆ initialize()

StatusCode HGTD::TrackTimeDefAndQualityAlg::initialize ( )
finaloverridevirtual

Definition at line 31 of file TrackTimeDefAndQualityAlg.cxx.

31 {
32
35 ATH_CHECK(m_holesHGTDKey.initialize(!m_doActs)); //HGTD_holes not produced in ActsHGTDTrackExtensionAlg for now so make it optional
36 ATH_CHECK(m_layerClusterTimeKey.initialize());
37 ATH_CHECK(m_layerClusterTruthClassKey.initialize(m_doTruth)); //Only initialize if truth information is available
38 ATH_CHECK(m_time_dec_key.initialize());
39 ATH_CHECK(m_time_res_dec_key.initialize());
42
43 return StatusCode::SUCCESS;
44}

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

◆ lastHitIsOnLastSurface()

bool HGTD::TrackTimeDefAndQualityAlg::lastHitIsOnLastSurface ( const xAOD::TrackParticle & track_particle) const
private

Checks if the last hit on track was found on a pre-specified set of Pixel and Strip layers close to the HGTD surfaces.

FIXME: should not be hardcoded. To be exchanged by a hole search at a later point.

Parameters
[in]track_particleTrack reconstructed in ITk.
Returns
True if the last hit on track was within the specified volume.

Definition at line 436 of file TrackTimeDefAndQualityAlg.cxx.

437 {
438 auto [radius, abs_z] = getRadiusAndZ(track_particle);
439
440 if (abs_z > 2700) {
441 return true;
442 }
443 if (radius < 350 and abs_z > 2400) {
444 return true;
445 }
446 // region 2
447 if (radius > 205 and radius < 350 and abs_z > 2100) {
448 return true;
449 }
450 // region 3
451 if (radius < 220 and abs_z > 2200) {
452 return true;
453 }
454
455 if (radius < 140 and abs_z > 1890) {
456 return true;
457 }
458
459 return false;
460}
std::pair< float, float > getRadiusAndZ(const xAOD::TrackParticle &track_particle) const

◆ meanTime()

float HGTD::TrackTimeDefAndQualityAlg::meanTime ( const std::array< Hit, s_hgtd_layers > & hits) const
private

Calculates the arithmetic mean of the valid hit times;.

Parameters
[in]hitsArray of hits.
Returns
Returns true if the times were in agreement.

Definition at line 295 of file TrackTimeDefAndQualityAlg.cxx.

297 {
298 float sum = 0.;
299 short n = 0;
300 for (const auto& hit : hits) {
301 if (hit.m_isvalid) {
302 sum += hit.m_time;
303 n++;
304 }
305 }
306 return n == 0 ? m_default_time.value() : sum / (float)n;
307}

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

◆ passesDeltaT()

bool HGTD::TrackTimeDefAndQualityAlg::passesDeltaT ( const std::array< Hit, s_hgtd_layers > & hits) const
private

Checks two hits for time compatibility.

Parameters
[in]hitsArray of hits.
Returns
Returns true if the times were in agreement.

Definition at line 272 of file TrackTimeDefAndQualityAlg.cxx.

274 {
275 // don't trust the user here.
276 short n_valid = std::count_if(hits.begin(), hits.end(),
277 [](const Hit& hit) { return hit.m_isvalid; });
278 if (n_valid != 2) {
279 return false;
280 }
281 // FIXME this should be doable in a simpler manner...
282 std::vector<float> times;
283 std::vector<float> res;
284 for (const auto& hit : hits) {
285 if (hit.m_isvalid) {
286 times.push_back(hit.m_time);
287 res.push_back(hit.m_resolution);
288 }
289 }
290 // pass if the distance in units of the resolution passes the cut
291 return std::abs(times.at(0) - times.at(1)) <
292 m_deltat_cut * hypot(res.at(0), res.at(1));
293}

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

◆ runTimeConsistencyCuts()

TrackTimeDefAndQualityAlg::CleaningResult HGTD::TrackTimeDefAndQualityAlg::runTimeConsistencyCuts ( const std::vector< float > & times,
const std::vector< char > & has_clusters,
const std::vector< int > & hit_classification ) const
private

Definition at line 139 of file TrackTimeDefAndQualityAlg.cxx.

141 {
142 // get all available hits (see the struct Hit) in a first step
143 std::array<Hit, s_hgtd_layers> valid_hits = getValidHits(times,
144 has_clusters,
145 hit_classification);
146
148 result.m_hits = valid_hits;
149 result.m_field = 0x0;
150 result.m_time = m_default_time;
151 result.m_resolution = m_default_time_res;
152 result.m_hasValidTime = 0;
153
154 short recoed_pattern = getValidPattern(valid_hits);
155 // stored the pattern of hits as retrieved from the iterative extension
156 result.m_field |= (recoed_pattern << m_recoed_ptrn_sft);
157
158 short nhits = std::count_if(valid_hits.begin(), valid_hits.end(),
159 [](const Hit& hit) { return hit.m_isvalid; });
160 if (nhits < 2) {
161 // fill the patern with the 1 hit (or none) and return
162 result.m_field |= (recoed_pattern << m_comp_ptrn_sft);
163 result.m_time = meanTime(valid_hits);
164 result.m_resolution = trackTimeResolution(valid_hits);
165 result.m_hasValidTime = recoed_pattern ? 1 : 0;
166 return result;
167 } else if (nhits == 2) {
168 // if the deltaT cut is passed, the pattern stays the same, otherwise set
169 // to 0 as no hit passes
170 // TODO: find better way to treat this!
171 if (passesDeltaT(valid_hits)) {
172 result.m_field |= (recoed_pattern << m_comp_ptrn_sft); // stays the same
173 result.m_time = meanTime(valid_hits);
174 result.m_resolution = trackTimeResolution(valid_hits);
175 result.m_hasValidTime = 1;
176 return result;
177 } else {
178 result.m_field |= (0b0000 << m_comp_ptrn_sft); // no hit passes
179 result.m_time = m_default_time; // TODO should I just use the mean?
180 result.m_resolution = m_default_time_res;
181 return result;
182 }
183
184 } else {
185 // for 3 or 4 hits, remove hit(s) with worst chi2 if needed
186 float chi2 = calculateChi2(valid_hits);
187 // if the chi2 is below the threshold, keep all hits
188 bool searching = chi2 > m_chi2_threshold;
189 while (searching) {
190 short remove_layer = findLayerWithBadChi2(valid_hits);
191 setLayerAsInvalid(valid_hits, remove_layer);
192 float new_chi2 = calculateChi2(valid_hits);
193 nhits = std::count_if(valid_hits.begin(), valid_hits.end(),
194 [](const Hit& hit) { return hit.m_isvalid; });
195 if (new_chi2 <= m_chi2_threshold or nhits < 3) {
196 searching = false;
197 }
198 } // while loop ended
199
200 short chi2_rej_pattern = getValidPattern(valid_hits);
201
202 if (nhits == 2) {
203 if (passesDeltaT(valid_hits)) {
204 result.m_field |= (chi2_rej_pattern << m_comp_ptrn_sft);
205 result.m_time = meanTime(valid_hits);
206 result.m_resolution = trackTimeResolution(valid_hits);
207 result.m_hasValidTime = 1;
208 return result;
209 } else {
210 result.m_field |= (0b0000 << m_comp_ptrn_sft); // no hit passes
211 result.m_time = m_default_time; // TODO should I just use the mean?
212 result.m_resolution = m_default_time_res;
213 return result;
214 }
215 } else {
216 // 3 or 4 hits, chi2 passed
217 result.m_field |= (chi2_rej_pattern << m_comp_ptrn_sft);
218 result.m_time = meanTime(valid_hits);
219 result.m_resolution = trackTimeResolution(valid_hits);
220 result.m_hasValidTime = 1;
221 return result;
222 }
223 }
224}
void setLayerAsInvalid(std::array< Hit, s_hgtd_layers > &hits, short layer) const
Given a layer number, the hit sitting on this layer is flagged as invalid.
float trackTimeResolution(const std::array< Hit, s_hgtd_layers > &hits) const
Calculates the combined resolution.
short findLayerWithBadChi2(std::array< Hit, s_hgtd_layers > hits) const
Identifies time outliers by finding the layer within which a hit contributes negatively to the overal...
bool passesDeltaT(const std::array< Hit, s_hgtd_layers > &hits) const
Checks two hits for time compatibility.
short getValidPattern(const std::array< Hit, s_hgtd_layers > &hits) const
Returns the pattern of valid hits in HGTD as a 4-bit bitfield, where a 1 encodes that a valid hit was...
std::array< Hit, s_hgtd_layers > getValidHits(const std::vector< float > &times, const std::vector< char > &has_clusters, const std::vector< int > &hit_classification) const

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

◆ setLayerAsInvalid()

void HGTD::TrackTimeDefAndQualityAlg::setLayerAsInvalid ( std::array< Hit, s_hgtd_layers > & hits,
short layer ) const
private

Given a layer number, the hit sitting on this layer is flagged as invalid.

Used for outlier removal.

Parameters
[in]hitsArray of hits.
[in]layerThe layer that should be masked.

Definition at line 341 of file TrackTimeDefAndQualityAlg.cxx.

343 {
344 for (auto& hit : hits) {
345 if (hit.m_layer == layer) {
346 hit.m_isvalid = false;
347 }
348 }
349}

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

◆ trackTimeResolution()

float HGTD::TrackTimeDefAndQualityAlg::trackTimeResolution ( const std::array< Hit, s_hgtd_layers > & hits) const
private

Calculates the combined resolution.

Definition at line 309 of file TrackTimeDefAndQualityAlg.cxx.

311 {
312
313 float sum = 0.;
314 for (const auto& hit : hits) {
315 if (hit.m_isvalid) {
316 sum += 1. / (hit.m_resolution * hit.m_resolution);
317 }
318 }
319 return sum == 0. ? m_default_time_res.value()
320 : static_cast<float>(std::sqrt(1. / sum));
321}

◆ 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

◆ m_chi2_threshold

FloatProperty HGTD::TrackTimeDefAndQualityAlg::m_chi2_threshold
private
Initial value:
{
this, "Chi2Threshold", 1.5,
"Quality cut for decision to keep hits compatible in time"}

Definition at line 131 of file TrackTimeDefAndQualityAlg.h.

131 {
132 this, "Chi2Threshold", 1.5,
133 "Quality cut for decision to keep hits compatible in time"};

◆ m_comp_ptrn_sft

const short HGTD::TrackTimeDefAndQualityAlg::m_comp_ptrn_sft = 8
private

Definition at line 69 of file TrackTimeDefAndQualityAlg.h.

◆ m_default_time

FloatProperty HGTD::TrackTimeDefAndQualityAlg::m_default_time
private
Initial value:
{
this, "DefaultTime", 0.0,
"Default time used for tracks without HGTD timing info"}

Definition at line 137 of file TrackTimeDefAndQualityAlg.h.

137 {
138 this, "DefaultTime", 0.0,
139 "Default time used for tracks without HGTD timing info"};

◆ m_default_time_res

FloatProperty HGTD::TrackTimeDefAndQualityAlg::m_default_time_res
private
Initial value:
{
this, "DefaultTimeRes", 50. / std::sqrt(12.),
"Default time resolution used for tracks without HGTD timing info"}

Definition at line 142 of file TrackTimeDefAndQualityAlg.h.

142 {
143 this, "DefaultTimeRes", 50. / std::sqrt(12.),
144 "Default time resolution used for tracks without HGTD timing info"};

◆ m_deltat_cut

FloatProperty HGTD::TrackTimeDefAndQualityAlg::m_deltat_cut
private
Initial value:
{this, "DeltaTCut", 2.0,
"Upper limit for a cluster delta t cut"}

Definition at line 134 of file TrackTimeDefAndQualityAlg.h.

134 {this, "DeltaTCut", 2.0,
135 "Upper limit for a cluster delta t cut"};

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

BooleanProperty HGTD::TrackTimeDefAndQualityAlg::m_doActs
private
Initial value:
{this, "doActs", false,
"Use ACTS track representation for last-hit extraction"}

Definition at line 146 of file TrackTimeDefAndQualityAlg.h.

146 {this, "doActs", false,
147 "Use ACTS track representation for last-hit extraction"};

◆ m_doTruth

BooleanProperty HGTD::TrackTimeDefAndQualityAlg::m_doTruth
private
Initial value:
{this, "doTruth", false,
"Use Truth information"}

Definition at line 149 of file TrackTimeDefAndQualityAlg.h.

149 {this, "doTruth", false,
150 "Use Truth information"};

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

const short HGTD::TrackTimeDefAndQualityAlg::m_exp_ptrn_sft = 4
private

Definition at line 68 of file TrackTimeDefAndQualityAlg.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_hasValidTime_dec_key

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeDefAndQualityAlg::m_hasValidTime_dec_key
private
Initial value:
{
this, "hasValidTime", m_trackParticleContainerKey, "hasValidTime", "Time assigned to this track is valid"}

Definition at line 106 of file TrackTimeDefAndQualityAlg.h.

106 {
107 this, "hasValidTime", m_trackParticleContainerKey, "hasValidTime", "Time assigned to this track is valid"};

◆ m_holes_ptrn_sft

const short HGTD::TrackTimeDefAndQualityAlg::m_holes_ptrn_sft = 12
private

Definition at line 70 of file TrackTimeDefAndQualityAlg.h.

◆ m_holesHGTDKey

SG::ReadDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeDefAndQualityAlg::m_holesHGTDKey
private
Initial value:
{
this, "HGTD_holes", m_trackParticleContainerKey, "HGTD_holes",
"deco with a handle for HGTD holes"}

Definition at line 89 of file TrackTimeDefAndQualityAlg.h.

89 {
90 this, "HGTD_holes", m_trackParticleContainerKey, "HGTD_holes",
91 "deco with a handle for HGTD holes"};

◆ m_layerClusterTimeKey

SG::ReadDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeDefAndQualityAlg::m_layerClusterTimeKey
private
Initial value:
{
this, "HGTD_cluster_time", m_trackParticleContainerKey, "HGTD_cluster_time",
"deco with a handle for cluster time"}

Definition at line 92 of file TrackTimeDefAndQualityAlg.h.

92 {
93 this, "HGTD_cluster_time", m_trackParticleContainerKey, "HGTD_cluster_time",
94 "deco with a handle for cluster time"};

◆ m_layerClusterTruthClassKey

SG::ReadDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeDefAndQualityAlg::m_layerClusterTruthClassKey
private
Initial value:
{
this, "HGTD_cluster_truth_class", m_trackParticleContainerKey,
"HGTD_cluster_truth_class",
"deco with a handle for a truth time"}

Definition at line 96 of file TrackTimeDefAndQualityAlg.h.

96 {
97 this, "HGTD_cluster_truth_class", m_trackParticleContainerKey,
98 "HGTD_cluster_truth_class",
99 "deco with a handle for a truth time"};

◆ m_layerHasExtensionKey

SG::ReadDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeDefAndQualityAlg::m_layerHasExtensionKey
private
Initial value:
{
this, "HGTD_has_extension", m_trackParticleContainerKey, "HGTD_has_extension",
"deco with a handle for an extension"}

Definition at line 86 of file TrackTimeDefAndQualityAlg.h.

86 {
87 this, "HGTD_has_extension", m_trackParticleContainerKey, "HGTD_has_extension",
88 "deco with a handle for an extension"};

◆ m_primes_ptrn_sft

const short HGTD::TrackTimeDefAndQualityAlg::m_primes_ptrn_sft = 16
private

Definition at line 71 of file TrackTimeDefAndQualityAlg.h.

◆ m_recoed_ptrn_sft

const short HGTD::TrackTimeDefAndQualityAlg::m_recoed_ptrn_sft = 0
private

Definition at line 67 of file TrackTimeDefAndQualityAlg.h.

◆ m_summarypattern_dec_key

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeDefAndQualityAlg::m_summarypattern_dec_key
private
Initial value:
{this, "HGTD_summaryinfo", m_trackParticleContainerKey,
"HGTD_summaryinfo",
"Bitfield for working point definition"}

Definition at line 109 of file TrackTimeDefAndQualityAlg.h.

109 {this, "HGTD_summaryinfo", m_trackParticleContainerKey,
110 "HGTD_summaryinfo",
111 "Bitfield for working point definition"};

◆ m_time_dec_key

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeDefAndQualityAlg::m_time_dec_key
private
Initial value:
{
this, "time", m_trackParticleContainerKey, "time", "Time assigned to this track"}

Definition at line 101 of file TrackTimeDefAndQualityAlg.h.

101 {
102 this, "time", m_trackParticleContainerKey, "time", "Time assigned to this track"};

◆ m_time_res_dec_key

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeDefAndQualityAlg::m_time_res_dec_key
private
Initial value:
{
this, "timeResolution", m_trackParticleContainerKey, "timeResolution",
"Time resolution assigned to this track"}

Definition at line 103 of file TrackTimeDefAndQualityAlg.h.

103 {
104 this, "timeResolution", m_trackParticleContainerKey, "timeResolution",
105 "Time resolution assigned to this track"};

◆ m_trackParticleContainerKey

SG::ReadHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeDefAndQualityAlg::m_trackParticleContainerKey
private
Initial value:
{
this, "TrackParticleContainerName", "InDetTrackParticles",
"Name of the TrackParticle container"}

Definition at line 83 of file TrackTimeDefAndQualityAlg.h.

83 {
84 this, "TrackParticleContainerName", "InDetTrackParticles",
85 "Name of the TrackParticle container"};

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


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