ATLAS Offline Software
Classes | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
HGTD::TrackTimeExtensionAlg Class Reference

#include <TrackTimeExtensionAlg.h>

Inheritance diagram for HGTD::TrackTimeExtensionAlg:
Collaboration diagram for HGTD::TrackTimeExtensionAlg:

Classes

struct  DecorHandles
 

Public Member Functions

 TrackTimeExtensionAlg (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~TrackTimeExtensionAlg ()
 
virtual StatusCode initialize () override final
 
virtual StatusCode execute (const EventContext &ctx) const override final
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
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. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
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. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

StatusCode decorateTrackParticle (DecorHandles &dh, const xAOD::TrackParticle *track_ptkl, const HGTD::ExtensionObject &extension, const InDetSimDataCollection *sdo_collection, const HepMC::GenEvent *hs_event, bool skip_deco=false) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

ToolHandle< IHGTD_TrackTimeExtensionToolm_extension_tool {this, "TimeExtensionTool", "HGTD_IterativeExtensionTool/HGTD_IterativeExtensionTool", "Tool for extending ID tracks into the HGTD"}
 
SG::ReadHandleKey< HGTD_ClusterContainerm_clustercont_rh_key {this, "HGTDClusterContainerName", "HGTD_Cluster", "Name of the HGTD_Cluster container"}
 
SG::ReadHandleKey< InDetSimDataCollectionm_sdo_coll_rh_key {this, "HGTD_SDOCollectionName", "HGTD_SDO_Map", "Name of the SDO container"}
 
SG::ReadHandleKey< McEventCollectionm_mc_coll_rh_key {this, "MC_CollectionName", "TruthEvent", "Name of the McEventCollection containing the truth information"}
 
SG::ReadHandleKey< xAOD::TrackParticleContainerm_trk_ptkl_rh_key {this, "TrackParticleContainerName", "InDetTrackParticles", "Name of the TrackParticle container"}
 
StringProperty m_deco_prefix {this, "DecorationPrefix", "HGTD", "Prefix to better identify decorations"}
 
FloatProperty m_eta_cut {this, "MinEtaAcceptance", 2.38, "Minimum eta to consider a track for extension"}
 
ToolHandle< IHGTD_ClusterTruthToolm_truth_tool {this, "TruthTool", "ClusterTruthTool/ClusterTruthTool", "Tool for classifying HGTD clusters with truth information"}
 
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_layerHasExtensionKey {this, "HGTD_has_extension", "InDetTrackParticles.HGTD_has_extension", "deco with a handle for an extension"}
 
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_layerExtensionChi2Key {this, "HGTD_extension_chi2", "InDetTrackParticles.HGTD_extension_chi2", "deco with a handle for a ch2 of extension"}
 
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_layerClusterRawTimeKey {this, "HGTD_cluster_raw_time", "InDetTrackParticles.HGTD_cluster_raw_time", "deco with a handle for layer cluster raw time"}
 
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_layerClusterTimeKey {this, "HGTD_cluster_time", "InDetTrackParticles.HGTD_cluster_time", "deco with a handle for cluster time"}
 
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_layerClusterTruthClassKey {this, "HGTD_cluster_truth_class", "InDetTrackParticles.HGTD_cluster_truth_class", "deco with a handle for a truth time"}
 
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_layerClusterShadowedKey {this, "HGTD_cluster_shadowed", "InDetTrackParticles.HGTD_cluster_shadowed", "deco with a handle for a shadowed cluster"}
 
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_layerClusterMergedKey {this, "HGTD_cluster_merged", "InDetTrackParticles.HGTD_cluster_merged", "deco with a handle for a merged cluster"}
 
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_layerPrimaryExpectedKey {this, "HGTD_primary_expected", "InDetTrackParticles.HGTD_primary_expected", "deco with a handle for an expected primary"}
 
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_extrapXKey {this, "HGTD_extrap_x", "InDetTrackParticles.HGTD_extrap_x", "deco with a handle for an x of extrap"}
 
SG::WriteDecorHandleKey< xAOD::TrackParticleContainerm_extrapYKey {this, "HGTD_extrap_y", "InDetTrackParticles.HGTD_extrap_y", "deco with a handle for an y of extrap"}
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Friends

struct DecorHandles
 

Detailed Description

Definition at line 41 of file TrackTimeExtensionAlg.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

◆ TrackTimeExtensionAlg()

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

Definition at line 23 of file TrackTimeExtensionAlg.cxx.

25  : AthReentrantAlgorithm(name, pSvcLocator) {}

◆ ~TrackTimeExtensionAlg()

virtual HGTD::TrackTimeExtensionAlg::~TrackTimeExtensionAlg ( )
inlinevirtual

Definition at line 45 of file TrackTimeExtensionAlg.h.

45 {}

Member Function Documentation

◆ cardinality()

unsigned int AthReentrantAlgorithm::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.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

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

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ decorateTrackParticle()

StatusCode HGTD::TrackTimeExtensionAlg::decorateTrackParticle ( DecorHandles dh,
const xAOD::TrackParticle track_ptkl,
const HGTD::ExtensionObject extension,
const InDetSimDataCollection sdo_collection,
const HepMC::GenEvent *  hs_event,
bool  skip_deco = false 
) const
private

Definition at line 166 of file TrackTimeExtensionAlg.cxx.

170  {
171 
172  std::vector<bool> has_cluster_vec;
173  has_cluster_vec.reserve(n_hgtd_layers);
174  std::vector<float> chi2_vec;
175  chi2_vec.reserve(n_hgtd_layers);
176  std::vector<float> raw_time_vec;
177  raw_time_vec.reserve(n_hgtd_layers);
178  std::vector<float> time_vec;
179  time_vec.reserve(n_hgtd_layers);
180  std::vector<int> truth_vec;
181  truth_vec.reserve(n_hgtd_layers);
182  std::vector<bool> is_shadowed_vec;
183  is_shadowed_vec.reserve(n_hgtd_layers);
184  std::vector<bool> is_merged_vec;
185  is_merged_vec.reserve(n_hgtd_layers);
186  std::vector<bool> primary_exists_vec;
187  primary_exists_vec.reserve(n_hgtd_layers);
188 
189  for (unsigned short i = 0; i < n_hgtd_layers; i++) {
190 
191  const std::unique_ptr<const Trk::TrackStateOnSurface>& trk_state =
192  extension.m_hits.at(i);
193  const HGTD_Cluster* primary_cluster = extension.m_truth_primary_hits.at(i);
194 
195  primary_exists_vec.push_back(primary_cluster != nullptr);
196 
197  if (trk_state) {
198  ATH_MSG_DEBUG("[decorateTrackParticle] extension found");
199  has_cluster_vec.emplace_back(true);
200 
201  chi2_vec.emplace_back(
202  trk_state->fitQualityOnSurface().chiSquared() /
203  trk_state->fitQualityOnSurface().doubleNumberDoF());
204 
205  const HGTD_ClusterOnTrack* cot =
206  dynamic_cast<const HGTD_ClusterOnTrack*>(trk_state->measurementOnTrack());
207 
208  time_vec.emplace_back(cot->time());
209 
210  // get the cluster
211  const HGTD_Cluster* cluster = cot->prepRawData();
212 
213  raw_time_vec.emplace_back(cluster->time());
214 
215  // get the truth particle
217  acc_tpl("truthParticleLink");
218  const xAOD::TruthParticle* truth_particle = nullptr;
219  if (acc_tpl.isAvailable(*track_ptkl)) {
220  const auto& truth_match_link = acc_tpl(*track_ptkl);
221  if (truth_match_link.isValid()) {
222  truth_particle = *truth_match_link;
223  }
224  }
225 
227  bool is_shadowed = false;
228  bool is_merged = false;
229 
230  if (truth_particle) {
231  auto truth_info = m_truth_tool->classifyCluster(
232  cluster, truth_particle, sdo_collection, hs_event);
233  truth_origin = truth_info.origin;
234  is_shadowed = truth_info.is_shadowed;
235  is_merged = truth_info.is_merged;
236  }
237 
238  ATH_MSG_DEBUG("Truth origin: " << (int)truth_origin);
239 
240  truth_vec.emplace_back((int)truth_origin);
241  is_shadowed_vec.emplace_back(is_shadowed);
242  is_merged_vec.emplace_back(is_merged);
243  } else {
244  ATH_MSG_DEBUG("[decorateTrackParticle] NO extension found");
245  has_cluster_vec.emplace_back(false);
246  if (not skip_deco) {
247  chi2_vec.emplace_back(-1.);
248  raw_time_vec.emplace_back(-1.);
249  time_vec.emplace_back(-1.);
250  truth_vec.emplace_back(-1);
251  is_shadowed_vec.emplace_back(false);
252  is_merged_vec.emplace_back(false);
253  }
254  }
255 
256  } // END LOOP over TrackStateOnSurface
257 
258  dh.layerHasExtensionHandle(*track_ptkl) = has_cluster_vec;
259  dh.layerExtensionChi2Handle(*track_ptkl) = chi2_vec;
260  dh.layerClusterRawTimeHandle(*track_ptkl) = raw_time_vec;
261  dh.layerClusterTimeHandle(*track_ptkl) = time_vec;
262  dh.layerClusterTruthClassHandle(*track_ptkl) = truth_vec;
263  dh.layerClusterShadowedHandle(*track_ptkl) = is_shadowed_vec;
264  dh.layerClusterMergedHandle(*track_ptkl) = is_merged_vec;
265  dh.layerPrimaryExpectedHandle(*track_ptkl) = primary_exists_vec;
266  dh.extrapXHandle(*track_ptkl) = extension.m_extrap_x;
267  dh.extrapYHandle(*track_ptkl) = extension.m_extrap_y;
268 
269  return StatusCode::SUCCESS;
270 }

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

95 { return m_detStore; }

◆ evtStore() [1/2]

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.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode HGTD::TrackTimeExtensionAlg::execute ( const EventContext &  ctx) const
finaloverridevirtual

Definition at line 54 of file TrackTimeExtensionAlg.cxx.

54  {
55 
56  ATH_MSG_DEBUG("Start event");
57 
58  SG::ReadHandle<HGTD_ClusterContainer> cluster_container_handle(
60  const HGTD_ClusterContainer* cluster_container =
61  cluster_container_handle.cptr();
62  if (not cluster_container) {
63  ATH_MSG_ERROR("[TrackTimeExtensionAlg] HGTD_ClusterContainer not found, "
64  "aborting execute!");
65  return StatusCode::FAILURE;
66  }
67 
68  SG::ReadHandle<InDetSimDataCollection> sdo_collection_handle(
69  m_sdo_coll_rh_key, ctx);
70  const InDetSimDataCollection* sdo_collection = sdo_collection_handle.cptr();
71  if (not sdo_collection) {
72  ATH_MSG_WARNING("[TrackTimeExtensionAlg] SDO Collection not found, no "
73  "truth info available!");
74  }
75 
76  SG::ReadHandle<McEventCollection> mc_collection_handle(m_mc_coll_rh_key, ctx);
77  const McEventCollection* mc_coll = mc_collection_handle.cptr();
78  if (not mc_coll) {
79  ATH_MSG_ERROR("[TrackTimeExtensionAlg] McEventCollection not found, "
80  "aborting execute!");
81  return StatusCode::FAILURE;
82  }
83 
84  const HepMC::GenEvent* hs_event = nullptr;
85  if (mc_coll->size() > 0) {
86  hs_event = mc_coll->at(0);
87  } else {
88  hs_event = nullptr;
89  }
90 
91  // for each track, run the extension if the track is in HGTD acceptance
92  SG::ReadHandle<xAOD::TrackParticleContainer> trk_ptkl_container_handle(
93  m_trk_ptkl_rh_key, ctx);
94  const xAOD::TrackParticleContainer* track_particles =
95  trk_ptkl_container_handle.cptr();
96  if (not track_particles) {
97  ATH_MSG_ERROR("[TrackTimeExtensionAlg] TrackParticleContainer not found, "
98  "aborting execute!");
99  return StatusCode::FAILURE;
100  }
101 
102  DecorHandles dh (*this, ctx);
103 
104  for (const auto* track_ptkl : *track_particles) {
105 
106  ATH_MSG_DEBUG("Track eta: " << track_ptkl->eta()
107  << " pt: " << track_ptkl->pt());
108 
109  HGTD::ExtensionObject extension;
110 
111  if (std::abs(track_ptkl->eta()) < m_eta_cut) {
112  ATH_MSG_DEBUG("Track out of acceptance");
113  // decorate all track particle objects to avoid issues with the
114  // decorations
115  ATH_CHECK(decorateTrackParticle(dh, track_ptkl, extension, sdo_collection,
116  hs_event, true));
117  continue;
118  }
119 
120  // this should not happen?
121  if (track_ptkl->track() == nullptr) {
122  ATH_MSG_DEBUG("There is no Trk::Track");
123  ATH_CHECK(decorateTrackParticle(dh, track_ptkl, extension, sdo_collection,
124  hs_event, true));
125  continue;
126  }
127 
128  // return 4 track states on surface objects as a result of the extension
129  extension = m_extension_tool->extendTrackToHGTD(ctx,
130  *track_ptkl,
131  cluster_container,
132  hs_event,
133  sdo_collection);
134 
135  // TODO here:
136  // retrieve truth info for associated and non-associated HGTD hits, merging
137  // or shadowing info
138 
139  // decorate the track
140  ATH_CHECK(decorateTrackParticle(dh, track_ptkl, extension, sdo_collection,
141  hs_event, false));
142 
143  } // END LOOP over tracks
144 
145  return StatusCode::SUCCESS;
146 }

◆ 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 & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

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

Definition at line 79 of file AthReentrantAlgorithm.cxx.

80 {
81  // If we didn't find any symlinks to add, just return the collection
82  // from the base class. Otherwise, return the extended collection.
83  if (!m_extendedExtraObjects.empty()) {
85  }
86  return Algorithm::extraOutputDeps();
87 }

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ initialize()

StatusCode HGTD::TrackTimeExtensionAlg::initialize ( )
finaloverridevirtual

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

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

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

◆ 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();
383  PBASE::renounce (h);
384  }

◆ 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  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

virtual void AthReentrantAlgorithm::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 139 of file AthReentrantAlgorithm.h.

139  {
140  execState( ctx ).setFilterPassed( state );
141  }

◆ sysExecute()

StatusCode AthReentrantAlgorithm::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 67 of file AthReentrantAlgorithm.cxx.

68 {
69  return Gaudi::Algorithm::sysExecute (ctx);
70 }

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::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 InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

96  {
98 
99  if (sc.isFailure()) {
100  return sc;
101  }
102 
103  ServiceHandle<ICondSvc> cs("CondSvc",name());
104  for (auto h : outputHandles()) {
105  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
106  // do this inside the loop so we don't create the CondSvc until needed
107  if ( cs.retrieve().isFailure() ) {
108  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
109  return StatusCode::SUCCESS;
110  }
111  if (cs->regHandle(this,*h).isFailure()) {
112  sc = StatusCode::FAILURE;
113  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
114  << " with CondSvc");
115  }
116  }
117  }
118  return sc;
119 }

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

◆ 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) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Friends And Related Function Documentation

◆ DecorHandles

friend struct DecorHandles
friend

Definition at line 64 of file TrackTimeExtensionAlg.h.

Member Data Documentation

◆ m_clustercont_rh_key

SG::ReadHandleKey<HGTD_ClusterContainer> HGTD::TrackTimeExtensionAlg::m_clustercont_rh_key {this, "HGTDClusterContainerName", "HGTD_Cluster", "Name of the HGTD_Cluster container"}
private

Definition at line 75 of file TrackTimeExtensionAlg.h.

◆ m_deco_prefix

StringProperty HGTD::TrackTimeExtensionAlg::m_deco_prefix {this, "DecorationPrefix", "HGTD", "Prefix to better identify decorations"}
private

Definition at line 80 of file TrackTimeExtensionAlg.h.

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

FloatProperty HGTD::TrackTimeExtensionAlg::m_eta_cut {this, "MinEtaAcceptance", 2.38, "Minimum eta to consider a track for extension"}
private

Definition at line 82 of file TrackTimeExtensionAlg.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 AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

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

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_extension_tool

ToolHandle<IHGTD_TrackTimeExtensionTool> HGTD::TrackTimeExtensionAlg::m_extension_tool {this, "TimeExtensionTool", "HGTD_IterativeExtensionTool/HGTD_IterativeExtensionTool", "Tool for extending ID tracks into the HGTD"}
private

Definition at line 73 of file TrackTimeExtensionAlg.h.

◆ m_extrapXKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_extrapXKey {this, "HGTD_extrap_x", "InDetTrackParticles.HGTD_extrap_x", "deco with a handle for an x of extrap"}
private

Definition at line 94 of file TrackTimeExtensionAlg.h.

◆ m_extrapYKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_extrapYKey {this, "HGTD_extrap_y", "InDetTrackParticles.HGTD_extrap_y", "deco with a handle for an y of extrap"}
private

Definition at line 95 of file TrackTimeExtensionAlg.h.

◆ m_layerClusterMergedKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_layerClusterMergedKey {this, "HGTD_cluster_merged", "InDetTrackParticles.HGTD_cluster_merged", "deco with a handle for a merged cluster"}
private

Definition at line 92 of file TrackTimeExtensionAlg.h.

◆ m_layerClusterRawTimeKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_layerClusterRawTimeKey {this, "HGTD_cluster_raw_time", "InDetTrackParticles.HGTD_cluster_raw_time", "deco with a handle for layer cluster raw time"}
private

Definition at line 88 of file TrackTimeExtensionAlg.h.

◆ m_layerClusterShadowedKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_layerClusterShadowedKey {this, "HGTD_cluster_shadowed", "InDetTrackParticles.HGTD_cluster_shadowed", "deco with a handle for a shadowed cluster"}
private

Definition at line 91 of file TrackTimeExtensionAlg.h.

◆ m_layerClusterTimeKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_layerClusterTimeKey {this, "HGTD_cluster_time", "InDetTrackParticles.HGTD_cluster_time", "deco with a handle for cluster time"}
private

Definition at line 89 of file TrackTimeExtensionAlg.h.

◆ m_layerClusterTruthClassKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_layerClusterTruthClassKey {this, "HGTD_cluster_truth_class", "InDetTrackParticles.HGTD_cluster_truth_class", "deco with a handle for a truth time"}
private

Definition at line 90 of file TrackTimeExtensionAlg.h.

◆ m_layerExtensionChi2Key

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_layerExtensionChi2Key {this, "HGTD_extension_chi2", "InDetTrackParticles.HGTD_extension_chi2", "deco with a handle for a ch2 of extension"}
private

Definition at line 87 of file TrackTimeExtensionAlg.h.

◆ m_layerHasExtensionKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_layerHasExtensionKey {this, "HGTD_has_extension", "InDetTrackParticles.HGTD_has_extension", "deco with a handle for an extension"}
private

Definition at line 86 of file TrackTimeExtensionAlg.h.

◆ m_layerPrimaryExpectedKey

SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_layerPrimaryExpectedKey {this, "HGTD_primary_expected", "InDetTrackParticles.HGTD_primary_expected", "deco with a handle for an expected primary"}
private

Definition at line 93 of file TrackTimeExtensionAlg.h.

◆ m_mc_coll_rh_key

SG::ReadHandleKey<McEventCollection> HGTD::TrackTimeExtensionAlg::m_mc_coll_rh_key {this, "MC_CollectionName", "TruthEvent", "Name of the McEventCollection containing the truth information"}
private

Definition at line 77 of file TrackTimeExtensionAlg.h.

◆ m_sdo_coll_rh_key

SG::ReadHandleKey<InDetSimDataCollection> HGTD::TrackTimeExtensionAlg::m_sdo_coll_rh_key {this, "HGTD_SDOCollectionName", "HGTD_SDO_Map", "Name of the SDO container"}
private

Definition at line 76 of file TrackTimeExtensionAlg.h.

◆ m_trk_ptkl_rh_key

SG::ReadHandleKey<xAOD::TrackParticleContainer> HGTD::TrackTimeExtensionAlg::m_trk_ptkl_rh_key {this, "TrackParticleContainerName", "InDetTrackParticles", "Name of the TrackParticle container"}
private

Definition at line 78 of file TrackTimeExtensionAlg.h.

◆ m_truth_tool

ToolHandle<IHGTD_ClusterTruthTool> HGTD::TrackTimeExtensionAlg::m_truth_tool {this, "TruthTool", "ClusterTruthTool/ClusterTruthTool", "Tool for classifying HGTD clusters with truth information"}
private

Definition at line 84 of file TrackTimeExtensionAlg.h.

◆ 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:
HGTD::TrackTimeExtensionAlg::decorateTrackParticle
StatusCode decorateTrackParticle(DecorHandles &dh, const xAOD::TrackParticle *track_ptkl, const HGTD::ExtensionObject &extension, const InDetSimDataCollection *sdo_collection, const HepMC::GenEvent *hs_event, bool skip_deco=false) const
Definition: TrackTimeExtensionAlg.cxx:166
HGTD::ExtensionObject
Definition: IHGTD_TrackTimeExtensionTool.h:32
HGTD::TrackTimeExtensionAlg::DecorHandles
friend struct DecorHandles
Definition: TrackTimeExtensionAlg.h:64
HGTD::TrackTimeExtensionAlg::m_layerClusterShadowedKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_layerClusterShadowedKey
Definition: TrackTimeExtensionAlg.h:91
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:68
HGTD::ClusterTruthOrigin
ClusterTruthOrigin
Definition: IHGTD_ClusterTruthTool.h:27
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
HGTD::TrackTimeExtensionAlg::m_extrapXKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_extrapXKey
Definition: TrackTimeExtensionAlg.h:94
AthCommonDataStore::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 > renounce(T &h)
Definition: AthCommonDataStore.h:380
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
Trk::TrackStateOnSurface::measurementOnTrack
const MeasurementBase * measurementOnTrack() const
returns MeasurementBase const overload
HGTD_ClusterOnTrack::time
virtual float time() const
Definition: HGTD_ClusterOnTrack.h:161
InDetSimDataCollection
Definition: InDetSimDataCollection.h:25
HGTD::ExtensionObject::m_truth_primary_hits
std::array< const HGTD_Cluster *, 4 > m_truth_primary_hits
Definition: IHGTD_TrackTimeExtensionTool.h:37
Trk::FitQualityOnSurface::doubleNumberDoF
double doubleNumberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as double
Definition: FitQuality.h:68
HGTD::TrackTimeExtensionAlg::m_layerClusterRawTimeKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_layerClusterRawTimeKey
Definition: TrackTimeExtensionAlg.h:88
PyPoolBrowser.dh
dh
Definition: PyPoolBrowser.py:102
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Trk::TrackStateOnSurface::fitQualityOnSurface
const FitQualityOnSurface & fitQualityOnSurface() const
return FitQuality On Surface const overload
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
HGTD_Cluster
Definition: HGTD_Cluster.h:35
HGTD::TrackTimeExtensionAlg::m_trk_ptkl_rh_key
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trk_ptkl_rh_key
Definition: TrackTimeExtensionAlg.h:78
HGTD::TrackTimeExtensionAlg::m_extrapYKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_extrapYKey
Definition: TrackTimeExtensionAlg.h:95
HGTD::TrackTimeExtensionAlg::m_extension_tool
ToolHandle< IHGTD_TrackTimeExtensionTool > m_extension_tool
Definition: TrackTimeExtensionAlg.h:73
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
HGTD::TrackTimeExtensionAlg::m_sdo_coll_rh_key
SG::ReadHandleKey< InDetSimDataCollection > m_sdo_coll_rh_key
Definition: TrackTimeExtensionAlg.h:76
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
lumiFormat.i
int i
Definition: lumiFormat.py:85
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
HGTD::TrackTimeExtensionAlg::m_mc_coll_rh_key
SG::ReadHandleKey< McEventCollection > m_mc_coll_rh_key
Definition: TrackTimeExtensionAlg.h:77
HGTD::TrackTimeExtensionAlg::m_layerClusterTimeKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_layerClusterTimeKey
Definition: TrackTimeExtensionAlg.h:89
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:37
HGTD::ClusterTruthOrigin::UNIDENTIFIED
@ UNIDENTIFIED
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition: McEventCollection.h:33
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
HGTD::TrackTimeExtensionAlg::m_layerClusterTruthClassKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_layerClusterTruthClassKey
Definition: TrackTimeExtensionAlg.h:90
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
HGTD::ExtensionObject::m_extrap_x
float m_extrap_x
Definition: IHGTD_TrackTimeExtensionTool.h:40
HGTD::TrackTimeExtensionAlg::m_eta_cut
FloatProperty m_eta_cut
Definition: TrackTimeExtensionAlg.h:82
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
HGTD_ClusterOnTrack
Definition: HGTD_ClusterOnTrack.h:27
HGTD::ExtensionObject::m_hits
std::array< std::unique_ptr< const Trk::TrackStateOnSurface >, 4 > m_hits
Definition: IHGTD_TrackTimeExtensionTool.h:34
a
TList * a
Definition: liststreamerinfos.cxx:10
SG::WriteDecorHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
Trk::PrepRawDataContainer
Definition: PrepRawDataContainer.h:26
HGTD::TrackTimeExtensionAlg::m_clustercont_rh_key
SG::ReadHandleKey< HGTD_ClusterContainer > m_clustercont_rh_key
Definition: TrackTimeExtensionAlg.h:75
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
HGTD::TrackTimeExtensionAlg::m_layerPrimaryExpectedKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_layerPrimaryExpectedKey
Definition: TrackTimeExtensionAlg.h:93
HGTD::TrackTimeExtensionAlg::m_truth_tool
ToolHandle< IHGTD_ClusterTruthTool > m_truth_tool
Definition: TrackTimeExtensionAlg.h:84
HGTD_ClusterOnTrack::prepRawData
virtual const HGTD_Cluster * prepRawData() const override final
returns the PrepRawData - is a SiCluster in this scope
Definition: HGTD_ClusterOnTrack.h:149
HGTD::TrackTimeExtensionAlg::m_layerHasExtensionKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_layerHasExtensionKey
Definition: TrackTimeExtensionAlg.h:86
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
HGTD::ExtensionObject::m_extrap_y
float m_extrap_y
Definition: IHGTD_TrackTimeExtensionTool.h:41
HGTD::TrackTimeExtensionAlg::m_layerExtensionChi2Key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_layerExtensionChi2Key
Definition: TrackTimeExtensionAlg.h:87
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
HGTD_Cluster::time
virtual float time() const
Definition: HGTD_Cluster.h:115
Trk::FitQualityOnSurface::chiSquared
double chiSquared() const
returns the of the overall track fit
Definition: FitQuality.h:56
fitman.k
k
Definition: fitman.py:528
HGTD::TrackTimeExtensionAlg::m_layerClusterMergedKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_layerClusterMergedKey
Definition: TrackTimeExtensionAlg.h:92
ServiceHandle< ICondSvc >