Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
JiveXML::TrackRetriever Class Reference

Retrieves all Trk::TrackCollection objects. More...

#include <TrackRetriever.h>

Inheritance diagram for JiveXML::TrackRetriever:
Collaboration diagram for JiveXML::TrackRetriever:

Public Member Functions

 TrackRetriever (const std::string &type, const std::string &name, const IInterface *parent)
 Standard Constructor. More...
 
virtual StatusCode retrieve (ToolHandle< IFormatTool > &FormatTool)
 For each track collection retrieve all data. More...
 
const DataMap getData (const TrackCollection *trackCollection, const std::string &collectionName)
 Puts the variables into a DataMap. More...
 
const std::vector< std::string > getKeys ()
 Gets the StoreGate keys for the desired containers. More...
 
virtual std::string dataTypeName () const
 Return the name of the data type that is generated by this retriever. More...
 
StatusCode initialize ()
 Default AthAlgTool methods. More...
 
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 sysInitialize () override
 Perform system initialization for an algorithm. 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
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Return the interface identifier. More...
 

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

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

const std::string m_typeName = "Track"
 The data type that is generated by this retriever. More...
 
Gaudi::Property< std::string > m_priorityKey {this,"PriorityTrackCollection","CombinedInDetTracks", "First track collections to retrieve, shown as default in Atlantis"}
 
Gaudi::Property< std::vector< std::string > > m_otherKeys {this, "OtherTrackCollections", {}, "Track collections to retrieve, all if empty"}
 
Gaudi::Property< bool > m_doWriteHLT {this, "DoWriteHLT", false, "Write out other collections that have HLT in the name"}
 
Gaudi::Property< bool > m_doWriteAllCollections {this, "DoWriteAllCollections", false, "Write out all Track collections"}
 
Gaudi::Property< std::string > m_TrackTruthCollection {this, "TrackTruthColName", "TrackTruthCollection", "Track collection from which to retrieve the truth associations for the priority track collection"}
 
Gaudi::Property< bool > m_doWriteResiduals {this,"DoWriteResiduals", true,"Whether to write TrackResiduals"}
 
Gaudi::Property< bool > m_doHitsSorting {this, "DoHitsSorting", false, "Whether to perform hits TrackStateOnSurfaces (TSoS) sorting"}
 
Gaudi::Property< bool > m_doHitsDetails {this, "DoHitsDetails", true, "Whether to write hits TrackStateOnSurfaces (TSoS) details"}
 
ToolHandle< Trk::IResidualPullCalculatorm_residualPullCalculator {this, "ResidualPullCalculator","Trk::ResidualPullCalculator/ResidualPullCalculator", "ToolHandle to ResidualPullCaclulator" }
 
ToolHandle< Trk::ITrackSummaryToolm_trackSumTool {this, "TrackSummaryTool", "Trk::TrackSummaryTool/InDetTrackSummaryTool", "Track Summary Tool for number of Pix/SCT/TRT hits"}
 
const AtlasDetectorIDm_idHelper {}
 Used to find out the corresponding sub-det from ROT->identify(). 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
 

Detailed Description

Retrieves all Trk::TrackCollection objects.

Definition at line 63 of file TrackRetriever.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TrackRetriever()

JiveXML::TrackRetriever::TrackRetriever ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Standard Constructor.

This is the standard AthAlgTool constructor.

Parameters
typeAlgTool type name
nameAlgTool instance name
parentAlgTools parent owning this tool

Definition at line 335 of file TrackRetriever.cxx.

335  :

Member Function Documentation

◆ dataTypeName()

virtual std::string JiveXML::TrackRetriever::dataTypeName ( ) const
inlinevirtual

Return the name of the data type that is generated by this retriever.

Implements JiveXML::IDataRetriever.

Definition at line 77 of file TrackRetriever.h.

77 { return m_typeName; };

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

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

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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; }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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

◆ getData()

const DataMap JiveXML::TrackRetriever::getData ( const TrackCollection trackCollection,
const std::string &  collectionName 
)

Puts the variables into a DataMap.

Try to find the appropiate truth collection StoreGate key can be either 'TruthCollection' or just 'Truth' suffix. Check both. Using 'SG::contains' check first, avoids spitting out SG warnings

General track fit info

Get truth Information

Get Perigee parameters (if available)

Get number of Pix/SCT/TRT hits

Get sorted list of track state on surfaces

Get polyline information

RIO association and outlier id

Definition at line 393 of file TrackRetriever.cxx.

393  {
394 
395  ATH_MSG_DEBUG("in getData()");
396 
397  //Some sanity checks
398  if ( trackCollection->empty()){
399  ATH_MSG_DEBUG( "Empty track collection " << collectionName );
400  } else {
401  ATH_MSG_DEBUG( "Retrieving data for track collection " << collectionName);
402  }
403 
410  SG::ReadHandle<TrackTruthCollection> truthCollection;
411 
412  // Check for given truth collection
413  if (collectionName == m_priorityKey) {
415  if (truthCollection.isValid()) {
416  ATH_MSG_DEBUG("Found TrackTruthCollection with key " << m_TrackTruthCollection);
417  }
418  }else {
419  truthCollection = SG::ReadHandle<TrackTruthCollection>(collectionName + "TruthCollection");
420  if (truthCollection.isValid()) {
421  ATH_MSG_DEBUG("Found TrackTruthCollection with key " << collectionName << "TruthCollection");
422  } else {
423  truthCollection = SG::ReadHandle<TrackTruthCollection>(collectionName + "Truth");
424  if (truthCollection.isValid()) {
425  ATH_MSG_DEBUG("Found TrackTruthCollection with key " << collectionName << "Truth");
426  } else {
427  ATH_MSG_DEBUG("Could not find matching TrackTruthCollection for " << collectionName);
428  }
429  }
430  }
431 
432  // Make a list of track-wise entries and reserve enough space
433  DataVect id; id.reserve(trackCollection->size());
434  DataVect chi2; chi2.reserve(trackCollection->size());
435  DataVect numDoF; numDoF.reserve(trackCollection->size());
436  DataVect trackAuthor; trackAuthor.reserve(trackCollection->size());
437  DataVect barcode; barcode.reserve(trackCollection->size());
438  DataVect numHits; numHits.reserve(trackCollection->size());
439  DataVect numPolyline; numPolyline.reserve(trackCollection->size());
440  DataVect nBLayerHits; nBLayerHits.reserve(trackCollection->size());
441  DataVect nPixHits; nPixHits.reserve(trackCollection->size());
442  DataVect nSCTHits; nSCTHits.reserve(trackCollection->size());
443  DataVect nTRTHits; nTRTHits.reserve(trackCollection->size());
444 
445  // vectors with measurement- or TrackStateOnSurface-wise entries
446  // reserve space later on
447  DataVect polylineX;
448  DataVect polylineY;
449  DataVect polylineZ;
450  DataVect tsosResLoc1;
451  DataVect tsosResLoc2;
452  DataVect tsosPullLoc1;
453  DataVect tsosPullLoc2;
454  DataVect tsosDetType;
455  DataVect isOutlier;
457  DataVect hits;
458 
459  //Store wether this collection has perigee parameters
460  DataVect pt; pt.reserve(trackCollection->size());
461  DataVect d0; d0.reserve(trackCollection->size());
462  DataVect z0; z0.reserve(trackCollection->size());
463  DataVect phi0; phi0.reserve(trackCollection->size());
464  DataVect cotTheta; cotTheta.reserve(trackCollection->size());
465  //Covariance matrix has 15 entries per track
466  DataVect covMatrix; covMatrix.reserve(trackCollection->size() * 15 );
467 
468  // Now loop over all tracks in the collection
470  for (track=trackCollection->begin(); track!=trackCollection->end(); ++track) {
474  id.emplace_back(id.size()); //<! simple counter starting from 0
475  chi2.emplace_back((*track)->fitQuality()->chiSquared());
476  numDoF.emplace_back((*track)->fitQuality()->numberDoF());
477  trackAuthor.emplace_back((*track)->info().trackFitter());
478 
482  TrackRetrieverHelpers::getTruthFromTrack(*track,trackCollection,truthCollection,barcode);
483 
488 
492  std::unique_ptr<Trk::TrackSummary> summary = nullptr;
493  summary = m_trackSumTool->summary(Gaudi::Hive::currentContext(), **track);
494 
495  if(not summary){
496  ATH_MSG_DEBUG( "Track summary is NULL " );
497  nBLayerHits.emplace_back(0);
498  nPixHits.emplace_back(0);
499  nSCTHits.emplace_back(0);
500  nTRTHits.emplace_back(0);
501  }else{
502  nBLayerHits.emplace_back(summary->get(Trk::numberOfInnermostPixelLayerHits));
503  nPixHits.emplace_back(summary->get(Trk::numberOfPixelHits));
504  nSCTHits.emplace_back(summary->get(Trk::numberOfSCTHits));
505  nTRTHits.emplace_back(summary->get(Trk::numberOfTRTHits));
506  }
507 
511  // Vector of interesting TrackStateOnSurfaces
512  std::vector<const Trk::TrackStateOnSurface*> TSoSVec = TrackRetrieverHelpers::getTrackStateOnSurfaces(*track,perigee,m_doHitsSorting);
513 
517  // Reserving some space for polyline hits
518  polylineX.reserve(polylineX.size()+TSoSVec.size());
519  polylineY.reserve(polylineY.size()+TSoSVec.size());
520  polylineZ.reserve(polylineZ.size()+TSoSVec.size());
521 
522  //And fill them
523  TrackRetrieverHelpers::getPolylineFromHits(TSoSVec,polylineX,polylineY,polylineZ,numPolyline);
524 
528  //Reserve some space for resPull and other hit info
529  isOutlier.reserve(isOutlier.size()+TSoSVec.size());
530  hits.reserve(hits.size()+TSoSVec.size());
531  driftSign.reserve(driftSign.size()+TSoSVec.size());
532  tsosResLoc1.reserve(tsosResLoc1.size()+TSoSVec.size());
533  tsosResLoc2.reserve(tsosResLoc2.size()+TSoSVec.size());
534  tsosPullLoc1.reserve(tsosPullLoc1.size()+TSoSVec.size());
535  tsosPullLoc2.reserve(tsosPullLoc2.size()+TSoSVec.size());
536  tsosDetType.reserve(tsosDetType.size()+TSoSVec.size());
537 
538  //Now loop over tracks and fill them
539  std::vector< const Trk::TrackStateOnSurface* >::const_iterator TSoSItr = TSoSVec.begin();
540  //Count number of hits stored in this loop
541  long nHits = 0;
542  if (m_doHitsDetails){ // disable only for HeavyIons !
543  for (; TSoSItr != TSoSVec.end(); ++TSoSItr){
544  // This produces the full long debug dump for TSoS:
545  ATH_MSG_VERBOSE( (**TSoSItr) );
546  //Get the basic hit information
547  const Trk::RIO_OnTrack* rot = TrackRetrieverHelpers::getBaseInfoFromHit(*TSoSItr, m_idHelper, isOutlier, hits, driftSign, tsosDetType );
548  //tell if this didn't work out
549  if (!rot){
550  ATH_MSG_VERBOSE( "Could not obtain RIO for TSoS of type " << (*TSoSItr)->dumpType() );
551  continue ;
552  }
553  //count this as a hit
554  ++nHits;
555 
556  //if we shell retrieve residuals, also get those
557  if (m_doWriteResiduals){
558  TrackRetrieverHelpers::getResidualPullFromHit( *TSoSItr, rot, m_residualPullCalculator, tsosResLoc1, tsosResLoc2, tsosPullLoc1, tsosPullLoc2);
559  }
560  }
561  } // end hits details
562 
563  //Store number of retrieved hits for which we have retrieved information
564  numHits.emplace_back(nHits);
565 
566  } // end loop over tracks in collection
567 
568  //Now fill everything in a datamap
570  // Start with mandatory entries
571  DataMap["id"] = id;
572  DataMap["chi2"] = chi2;
573  DataMap["numDoF"] = numDoF;
574  DataMap["trackAuthor"] = trackAuthor;
575  DataMap["barcode"] = barcode;
576  DataMap["numHits"] = numHits;
577  DataMap["nBLayerHits"] = nBLayerHits;
578  DataMap["nPixHits"] = nPixHits;
579  DataMap["nSCTHits"] = nSCTHits;
580  DataMap["nTRTHits"] = nTRTHits;
581  DataMap["numPolyline"] = numPolyline;
582 
583  // if perigee parameters are not available, leave the corresponding subtags empty.
584  // This way atlantis knows that such tracks can only be displayed as polylines.
585  if (!pt.empty()){
586  DataMap["pt"] = pt;
587  DataMap["d0"] = d0;
588  DataMap["z0"] = z0;
589  DataMap["phi0"] = phi0;
590  DataMap["cotTheta"] = cotTheta;
591  DataMap["covMatrix multiple=\"15\""] = covMatrix;
592  }
593 
594  // vectors with measurement- or TrackStateOnSurface-wise entries
595  if ( !polylineX.empty()){
596  std::string numPolyPerTrack = DataType(polylineX.size()/((double)id.size())).toString();
597  DataMap["polylineX multiple=\"" + numPolyPerTrack + "\""] = polylineX;
598  DataMap["polylineY multiple=\"" + numPolyPerTrack + "\""] = polylineY;
599  DataMap["polylineZ multiple=\"" + numPolyPerTrack + "\""] = polylineZ;
600  }
601 
602  if ( !hits.empty()){
603  std::string numHitsPerTrack = DataType(hits.size()/((double)id.size())).toString();
604  DataMap["hits multiple=\"" + numHitsPerTrack + "\""] = hits;
605  DataMap["isOutlier multiple=\""+numHitsPerTrack+"\""] = isOutlier;
606  DataMap["driftSign multiple=\""+numHitsPerTrack+"\""] = driftSign;
607 
608  if (m_doWriteResiduals){
609  // hits counter in principle not needed anymore:
610  DataMap["numTsos"] = numHits;
611  DataMap["tsosResLoc1 multiple=\""+numHitsPerTrack+"\""] = tsosResLoc1;
612  DataMap["tsosResLoc2 multiple=\""+numHitsPerTrack+"\""] = tsosResLoc2;
613  DataMap["tsosPullLoc1 multiple=\""+numHitsPerTrack+"\""] = tsosPullLoc1;
614  DataMap["tsosPullLoc2 multiple=\""+numHitsPerTrack+"\""] = tsosPullLoc2;
615  DataMap["tsosDetType multiple=\""+numHitsPerTrack+"\""] = tsosDetType;
616  }
617  }
618 
619  ATH_MSG_DEBUG(dataTypeName() << " collection " << collectionName << " retrieved with " << id.size() << " entries");
620 
621  return DataMap;
622  }

◆ getKeys()

const std::vector< std::string > JiveXML::TrackRetriever::getKeys ( )

Gets the StoreGate keys for the desired containers.

Definition at line 626 of file TrackRetriever.cxx.

626  {
627 
628  ATH_MSG_DEBUG("in getKeys()");
629 
630  // Initialize keys with the priority key first and then the other requested keys
631  std::vector<std::string> keys = {m_priorityKey};
632 
633  if (!m_otherKeys.empty() && !m_doWriteAllCollections) {
634  keys.insert(keys.end(), m_otherKeys.begin(), m_otherKeys.end());
635  }
636  else {
637  // If all collections are requested, obtain all available keys from StoreGate
638  std::vector<std::string> allKeys;
639  //if(m_doWriteAllCollections){
640  evtStore()->keys<TrackCollection>(allKeys);
641  //}
642 
643  // Add keys that are not the priority key and do not add containers with "HLT" in their name if requested, ignore TRTSeed and MuonSlimmedTrackCollections
644  for (const std::string& key : allKeys) {
645  if (key != m_priorityKey && (key.find("HLT") == std::string::npos || m_doWriteHLT) && (key!="TRTSeeds") && (key !="MuonSlimmedTrackCollection")) {
646  keys.emplace_back(key);
647  ATH_MSG_DEBUG("key: " << key);
648  }
649  }
650  }
651  return keys;
652  }

◆ initialize()

StatusCode JiveXML::TrackRetriever::initialize ( )

Default AthAlgTool methods.

Initialize before event loop.

  • retrieve the residual-pull tool
  • setup the ID helper

Definition at line 343 of file TrackRetriever.cxx.

343  {
344  //Set up ATLAS ID helper to be able to identify the RIO's det-subsystem.
345  ATH_CHECK(detStore()->retrieve(m_idHelper, "AtlasID"));
346 
347  // try to retrieve residual-pull calculation only if requested
348  if (m_doWriteResiduals){
350  }
351 
352  ATH_CHECK(m_trackSumTool.retrieve());
353 
354  return StatusCode::SUCCESS;
355  }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ interfaceID()

const InterfaceID & JiveXML::IDataRetriever::interfaceID ( )
inlinestaticinherited

Return the interface identifier.

Definition at line 40 of file IDataRetriever.h.

40 { return IID_IDataRetriever; }

◆ msg() [1/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< AlgTool >::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< AlgTool >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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  }

◆ retrieve()

StatusCode JiveXML::TrackRetriever::retrieve ( ToolHandle< IFormatTool > &  FormatTool)
virtual

For each track collection retrieve all data.

  • loop over tracks in all collections
  • for each track get basic parameters
    Parameters
    FormatToolthe tool that will create formated output from the DataMap

Implements JiveXML::IDataRetriever.

Definition at line 365 of file TrackRetriever.cxx.

365  {
366 
367  ATH_MSG_DEBUG("In retrieve()");
368 
369  std::vector<std::string> keys = getKeys();
370 
371  if(keys.empty()){
372  ATH_MSG_WARNING("No StoreGate keys found");
373  return StatusCode::SUCCESS;
374  }
375 
376  // Loop through the keys and retrieve the corresponding data
377  for (const std::string& key : keys) {
379  if (cont.isValid()) {
380  DataMap data = getData(&(*cont),key);
381  if (FormatTool->AddToEvent(dataTypeName(), key, &data).isFailure()) {
382  ATH_MSG_WARNING("Failed to retrieve Collection " << key);
383  } else {
384  ATH_MSG_DEBUG(" (" << key << ") retrieved");
385  }
386  } else {
387  ATH_MSG_WARNING("Collection " << key << " not found in SG");
388  }
389  }
390  return StatusCode::SUCCESS;
391  }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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  }

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_doHitsDetails

Gaudi::Property<bool> JiveXML::TrackRetriever::m_doHitsDetails {this, "DoHitsDetails", true, "Whether to write hits TrackStateOnSurfaces (TSoS) details"}
private

Definition at line 93 of file TrackRetriever.h.

◆ m_doHitsSorting

Gaudi::Property<bool> JiveXML::TrackRetriever::m_doHitsSorting {this, "DoHitsSorting", false, "Whether to perform hits TrackStateOnSurfaces (TSoS) sorting"}
private

Definition at line 92 of file TrackRetriever.h.

◆ m_doWriteAllCollections

Gaudi::Property<bool> JiveXML::TrackRetriever::m_doWriteAllCollections {this, "DoWriteAllCollections", false, "Write out all Track collections"}
private

Definition at line 89 of file TrackRetriever.h.

◆ m_doWriteHLT

Gaudi::Property<bool> JiveXML::TrackRetriever::m_doWriteHLT {this, "DoWriteHLT", false, "Write out other collections that have HLT in the name"}
private

Definition at line 88 of file TrackRetriever.h.

◆ m_doWriteResiduals

Gaudi::Property<bool> JiveXML::TrackRetriever::m_doWriteResiduals {this,"DoWriteResiduals", true,"Whether to write TrackResiduals"}
private

Definition at line 91 of file TrackRetriever.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_idHelper

const AtlasDetectorID* JiveXML::TrackRetriever::m_idHelper {}
private

Used to find out the corresponding sub-det from ROT->identify().

Definition at line 99 of file TrackRetriever.h.

◆ m_otherKeys

Gaudi::Property<std::vector<std::string> > JiveXML::TrackRetriever::m_otherKeys {this, "OtherTrackCollections", {}, "Track collections to retrieve, all if empty"}
private

Definition at line 87 of file TrackRetriever.h.

◆ m_priorityKey

Gaudi::Property<std::string> JiveXML::TrackRetriever::m_priorityKey {this,"PriorityTrackCollection","CombinedInDetTracks", "First track collections to retrieve, shown as default in Atlantis"}
private

Definition at line 86 of file TrackRetriever.h.

◆ m_residualPullCalculator

ToolHandle<Trk::IResidualPullCalculator> JiveXML::TrackRetriever::m_residualPullCalculator {this, "ResidualPullCalculator","Trk::ResidualPullCalculator/ResidualPullCalculator", "ToolHandle to ResidualPullCaclulator" }
private

Definition at line 95 of file TrackRetriever.h.

◆ m_trackSumTool

ToolHandle< Trk::ITrackSummaryTool > JiveXML::TrackRetriever::m_trackSumTool {this, "TrackSummaryTool", "Trk::TrackSummaryTool/InDetTrackSummaryTool", "Track Summary Tool for number of Pix/SCT/TRT hits"}
private

Definition at line 96 of file TrackRetriever.h.

◆ m_TrackTruthCollection

Gaudi::Property<std::string> JiveXML::TrackRetriever::m_TrackTruthCollection {this, "TrackTruthColName", "TrackTruthCollection", "Track collection from which to retrieve the truth associations for the priority track collection"}
private

Definition at line 90 of file TrackRetriever.h.

◆ m_typeName

const std::string JiveXML::TrackRetriever::m_typeName = "Track"
private

The data type that is generated by this retriever.

Definition at line 84 of file TrackRetriever.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
JiveXML::TrackRetriever::getKeys
const std::vector< std::string > getKeys()
Gets the StoreGate keys for the desired containers.
Definition: TrackRetriever.cxx:626
Trk::numberOfPixelHits
@ numberOfPixelHits
number of pixel layers on track with absence of hits
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:57
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
JiveXML::TrackRetriever::m_priorityKey
Gaudi::Property< std::string > m_priorityKey
Definition: TrackRetriever.h:86
JiveXML::TrackRetriever::m_TrackTruthCollection
Gaudi::Property< std::string > m_TrackTruthCollection
Definition: TrackRetriever.h:90
TRTCalib_Extractor.hits
hits
Definition: TRTCalib_Extractor.py:35
Trk::numberOfInnermostPixelLayerHits
@ numberOfInnermostPixelLayerHits
these are the hits in the 1st pixel layer
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:53
JiveXML::TrackRetriever::m_doWriteResiduals
Gaudi::Property< bool > m_doWriteResiduals
Definition: TrackRetriever.h:91
JiveXML::TrackRetriever::m_doHitsDetails
Gaudi::Property< bool > m_doHitsDetails
Definition: TrackRetriever.h:93
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:67
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
JiveXML::TrackRetrieverHelpers::getPerigeeParameters
const Trk::Perigee * getPerigeeParameters(const Trk::Track *track, DataVect &pt, DataVect &d0, DataVect &z0, DataVect &phi0, DataVect &cotTheta, DataVect &covMatrix)
Obtain the perigee parameters for a given track, if available, and fill them in the corresponding dat...
Definition: TrackRetriever.cxx:48
InDetAccessor::phi0
@ phi0
Definition: InDetAccessor.h:33
JiveXML::DataVect
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
Definition: DataType.h:58
DataType
OFFLINE_FRAGMENTS_NAMESPACE::PointerType DataType
Definition: RoIBResultByteStreamTool.cxx:25
test_pyathena.pt
pt
Definition: test_pyathena.py:11
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
JiveXML::TrackRetriever::m_otherKeys
Gaudi::Property< std::vector< std::string > > m_otherKeys
Definition: TrackRetriever.h:87
JiveXML::TrackRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: TrackRetriever.h:84
JiveXML::TrackRetrieverHelpers::getBaseInfoFromHit
const Trk::RIO_OnTrack * getBaseInfoFromHit(const Trk::TrackStateOnSurface *tsos, const AtlasDetectorID *idHelper, DataVect &isOutlier, DataVect &hits, DataVect &driftSign, DataVect &tsosDetType)
Retrieve all the basic hit information from the Trk::TrackStateOnSurface.
Definition: TrackRetriever.cxx:181
Trk::RIO_OnTrack
Definition: RIO_OnTrack.h:70
JiveXML::TrackRetrieverHelpers::getTrackStateOnSurfaces
std::vector< const Trk::TrackStateOnSurface * > getTrackStateOnSurfaces(const Trk::Track *track, const Trk::Perigee *perigee, bool doHitsSorting)
Get a list of track-State on Surfaces for measurement and outlier hits, sorted using the perigee comp...
Definition: TrackRetriever.cxx:118
JiveXML::TrackRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
For each track collection retrieve all data.
Definition: TrackRetriever.cxx:365
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
JiveXML::TrackRetriever::m_residualPullCalculator
ToolHandle< Trk::IResidualPullCalculator > m_residualPullCalculator
Definition: TrackRetriever.h:95
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
JiveXML::TrackRetrieverHelpers::getResidualPullFromHit
void getResidualPullFromHit(const Trk::TrackStateOnSurface *tsos, const Trk::RIO_OnTrack *rot, const ToolHandle< Trk::IResidualPullCalculator > &residualPullCalculator, DataVect &tsosResLoc1, DataVect &tsosResLoc2, DataVect &tsosPullLoc1, DataVect &tsosPullLoc2)
Get the residual pull information from the Trk::TrackStateOnSurface hit.
Definition: TrackRetriever.cxx:250
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
MuonR4::SegmentFitHelpers::driftSign
int driftSign(const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const SpacePoint &uncalibHit, MsgStream &msg)
Calculates whether a segement line travereses the tube measurement on the left (-1) or right (1) side...
Definition: SegmentFitHelperFunctions.cxx:235
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
JiveXML::TrackRetriever::m_doWriteAllCollections
Gaudi::Property< bool > m_doWriteAllCollections
Definition: TrackRetriever.h:89
IDTPM::nSCTHits
float nSCTHits(const U &p)
Definition: TrackParametersHelper.h:393
JiveXML::TrackRetriever::getData
const DataMap getData(const TrackCollection *trackCollection, const std::string &collectionName)
Puts the variables into a DataMap.
Definition: TrackRetriever.cxx:393
IDTPM::nTRTHits
float nTRTHits(const U &p)
Definition: TrackParametersHelper.h:446
Trk::numberOfSCTHits
@ numberOfSCTHits
number of SCT holes
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:71
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
xAOD::covMatrix
covMatrix
Definition: TrackMeasurement_v1.cxx:19
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition: comparitor.cxx:525
TRT::Track::d0
@ d0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:62
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
JiveXML::TrackRetriever::m_idHelper
const AtlasDetectorID * m_idHelper
Used to find out the corresponding sub-det from ROT->identify().
Definition: TrackRetriever.h:99
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
JiveXML::TrackRetriever::m_doWriteHLT
Gaudi::Property< bool > m_doWriteHLT
Definition: TrackRetriever.h:88
TRT::Track::z0
@ z0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:63
DataVector< Trk::Track >
SG::ReadHandle::isValid
virtual bool isValid() override final
Can the handle be successfully dereferenced?
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
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
Trk::numberOfTRTHits
@ numberOfTRTHits
number of TRT outliers
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:79
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:239
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
JiveXML::TrackRetriever::m_doHitsSorting
Gaudi::Property< bool > m_doHitsSorting
Definition: TrackRetriever.h:92
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
JiveXML::TrackRetriever::m_trackSumTool
ToolHandle< Trk::ITrackSummaryTool > m_trackSumTool
Definition: TrackRetriever.h:96
a
TList * a
Definition: liststreamerinfos.cxx:10
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
TRT::Track::cotTheta
@ cotTheta
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:65
JiveXML::TrackRetrieverHelpers::getTruthFromTrack
void getTruthFromTrack(const Trk::Track *track, const TrackCollection *trackCollection, SG::ReadHandle< TrackTruthCollection > &truthCollection, DataVect &barcode)
Get the barcode of the associated truth track.
Definition: TrackRetriever.cxx:299
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
xAOD::track
@ track
Definition: TrackingPrimitives.h:513
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
DataVector::empty
bool empty() const noexcept
Returns true if the collection is empty.
JiveXML::TrackRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type that is generated by this retriever.
Definition: TrackRetriever.h:77
DataVector::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
fitman.k
k
Definition: fitman.py:528
JiveXML::TrackRetrieverHelpers::getPolylineFromHits
void getPolylineFromHits(const std::vector< const Trk::TrackStateOnSurface * > &TSoSVec, DataVect &polylineX, DataVect &polylineY, DataVect &polylineZ, DataVect &numPolyline)
Get polyline hits if available.
Definition: TrackRetriever.cxx:155
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37
SCT_Monitoring::summary
@ summary
Definition: SCT_MonitoringNumbers.h:65