ATLAS Offline Software
Classes | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
InDet::SiSPSeededTrackFinder Class Reference

#include <SiSPSeededTrackFinder.h>

Inheritance diagram for InDet::SiSPSeededTrackFinder:
Collaboration diagram for InDet::SiSPSeededTrackFinder:

Classes

class  Counter_t
 

Public Member Functions

virtual StatusCode sysInitialize () override
 Override sysInitialize. 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...
 
Print internal tool parameters and status
MsgStream & dump (MSG::Level lvl, const SiSPSeededTrackFinder::Counter_t *) const
 
MsgStream & dumptools (MsgStream &out) const
 
MsgStream & dumpevent (MsgStream &out, const SiSPSeededTrackFinder::Counter_t &counter) const
 
bool isGoodEvent (const EventContext &ctx) const
 EventContext is used to specify which event. More...
 
void filterSharedTracks (std::multimap< double, Trk::Track * > &scoredTracks) const
 cleans up the collection of quality filtered tracks. More...
 
void filterSharedTracksFast (std::multimap< double, Trk::Track * > &scoredTracks) const
 
void fillZHistogram (const Trk::Track *Tr, const Trk::PerigeeSurface &beamlinePerigee, std::vector< int > &numberWeightedhistogram, std::vector< double > &zWeightedHistogram, std::vector< double > &ptWeightedHistogram) const
 fills three z0 histograms (non-weighted, weighted by z, and weighted by pt) with the track z at the beam line estimated using the innermost measurement. More...
 
void findZvertex (std::list< Trk::Vertex > &vertexList, std::pair< double, double > &zBoundaries, const std::vector< int > &numberWeightedhistogram, const std::vector< double > &zWeightedHistogram, const std::vector< double > &ptWeightedHistogram) const
 estimates a set of vertex positions and a z interval for the second track finding pass using the input histograms populated using fillZHistogram. More...
 
StatusCode oldStrategy (const EventContext &ctx) const
 this method performs the track finding using the old strategy More...
 
StatusCode newStrategy (const EventContext &ctx) const
 this method performs the track finding using the new strategy More...
 
StatusCode itkFastTrackingStrategy (const EventContext &ctx) const
 EventContext is used to specify which event. More...
 
StatusCode itkConvStrategy (const EventContext &ctx) const
 EventContext is used to specify which event. More...
 
void magneticFieldInit ()
 
bool passEtaDepCuts (const Trk::Track *track, int nClusters, int nFreeClusters, int nPixels) const
 

Protected Attributes

Flags to configure SiSPSeededTrackFinder
BooleanProperty m_useZvertexTool {this, "useZvertexTool", true}
 
BooleanProperty m_writeHolesFromPattern {this, "writeHolesFromPattern", false,"Flag to activate writing hole info from the pattern recognition"}
 
BooleanProperty m_useMBTS {this, "useMBTSTimeDiff", false}
 
BooleanProperty m_useNewStrategy {this, "useNewStrategy", false}
 
BooleanProperty m_useZBoundaryFinding {this, "useZBoundFinding", false}
 
BooleanProperty m_ITKGeometry {this, "ITKGeometry", false, "Flag to specify if it is ITK geometry"}
 
BooleanProperty m_useITkConvSeeded {this, "useITkConvSeeded", false, "ITk EM-seeded conversion reco"}
 
BooleanProperty m_doFastTracking {this, "doFastTracking", false, "ITk fast tracking reco"}
 
IntegerProperty m_maxNumberSeeds {this, "maxNumberSeeds", 3000000, "Max. number used seeds"}
 
BooleanProperty m_alwaysProtectAgainstBusyEvent {this, "alwaysProtectAgainstBusyEvents", false, "Flag that enables checking always maxNumberPIXsp and maxNumberSCTsp"}
 
IntegerProperty m_maxPIXsp {this, "maxNumberPIXsp", 150000, "Max. number pixels space points"}
 
IntegerProperty m_maxSCTsp {this, "maxNumberSCTsp", 500000, "Max. number sct space points"}
 
IntegerProperty m_nfreeCut {this, "FreeClustersCut", 1, "Min number free clusters"}
 
IntegerProperty m_histsize {this, "HistSize", 1400}
 
IntegerProperty m_nvertex {this, "maxVertices", 4}
 
DoubleProperty m_zcut {this, "Zcut", 350.}
 
DoubleProperty m_deltaEta {this, "dEtaCaloRoI", .1}
 
DoubleProperty m_deltaPhi {this, "dPhiCaloRoI", .25}
 
DoubleProperty m_deltaZ {this, "dZCaloRoI", 300.}
 
StringProperty m_fieldmode {this, "MagneticFieldMode", "MapSolenoid"}
 
Data members for new strategy reconstruction
double m_pTcut {500}
 
double m_imcut {2.}
 
double m_zstep {0.}
 
Data handles for StoreGate access in AthenaMT
SG::ReadHandleKey< xAOD::EventInfom_evtKey {this, "EventInfoKey", "EventInfo"}
 
SG::ReadHandleKey< SpacePointContainerm_SpacePointsSCTKey {this, "SpacePointsSCTName", "SCT_SpacePoints"}
 
SG::ReadHandleKey< SpacePointContainerm_SpacePointsPixelKey {this, "SpacePointsPixelName", "PixelSpacePoints"}
 
SG::ReadHandleKey< Trk::PRDtoTrackMapm_prdToTrackMap {this,"PRDtoTrackMap",""}
 
SG::ReadHandleKey< ROIPhiRZContainerm_caloClusterROIKey {this, "EMROIPhiRZContainer", "InDetCaloClusterROIPhiRZ15GeVUnordered", "Name of the calo cluster ROIs in Phi,R,Z parameterization"}
 
SG::ReadCondHandleKey< InDet::BeamSpotDatam_beamSpotKey {this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot"}
 
SG::ReadDecorHandleKey< xAOD::EventInfom_mbtsKey {this, "MBTSKey", "EventInfo.MBTSBackground"}
 
SG::WriteHandleKey< TrackCollectionm_outputTracksKey {this, "TracksLocation", "SiSPSeededTracks"}
 
Tool handles
ToolHandle< ISiSpacePointsSeedMakerm_seedsmaker {this, "SeedsTool", "InDet::SiSpacePointsSeedMaker_ATLxk/InDetSpSeedsMaker", "Space poins seed maker"}
 
ToolHandle< ISiZvertexMakerm_zvertexmaker {this, "ZvertexTool", "InDet::SiZvertexMaker_xk/InDetSiZvertexMaker", "Space poins z-vertex maker"}
 
ToolHandle< ISiTrackMakerm_trackmaker {this, "TrackTool", "InDet::SiTrackMaker_xk/InDetSiTrackMaker", "Track maker"}
 
PublicToolHandle< Trk::IPatternParametersPropagatorm_proptool {this, "PropagatorTool", "Trk::RungeKuttaPropagator/InDetPropagator"}
 
ToolHandle< Trk::IExtendedTrackSummaryToolm_trackSummaryTool {this, "TrackSummaryTool", "InDetTrackSummaryToolNoHoleSearch"}
 
ToolHandle< IRegSelToolm_regsel_strip { this, "RegSelTool_Strip", "RegSelTool/RegSelTool_SCT" }
 
Magnetic field properties
Trk::MagneticFieldProperties m_fieldprop
 
Service handles
ServiceHandle< IInDetEtaDependentCutsSvcm_etaDependentCutsSvc {this, "InDetEtaDependentCutsSvc", "InDetEtaDependentCutsSvc"}
 service to get cut values depending on different variable More...
 
Counters
Counter_t m_counterTotal ATLAS_THREAD_SAFE {}
 
std::atomic_int m_neventsTotal {0}
 Number events. More...
 
std::atomic_int m_neventsTotalV {0}
 Number events. More...
 
std::atomic_int m_problemsTotal {0}
 Number events with number seeds > maxNumber. More...
 
std::atomic_int m_problemsTotalV {0}
 Number events with number seeds > maxNumber. 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

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
 

Standard Algotithm methods

enum  ECounter { kNSeeds, kNTracks, kNCounter }
 enums for Counter_t More...
 
 SiSPSeededTrackFinder (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor. More...
 
virtual ~SiSPSeededTrackFinder ()=default
 
virtual StatusCode initialize () override
 Initialisation. More...
 
virtual StatusCode execute (const EventContext &ctx) const override
 Execute. More...
 
virtual StatusCode finalize () override
 
virtual bool isClonable () const override
 Make this algorithm clonable. More...
 

Detailed Description

Class-algorithm for track finding in Pixels and SCT initiated by space points seeds

Definition at line 48 of file SiSPSeededTrackFinder.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ ECounter

enums for Counter_t

Enumerator
kNSeeds 
kNTracks 
kNCounter 

Definition at line 78 of file SiSPSeededTrackFinder.h.

Constructor & Destructor Documentation

◆ SiSPSeededTrackFinder()

InDet::SiSPSeededTrackFinder::SiSPSeededTrackFinder ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Constructor.

Definition at line 64 of file SiSPSeededTrackFinder.cxx.

65  : AthReentrantAlgorithm(name, pSvcLocator)
66 {
67 }

◆ ~SiSPSeededTrackFinder()

virtual InDet::SiSPSeededTrackFinder::~SiSPSeededTrackFinder ( )
virtualdefault

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  }

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

◆ dump()

MsgStream & InDet::SiSPSeededTrackFinder::dump ( MSG::Level  lvl,
const SiSPSeededTrackFinder::Counter_t counter 
) const
protected

Definition at line 724 of file SiSPSeededTrackFinder.cxx.

725 {
726  msg(assign_level) <<std::endl;
727  MsgStream& out_msg=msg();
728  if (counter) dumpevent(out_msg ,*counter);
729  else dumptools(out_msg);
730  out_msg << endmsg;
731  return out_msg;
732 }

◆ dumpevent()

MsgStream & InDet::SiSPSeededTrackFinder::dumpevent ( MsgStream &  out,
const SiSPSeededTrackFinder::Counter_t counter 
) const
protected

Definition at line 778 of file SiSPSeededTrackFinder.cxx.

779 {
780  out<<"|-------------------------------------------------------------------";
781  out<<"---------------------------------|"
782  <<std::endl;
783  out<<"| Investigated "
784  <<std::setw(9)<<counter[kNSeeds]<<" space points seeds and found ";
785  out<<std::setw(9)<<counter[kNTracks];
786  if (m_ITKGeometry ) out<<" tracks using new strategy for ITK |"<<std::endl;
787  else if (m_useNewStrategy ) out<<" tracks using new strategy ("<<std::setw(2)<< m_nvertex <<") |"<<std::endl;
788  else if (m_useZBoundaryFinding) out<<" tracks using old strategy with Zb |"<<std::endl;
789  else out<<" tracks using old strategy |"<<std::endl;
790 
791  out<<"|-------------------------------------------------------------------";
792  out<<"---------------------------------|"
793  <<std::endl;
795  out<<"| Events "
796  <<std::setw(7)<<m_neventsTotal <<" without Z-vertz "
797  <<std::setw(7)<<m_neventsTotalV <<" with Z-vertex |"
798  <<std::endl;
799  out<<"| Problems "
800  <<std::setw(7)<<m_problemsTotal <<" without Z-vertz "
801  <<std::setw(7)<<m_problemsTotalV <<" with Z-vertex |"
802  <<std::endl;
803  out<<"|-------------------------------------------------------------------";
804  out<<"-----------------------------|"
805  <<std::endl;
806  }
807  return out;
808 }

◆ dumptools()

MsgStream & InDet::SiSPSeededTrackFinder::dumptools ( MsgStream &  out) const
protected

Definition at line 738 of file SiSPSeededTrackFinder.cxx.

739 {
740  int n = 65-m_zvertexmaker.type().size();
741  std::string s1; for (int i=0; i<n; ++i) s1.append(" "); s1.append("|");
742  n = 65-m_seedsmaker.type().size();
743  std::string s2; for (int i=0; i<n; ++i) s2.append(" "); s2.append("|");
744  n = 65-m_trackmaker.type().size();
745  std::string s3; for (int i=0; i<n; ++i) s3.append(" "); s3.append("|");
746  n = 65-m_outputTracksKey.key().size();
747  std::string s4; for (int i=0; i<n; ++i) s4.append(" "); s4.append("|");
748 
749  std::string s5;
750  if (m_useZvertexTool) s5= "Yes"; else s5 = "No";
751  n = 65-s5.size(); for (int i=0; i<n; ++i) s5.append(" "); s5.append("|");
752 
753  out<<"|----------------------------------------------------------------"
754  <<"----------------------------------------------------|"
755  <<std::endl;
756  out<<"| Use primary vertices z-coordinates finding?| "<<s5
757  <<std::endl;
758  if (m_useZvertexTool) {
759  out<<"| Tool for primary vertices z-coordinates finding | "<<m_zvertexmaker.type()<<s1
760  <<std::endl;
761  }
762  out<<"| Tool for space points seeds finding | "<<m_seedsmaker.type()<<s2
763  <<std::endl;
764  out<<"| Tool for space points seeded track finding | "<<m_trackmaker.type()<<s3
765  <<std::endl;
766  out<<"| Location of output tracks | "<<m_outputTracksKey.key()<<s4
767  <<std::endl;
768  out<<"|----------------------------------------------------------------"
769  <<"----------------------------------------------------|"
770  <<std::endl;
771  return out;
772 }

◆ 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 InDet::SiSPSeededTrackFinder::execute ( const EventContext &  ctx) const
overridevirtual

Execute.

Note that !m_useNewStrategy alone is NOT sufficient to trigger the oldStrategy call here! For example, run-3 central offline Si tracking has m_useNewStrategy=false, but m_useZBoundaryFinding true --> newStrategy

Definition at line 141 of file SiSPSeededTrackFinder.cxx.

142 {
148  else if (m_useITkConvSeeded) return itkConvStrategy(ctx);
149  else if (not m_useNewStrategy and not m_useZBoundaryFinding and not m_ITKGeometry) {
150  return oldStrategy(ctx);
151  }
152  return newStrategy(ctx);
153 }

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

◆ fillZHistogram()

void InDet::SiSPSeededTrackFinder::fillZHistogram ( const Trk::Track Tr,
const Trk::PerigeeSurface beamlinePerigee,
std::vector< int > &  numberWeightedhistogram,
std::vector< double > &  zWeightedHistogram,
std::vector< double > &  ptWeightedHistogram 
) const
protected

fills three z0 histograms (non-weighted, weighted by z, and weighted by pt) with the track z at the beam line estimated using the innermost measurement.

the first two parameters are input, the other three output.

Parameters
[in]TrTrack candidate to fill
[in]beamlinePerigeePerigee surface corresponding to the beam spot
[out]numberWeightedhistogramvector representing a histogram in z, counting the tracks per bin
[out]zWeightedHistogramvector representing a histogram in z, counting the tracks per bin weighted by their z values
[out]ptWeightedHistogramvector representing a histogram in z, counting the tracks per bin weighted by their pt values

only take into accounts tracks with a hit inside r < 60mm

propagate from innermost hit to beam spot

determine bin number - m_zstep is the inverse bin width, where the histo axis extends from -m_zcut to +m_zcut

fill histograms if we are not in the over/underflow

simple z histogram, counting tracks per z

z weighted histogram binned in z - used for vertex z calculation

pt weighted histogram binned in z - used for vertex sumpt calculation

Definition at line 973 of file SiSPSeededTrackFinder.cxx.

978 {
979 
980  if (Tr->measurementsOnTrack()->size() < 10) return;
981 
982  const Trk::TrackParameters* paramsAtFirstSurface = Tr->trackStateOnSurfaces()->front()->trackParameters();
983  Amg::Vector3D position = paramsAtFirstSurface->position() ;
984  Amg::Vector3D momentum = paramsAtFirstSurface->momentum() ;
985 
987  constexpr double rSquare_max_forZHisto = 60.*60.;
988  if (position.x()*position.x()+position.y()*position.y() >= rSquare_max_forZHisto) return;
989 
990  double pT = sqrt(momentum.x()*momentum.x()+momentum.y()*momentum.y());
991  if (pT < m_pTcut) return;
992 
994  if (not TP.production(paramsAtFirstSurface)) return;
995 
996  double step;
998  if (not m_proptool->propagate(Gaudi::Hive::currentContext(),
999  TP, beamPosPerigee, TP, Trk::anyDirection, m_fieldprop, step, Trk::pion)) return;
1000 
1001  const AmgVector(5)& parsAtBeamSpot = TP.parameters();
1002  if (std::abs(parsAtBeamSpot[0]) > m_imcut) return;
1004  int z = static_cast<int>((parsAtBeamSpot[1]+m_zcut)*m_zstep);
1006  if (z >=0 and z < m_histsize) {
1008  ++numberHistogram[z];
1010  zWeightedHistogram[z] += parsAtBeamSpot[1];
1012  ptWeightedHistogram[z] += pT;
1013  }
1014 
1015 }

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

◆ filterSharedTracks()

void InDet::SiSPSeededTrackFinder::filterSharedTracks ( std::multimap< double, Trk::Track * > &  scoredTracks) const
protected

cleans up the collection of quality filtered tracks.

Candidates which share most of their hits (steered by m_freeCut) with higher quality candidates are erased from the multimap

Parameters
[in,out]scoredTracksTrack candidates, sorted by by score, best scored first (implemented by assigning negative sign to scores)

loop over all track candidates, sorted by quality

loop over measurements on the track candidate

get the PRD from the measurement

increase cluster count

and check if the cluster was already used in a previous ( = higher quality) track

if not, record as a free (not prevously used) cluster

check if the track has the minimum number of free clusters or if it has no shared clusters

if this is fulfilled, we keep the candidate add the free clusters to our cluster set

if we do not keep the track, clean up candidate

Definition at line 865 of file SiSPSeededTrackFinder.cxx.

866 {
867  std::set<const Trk::PrepRawData*> clusters;
868 
869  std::vector<const Trk::PrepRawData*> freeClusters;
870  freeClusters.reserve(15);
871 
872  std::multimap<double, Trk::Track*>::iterator it_qualityAndTrack = qualitySortedTracks.begin();
873 
875  while (it_qualityAndTrack!=qualitySortedTracks.end()) {
876  freeClusters.clear();
877 
879 
880  int nClusters = 0;
882  for (const Trk::MeasurementBase* m: *((*it_qualityAndTrack).second->measurementsOnTrack())) {
883 
885  const Trk::PrepRawData* pr = (static_cast<const Trk::RIO_OnTrack*>(m))->prepRawData();
886  if (pr) {
888  ++nClusters;
890  if (clusters.find(pr)==it_clustersEnd) {
892  freeClusters.push_back(pr);
893  }
894  }
895  }
896 
898  int nFreeClusters = static_cast<int>(freeClusters.size());
899  if (nFreeClusters >= m_nfreeCut || nFreeClusters==nClusters) {
902  clusters.insert(freeClusters.begin(), freeClusters.end());
903  ++it_qualityAndTrack;
904  } else {
906  delete (*it_qualityAndTrack).second;
907  qualitySortedTracks.erase(it_qualityAndTrack++);
908  }
909  }
910 }

◆ filterSharedTracksFast()

void InDet::SiSPSeededTrackFinder::filterSharedTracksFast ( std::multimap< double, Trk::Track * > &  scoredTracks) const
protected

loop over all track candidates, sorted by quality

loop over track states on surface of the track candidate

get the PRD from the measurement

increase cluster count

and check if the cluster was already used in a previous ( = higher quality) track

if not, record as a free (not prevously used) cluster

add the free clusters to our cluster set

if this is fulfilled, we keep the candidate

if we do not keep the track, clean up candidate

Definition at line 913 of file SiSPSeededTrackFinder.cxx.

914 {
915  std::set<const Trk::PrepRawData*> clusters;
916 
917  std::vector<const Trk::PrepRawData*> freeClusters;
918  freeClusters.reserve(15);
919 
920  std::multimap<double, Trk::Track*>::iterator it_qualityAndTrack = qualitySortedTracks.begin();
921 
923  while (it_qualityAndTrack!=qualitySortedTracks.end()) {
924  freeClusters.clear();
925 
927 
928  int nClusters = 0;
929  int nPixels = 0;
931  for (const Trk::TrackStateOnSurface* tsos: *((*it_qualityAndTrack).second->trackStateOnSurfaces())) {
932 
933  if(!tsos->type(Trk::TrackStateOnSurface::Measurement)) continue;
934  const Trk::FitQualityOnSurface fq = tsos->fitQualityOnSurface();
935  if(!fq) continue;
936  if(fq.numberDoF() == 2) ++nPixels;
937 
939  const Trk::MeasurementBase* mb = tsos->measurementOnTrack();
940  const Trk::RIO_OnTrack* ri = dynamic_cast<const Trk::RIO_OnTrack*>(mb);
941  if(!ri) continue;
942  const Trk::PrepRawData* pr = ri->prepRawData();
943  if (pr) {
945  ++nClusters;
947  if (clusters.find(pr)==it_clustersEnd) {
949  freeClusters.push_back(pr);
950  }
951  }
952  }
953 
955  clusters.insert(freeClusters.begin(), freeClusters.end());
956 
957  int nFreeClusters = static_cast<int>(freeClusters.size());
958  if( passEtaDepCuts( (*it_qualityAndTrack).second, nClusters, nFreeClusters, nPixels) ){
960  ++it_qualityAndTrack;
961  } else {
963  delete (*it_qualityAndTrack).second;
964  qualitySortedTracks.erase(it_qualityAndTrack++);
965  }
966  }
967 }

◆ finalize()

StatusCode InDet::SiSPSeededTrackFinder::finalize ( )
overridevirtual

Definition at line 712 of file SiSPSeededTrackFinder.cxx.

713 {
714 
715  dump(MSG::INFO, &m_counterTotal);
716 
717  return StatusCode::SUCCESS;
718 }

◆ findZvertex()

void InDet::SiSPSeededTrackFinder::findZvertex ( std::list< Trk::Vertex > &  vertexList,
std::pair< double, double > &  zBoundaries,
const std::vector< int > &  numberWeightedhistogram,
const std::vector< double > &  zWeightedHistogram,
const std::vector< double > &  ptWeightedHistogram 
) const
protected

estimates a set of vertex positions and a z interval for the second track finding pass using the input histograms populated using fillZHistogram.

the first two arguments serve as output, while the three histograms are input.

Parameters
[out]vertexList- will be populated with vertex candidates if m_useNewStrategy is set
[out]zBoundaries- will be populated with edges of a z interval corresponding to the estimated vertex locations
[in]numberWeightedhistogramvector representing a histogram in z, counting the tracks per bin
[in]zWeightedHistogramvector representing a histogram in z, counting the tracks per bin weighted by their z values
[in]ptWeightedHistogramvector representing a histogram in z, counting the tracks per bin weighted by their pt values

loop over the bins in z. Start with the second, end with the second to last, as we investigate triplets of bins

total entries in the three neighbouring bins

if we have at least 3 tracks in this z0 interval with the peak of the local triplet in the central bin, add a vertex candidate

vertex z estimate as the mean z0 of the tracks in the three bins

if this vertex is to the left of the lower edge or the right of the upper edge, broaden the z interval accordingly to include this vertex.

also get the sum(pt) of the vertex candidate

stop when we have collected the requested number of leading vertices

insert one vertex from the ntracks-sorted list and one from the pt-sorted list. If both are the same, only one insertion is performed

if we did not find any PV candidates, assume a very wide interval

otherwise, add a reasonable bit of space on each side of the first / last vertex candidate

Definition at line 1021 of file SiSPSeededTrackFinder.cxx.

1026 {
1027  zBoundaries = {1000., -1000};
1028 
1029  std::multimap<int ,double> vertexZ_sortedByNtracks;
1030  std::multimap<double,double> vertexZ_sortedBySumPt;
1031 
1032  int lastBin = m_histsize-1;
1033  int minBinContentSum = 3;
1034 
1036  for (int binIndex=1; binIndex<lastBin; ++binIndex) {
1037 
1039  int vertexNtracks = numberHistogram.at(binIndex-1)+numberHistogram.at(binIndex)+numberHistogram.at(binIndex+1);
1040 
1043  if (vertexNtracks>=minBinContentSum and (numberHistogram.at(binIndex) >= numberHistogram.at(binIndex-1) and numberHistogram.at(binIndex) >= numberHistogram.at(binIndex+1))) {
1045  double vertexZestimate = (zWeightedHistogram.at(binIndex-1)+zWeightedHistogram.at(binIndex)+zWeightedHistogram.at(binIndex+1))/static_cast<double>(vertexNtracks);
1046 
1049  if (vertexZestimate < zBoundaries.first) zBoundaries.first = vertexZestimate;
1050  if (vertexZestimate > zBoundaries.second) zBoundaries.second = vertexZestimate;
1051 
1052  if (m_useNewStrategy) {
1054  double vertexSumPt = ptWeightedHistogram.at(binIndex-1)+ptWeightedHistogram.at(binIndex)+ptWeightedHistogram.at(binIndex+1);
1055  vertexZ_sortedByNtracks.insert(std::make_pair(-vertexNtracks, vertexZestimate));
1056  vertexZ_sortedBySumPt.insert(std::make_pair(-vertexSumPt, vertexZestimate));
1057  }
1058  }
1059  }
1060 
1061  if (m_useNewStrategy) {
1062 
1063  std::set<double> leadingVertices;
1064  int n = 0;
1065  std::multimap<double, double>::iterator vertex_pt_and_z = vertexZ_sortedBySumPt.begin();
1066  for (std::pair<int, double> nTrackAndZ: vertexZ_sortedByNtracks) {
1068  if (n++ >= m_nvertex) break;
1071  leadingVertices.insert(nTrackAndZ.second);
1072  leadingVertices.insert((*vertex_pt_and_z++).second);
1073  }
1074 
1075  for (double v: leadingVertices) {
1076  vertexZList.emplace_back(Amg::Vector3D{0.,0.,v});
1077  }
1078  }
1080  if (zBoundaries.first > zBoundaries.second) {
1081  zBoundaries.first = -1000.;
1082  zBoundaries.second = +1000.;
1083  } else {
1085  zBoundaries.first -= 20.;
1086  zBoundaries.second += 20.;
1087  }
1088 }

◆ initialize()

StatusCode InDet::SiSPSeededTrackFinder::initialize ( )
overridevirtual

Initialisation.

optional PRD to track association map

Get tool for space points seed maker

Get track-finding tool

Get RungeKutta propagator tool

Setup for magnetic field

Setup for Z-histograms

Get output print level

Definition at line 73 of file SiSPSeededTrackFinder.cxx.

74 {
76  ATH_CHECK(m_mbtsKey.initialize(m_useMBTS));
79  ATH_CHECK(m_outputTracksKey.initialize());
80 
83 
85 
87  ATH_CHECK( m_seedsmaker.retrieve() );
88  ATH_CHECK( m_zvertexmaker.retrieve( DisableTool{ not m_useZvertexTool } ));
89 
91  ATH_CHECK( m_trackmaker.retrieve());
92 
93  ATH_CHECK( m_regsel_strip.retrieve( DisableTool{ not m_useITkConvSeeded } ) );
94 
96 
97  ATH_CHECK( m_trackSummaryTool.retrieve( DisableTool{ m_trackSummaryTool.name().empty()} ));
98 
99  if (m_useNewStrategy and m_beamSpotKey.key().empty()) {
100  m_useNewStrategy = false;
101  m_useZBoundaryFinding = false;
102  }
103 
106 
107  if (not m_beamSpotKey.key().empty()) {
109  ATH_CHECK( m_proptool.retrieve() );
110 
113 
115  if (m_histsize < 100) m_histsize = 100;
116  m_zstep = static_cast<double>(m_histsize)/(2.*m_zcut);
117  } else {
118  m_proptool.disable();
119  m_useNewStrategy = false;
120  m_useZBoundaryFinding = false;
121  }
122  } else {
123  m_proptool.disable();
124  }
125 
127  if (msgLvl(MSG::DEBUG)) {
128  dump(MSG::DEBUG, nullptr);
129  }
130  m_neventsTotal = 0;
131  m_neventsTotalV = 0;
132  m_problemsTotal = 0;
133  m_problemsTotalV = 0;
134  return StatusCode::SUCCESS;
135 }

◆ 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 InDet::SiSPSeededTrackFinder::isClonable ( ) const
inlineoverridevirtual

Make this algorithm clonable.

Reimplemented from AthReentrantAlgorithm.

Definition at line 68 of file SiSPSeededTrackFinder.h.

68 { return true; };

◆ isGoodEvent()

bool InDet::SiSPSeededTrackFinder::isGoodEvent ( const EventContext &  ctx) const
protected

EventContext is used to specify which event.

Definition at line 814 of file SiSPSeededTrackFinder.cxx.

814  {
815 
816  if ( not m_alwaysProtectAgainstBusyEvent ) { // if not enabled the protection is only applied to specific events
817  // Test MBTS information from calorimeter
818  //
819  if (not m_useMBTS) return true;
820 
822  if (not eventInfo->isEventFlagBitSet(xAOD::EventInfo::Background, xAOD::EventInfo::MBTSTimeDiffHalo) ) {
823  return true;
824  }
825  }
826 
827  // Test total number pixels space points
828  //
829  unsigned int nsp = 0;
830  if (not m_SpacePointsPixelKey.empty()) {
832  if (spacePointsPixel.isValid()) {
833  for (const SpacePointCollection* spc: *spacePointsPixel) {
834  nsp += spc->size();
835  }
836  if (static_cast<int>(nsp) > m_maxPIXsp) {
837  ATH_MSG_WARNING("Found more than "<<m_maxPIXsp<<" pixels space points in background event. Skip track finding");
838  return false;
839  }
840  }
841  }
842  // Test total number sct space points
843  //
844  nsp = 0;
845  if (not m_SpacePointsSCTKey.empty()) {
847  if (spacePointsSCT.isValid()) {
848  for (const SpacePointCollection* spc: *spacePointsSCT) {
849  nsp += spc->size();
850  }
851  if (static_cast<int>(nsp) > m_maxSCTsp) {
852  ATH_MSG_WARNING("Found more than "<<m_maxSCTsp<<" sct space points in background event. Skip track finding");
853  return false;
854  }
855  }
856  }
857 
858  return true;
859 }

◆ itkConvStrategy()

StatusCode InDet::SiSPSeededTrackFinder::itkConvStrategy ( const EventContext &  ctx) const
protected

EventContext is used to specify which event.

For HI events we can use MBTS information from calorimeter

set up the seed maker for first pass

and run seeding - starting with an empty list of vertices for the first pass

set up the track maker

prepare a collection for the quality-sorted track canddiates

Get the value of the seed maker validation ntuple writing switch

Loop through all seeds from the first pass and attempt to form track candidates

copy all the tracks into trackList

record track candidates found, using combinatorial track finding, from the given seed

Call the ntuple writing method

Remove shared tracks with worse quality

Save good tracks in track collection

Note that for run-3 the tool here is configured to not perform a hole search, regardless of the 'false' argument below

Check if we have a hole search result for this guy

If yes: Write this information into the track summary.

Definition at line 562 of file SiSPSeededTrackFinder.cxx.

563 {
564  ATH_MSG_DEBUG("Executing " << name() << "::itkConvStrategy");
565 
567  ATH_CHECK(outputTracks.record(std::make_unique<TrackCollection>()));
569  if (not isGoodEvent(ctx)) {
570  return StatusCode::SUCCESS;
571  }
572 
573  SiSpacePointsSeedMakerEventData seedEventData;
574 
576  std::unique_ptr<RoiDescriptor> roiComp = std::make_unique<RoiDescriptor>(true);
577 
578  if(calo_rois.isValid()) {
579  RoiDescriptor * roi =nullptr;
581  double beamZ = beamSpotHandle->beamVtx().position().z();
582  roiComp->clear();
583  roiComp->setComposite();
584 
585  const ROIPhiRZContainer &calo_rois_ref=*calo_rois;
586  for (const ROIPhiRZ &calo_roi : calo_rois_ref) {
587  double phi = calo_roi.phi();
588  if (std::abs(phi)>=M_PI && phi!=-M_PI) continue; // skip duplicates < -pi and >pi
589  double eta = calo_roi.eta();
590  double z = beamZ;
591  double roiPhiMin = phi - m_deltaPhi;
592  double roiPhiMax = phi + m_deltaPhi;
593  double roiEtaMin = eta - m_deltaEta;
594  double roiEtaMax = eta + m_deltaEta;
595  double roiZMin = beamZ - m_deltaZ;
596  double roiZMax = beamZ + m_deltaZ;
597  roi = new RoiDescriptor( eta, roiEtaMin, roiEtaMax,phi, roiPhiMin ,roiPhiMax,z,roiZMin,roiZMax);
598  roiComp->push_back(roi);
599  }
600  }
601  else {
602  ATH_MSG_ERROR("Calo RoI is not valid: " << m_caloClusterROIKey.key());
603  return StatusCode::FAILURE;
604  }
605 
606  std::vector<IdentifierHash> listOfStripIds;
607  std::vector<IdentifierHash> listOfPixIds;
608 
609  m_regsel_strip->HashIDList( *roiComp, listOfStripIds );
610 
612  m_seedsmaker->newRegion(ctx, seedEventData, listOfPixIds, listOfStripIds);
613  std::list<Trk::Vertex> vertexList;
615  m_seedsmaker->find3Sp(ctx, seedEventData, vertexList);
616 
617  const bool PIX = true ;
618  const bool STRIP = true ;
621  m_trackmaker->newEvent(ctx, trackEventData, PIX, STRIP);
622 
623  bool ERR = false;
624  Counter_t counter{};
625  const InDet::SiSpacePointsSeed* seed = nullptr;
626 
628  std::multimap<double, Trk::Track*> qualitySortedTrackCandidates;
629 
631  bool doWriteNtuple = m_seedsmaker->getWriteNtupleBoolProperty();
632  long EvNumber = 0.; //Event number variable to be used for the validation ntuple
633 
634  if (doWriteNtuple) {
636  if(!eventInfo.isValid()) {EvNumber = -1.0;} else {EvNumber = eventInfo->eventNumber();}
637  }
638 
640  while ((seed = m_seedsmaker->next(ctx, seedEventData))) {
641 
642  ++counter[kNSeeds];
643 
645  std::list<Trk::Track*> trackList = m_trackmaker->getTracks(ctx, trackEventData, seed->spacePoints());
647  for (Trk::Track* t: trackList) {
648  qualitySortedTrackCandidates.insert(std::make_pair(-trackQuality(t), t));
649  }
650 
652  if(doWriteNtuple) { m_seedsmaker->writeNtuple(seed, !trackList.empty() ? trackList.front() : nullptr, ISiSpacePointsSeedMaker::StripSeed, EvNumber) ; }
653 
654  if (counter[kNSeeds] >= m_maxNumberSeeds) {
655  ERR = true;
656  ++m_problemsTotal;
657  break;
658  }
659  }
660 
661  m_trackmaker->endEvent(trackEventData);
662 
664  filterSharedTracks(qualitySortedTrackCandidates);
665 
667  for (const std::pair<const double, Trk::Track*> & qualityAndTrack: qualitySortedTrackCandidates) {
668  ++counter[kNTracks];
669  if (m_trackSummaryTool.isEnabled()) {
672  m_trackSummaryTool->computeAndReplaceTrackSummary(*qualityAndTrack.second,
673  false /* DO NOT suppress hole search*/);
676  if (m_writeHolesFromPattern && trackEventData.combinatorialData().findPatternHoleSearchOutcome(qualityAndTrack.second,theOutcome)){
678  qualityAndTrack.second->trackSummary()->update(Trk::numberOfPixelHoles, theOutcome.nPixelHoles);
679  qualityAndTrack.second->trackSummary()->update(Trk::numberOfSCTHoles, theOutcome.nSCTHoles);
680  qualityAndTrack.second->trackSummary()->update(Trk::numberOfSCTDoubleHoles, theOutcome.nSCTDoubleHoles);
681  qualityAndTrack.second->trackSummary()->update(Trk::numberOfSCTDeadSensors, theOutcome.nSCTDeads);
682  qualityAndTrack.second->trackSummary()->update(Trk::numberOfPixelDeadSensors, theOutcome.nPixelDeads);
683  }
684  }
685  outputTracks->push_back(qualityAndTrack.second);
686  }
687 
688  m_counterTotal[kNSeeds] += counter[kNSeeds] ;
689 
690  ++m_neventsTotal;
691 
692  if (ERR) {
693  outputTracks->clear();
694  } else {
695  m_counterTotal[kNTracks] += counter[kNTracks];
696  }
697 
698  // Print common event information
699  //
700  if (msgLvl(MSG::DEBUG)) {
702  }
703  return StatusCode::SUCCESS;
704 }

◆ itkFastTrackingStrategy()

StatusCode InDet::SiSPSeededTrackFinder::itkFastTrackingStrategy ( const EventContext &  ctx) const
protected

EventContext is used to specify which event.

set up the track maker

We run a single passe of seeding & track finding with PPP seeds

Set up the first pass (pixel seeds), and prepare to obtain a vertex Z estimate from the candidates we find

set up the seed maker for first pass

and run seeding - starting with an empty list of vertices for the first pass

prepare a collection for the quality-sorted track canddiates

Get the value of the seed maker validation ntuple writing switch

Loop through all seeds from the first pass and attempt to form track candidates

copy all the tracks into trackList

record track candidates found, using combinatorial track finding, from the given seed

Call the ntuple writing method

Remove shared tracks with worse quality

Save good tracks in track collection

Check if we have a hole search result for this guy

If yes: Write this information into the track summary.

Definition at line 446 of file SiSPSeededTrackFinder.cxx.

447 {
449  ATH_CHECK(outputTracks.record(std::make_unique<TrackCollection>()));
450 
451  const bool PIX = true ;
452  const bool STRIP = true ;
455  m_trackmaker->newTrigEvent(ctx, trackEventData, PIX, STRIP);
456 
457  SiSpacePointsSeedMakerEventData seedEventData;
458 
468  m_seedsmaker->newEvent(ctx, seedEventData, 0);
470  std::list<Trk::Vertex> vertexList;
472  m_seedsmaker->find3Sp(ctx, seedEventData, vertexList);
473 
474  bool ERR = false;
475  Counter_t counter{};
476  const InDet::SiSpacePointsSeed* seed = nullptr;
477 
479  std::multimap<double, Trk::Track*> qualitySortedTrackCandidates;
480 
482  bool doWriteNtuple = m_seedsmaker->getWriteNtupleBoolProperty();
483  long EvNumber = 0.; //Event number variable to be used for the validation ntuple
484 
485  if (doWriteNtuple) {
487  if(!eventInfo.isValid()) {EvNumber = -1.0;} else {EvNumber = eventInfo->eventNumber();}
488  }
489 
491  while ((seed = m_seedsmaker->next(ctx, seedEventData))) {
492 
493  ++counter[kNSeeds];
494 
496  std::list<Trk::Track*> trackList = m_trackmaker->getTracks(ctx, trackEventData, seed->spacePoints());
498  for (Trk::Track* t: trackList) {
499 
500  qualitySortedTrackCandidates.insert(std::make_pair(-trackQuality(t), t));
501 
502  }
504  if(doWriteNtuple) { m_seedsmaker->writeNtuple(seed, !trackList.empty() ? trackList.front() : nullptr, ISiSpacePointsSeedMaker::PixelSeed, EvNumber) ; }
505 
506  if (counter[kNSeeds] >= m_maxNumberSeeds) {
507  ERR = true;
508  ++m_problemsTotal;
509  break;
510  }
511  }
512 
513  m_trackmaker->endEvent(trackEventData);
514 
516  filterSharedTracksFast(qualitySortedTrackCandidates);
517 
519  for (const std::pair<const double, Trk::Track*> & qualityAndTrack: qualitySortedTrackCandidates) {
520  ++counter[kNTracks];
521 
522  if (m_trackSummaryTool.isEnabled()) {
523  m_trackSummaryTool->computeAndReplaceTrackSummary(*qualityAndTrack.second);
526  if (m_writeHolesFromPattern && trackEventData.combinatorialData().findPatternHoleSearchOutcome(qualityAndTrack.second,theOutcome)){
528  qualityAndTrack.second->trackSummary()->update(Trk::numberOfPixelHoles, theOutcome.nPixelHoles);
529  qualityAndTrack.second->trackSummary()->update(Trk::numberOfSCTHoles, theOutcome.nSCTHoles);
530  qualityAndTrack.second->trackSummary()->update(Trk::numberOfSCTDoubleHoles, theOutcome.nSCTDoubleHoles);
531  qualityAndTrack.second->trackSummary()->update(Trk::numberOfSCTDeadSensors, theOutcome.nSCTDeads);
532  qualityAndTrack.second->trackSummary()->update(Trk::numberOfPixelDeadSensors, theOutcome.nPixelDeads);
533  }
534  }
535 
536  outputTracks->push_back(qualityAndTrack.second);
537  }
538 
539  m_counterTotal[kNSeeds] += counter[kNSeeds] ;
540 
541  ++m_neventsTotal;
542 
543  if (ERR) {
544  outputTracks->clear();
545  } else {
546  m_counterTotal[kNTracks] += counter[kNTracks];
547  }
548 
549  // Print common event information
550  //
551  if (msgLvl(MSG::DEBUG)) {
553  }
554  return StatusCode::SUCCESS;
555 }

◆ magneticFieldInit()

void InDet::SiSPSeededTrackFinder::magneticFieldInit ( )
protected

Definition at line 1095 of file SiSPSeededTrackFinder.cxx.

1096 {
1097  // Build MagneticFieldProperties
1098  //
1099  if(m_fieldmode == "NoField") {
1101  } else {
1103  }
1104 }

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

◆ newStrategy()

StatusCode InDet::SiSPSeededTrackFinder::newStrategy ( const EventContext &  ctx) const
protected

this method performs the track finding using the new strategy

EventContext is used to specify which event

For HI events we can use MBTS information from calorimeter

Get beam information and preparation for z -histogramming

We run two passes of seeding & track finding.

First, we use strip seeds, perform finding with them and obtain an estimate of the beam spot region from the found tracks.

Then, we run PPP-seeded tracking within the resulting z interval.

Set up the first pass (strip seeds), and prepare to obtain a vertex Z estimate from the candidates we find

set up the seed maker for first pass

and run seeding - starting with an empty list of vertices for the first pass

set up the track maker

initialize empty histograms for the vertex estimate

prepare a collection for the quality-sorted track canddiates

Get the value of the seed maker validation ntuple writing switch

Loop through all seeds from the first pass and attempt to form track candidates

we only want to fill the Z histo with the first candidate for each seed.

copy all the tracks into trackList

record track candidates found, using combinatorial track finding, from the given seed

For the first (highest quality) track from each seed, populate the vertex finding histograms

Call the ntuple writing method

Now set up the second seeding pass, using pixel seeds The seed maker will internally reconfigure itself based on the "1" argument for the "iteration" argument in this call.

perform vertex Z estimation and run second seeding pass

Estimate a Z vertex interval and, if running the new strategy, also a list of the HS candidates

pass the Z boundary pair c-array-style to satisfy existing interfaces of the seeds maker family. Trigger second seed finding pass (PPP)

Again, loop over the newly found seeds and attempt to form track candidates

Remove shared tracks with worse quality

Save good tracks in track collection

Note that for run-3 the tool here is configured to not perform a hole search, regardless of the 'false' argument below

Check if we have a hole search result for this guy

If yes: Write this information into the track summary.

Definition at line 260 of file SiSPSeededTrackFinder.cxx.

261 {
263  ATH_CHECK(outputTracks.record(std::make_unique<TrackCollection>()));
265  if (not isGoodEvent(ctx)) {
266  return StatusCode::SUCCESS;
267  }
268 
271  Trk::PerigeeSurface beamPosPerigee(beamSpotHandle->beamPos());
272 
273  SiSpacePointsSeedMakerEventData seedEventData;
274 
289  m_seedsmaker->newEvent(ctx, seedEventData, 0);
291  std::list<Trk::Vertex> vertexList;
293  m_seedsmaker->find3Sp(ctx, seedEventData, vertexList);
294 
295  const bool PIX = true ;
296  const bool SCT = true ;
299  m_trackmaker->newEvent(ctx, trackEventData, PIX, SCT);
300 
302  std::vector<int> numberHistogram(m_histsize, 0);
303  std::vector<double> zWeightedHistogram(m_histsize, 0.);
304  std::vector<double> ptWeightedHistogram(m_histsize, 0.);
305 
306  bool ERR = false;
307  Counter_t counter{};
308  const InDet::SiSpacePointsSeed* seed = nullptr;
309 
311  std::multimap<double, Trk::Track*> qualitySortedTrackCandidates;
312 
314  bool doWriteNtuple = m_seedsmaker->getWriteNtupleBoolProperty();
315  long EvNumber = 0.; //Event number variable to be used for the validation ntuple
316 
317  if (doWriteNtuple) {
319  if(!eventInfo.isValid()) {EvNumber = -1.0;} else {EvNumber = eventInfo->eventNumber();}
320  }
321 
323  while ((seed = m_seedsmaker->next(ctx, seedEventData))) {
324 
325  ++counter[kNSeeds];
327  bool firstTrack{true};
328 
330  std::list<Trk::Track*> trackList = m_trackmaker->getTracks(ctx, trackEventData, seed->spacePoints());
332  for (Trk::Track* t: trackList) {
333 
334  qualitySortedTrackCandidates.insert(std::make_pair(-trackQuality(t), t));
335 
337  if (firstTrack and not m_ITKGeometry) {
338  fillZHistogram(t, beamPosPerigee, numberHistogram, zWeightedHistogram, ptWeightedHistogram);
339  }
340  firstTrack = false;
341  }
343  if(doWriteNtuple) { m_seedsmaker->writeNtuple(seed, !trackList.empty() ? trackList.front() : nullptr, ISiSpacePointsSeedMaker::StripSeed, EvNumber) ; }
344 
345 
346  if (counter[kNSeeds] >= m_maxNumberSeeds) {
347  ERR = true;
348  ++m_problemsTotal;
349  break;
350  }
351  }
352 
357  if(not m_SpacePointsPixelKey.empty()) {
358  m_seedsmaker->newEvent(ctx, seedEventData, 1);
359  } else {
360  ATH_MSG_WARNING("SpacePointsPixelKey is empty. Skipping the second seeding pass that uses pixel seeds.");
361  }
362 
364  std::pair<double,double> zBoundaries;
365  if (not m_ITKGeometry) {
367  findZvertex(vertexList, zBoundaries, numberHistogram, zWeightedHistogram, ptWeightedHistogram);
370  m_seedsmaker->find3Sp(ctx, seedEventData, vertexList, &(zBoundaries.first));
371  } else {
372  m_seedsmaker->find3Sp(ctx, seedEventData, vertexList);
373  }
374 
376  while ((seed = m_seedsmaker->next(ctx, seedEventData))) {
377 
378  ++counter[kNSeeds];
379 
380  std::list<Trk::Track*> trackList = m_trackmaker->getTracks(ctx, trackEventData, seed->spacePoints());
381 
382  for (Trk::Track* t: trackList) {
383  qualitySortedTrackCandidates.insert(std::make_pair(-trackQuality(t), t));
384  }
385 
386  if(doWriteNtuple) { m_seedsmaker->writeNtuple(seed, !trackList.empty() ? trackList.front() : nullptr, ISiSpacePointsSeedMaker::PixelSeed, EvNumber); }
387 
388  if (counter[kNSeeds] >= m_maxNumberSeeds) {
389  ERR = true;
390  ++m_problemsTotal;
391  break;
392  }
393  }
394 
395  m_trackmaker->endEvent(trackEventData);
396 
398  filterSharedTracks(qualitySortedTrackCandidates);
399 
401  for (const std::pair<const double, Trk::Track*> & qualityAndTrack: qualitySortedTrackCandidates) {
402  ++counter[kNTracks];
403  if (m_trackSummaryTool.isEnabled()) {
406  m_trackSummaryTool->computeAndReplaceTrackSummary(*qualityAndTrack.second,
407  false /* DO NOT suppress hole search*/);
410  if (m_writeHolesFromPattern && trackEventData.combinatorialData().findPatternHoleSearchOutcome(qualityAndTrack.second,theOutcome)){
412  qualityAndTrack.second->trackSummary()->update(Trk::numberOfPixelHoles, theOutcome.nPixelHoles);
413  qualityAndTrack.second->trackSummary()->update(Trk::numberOfSCTHoles, theOutcome.nSCTHoles);
414  qualityAndTrack.second->trackSummary()->update(Trk::numberOfSCTDoubleHoles, theOutcome.nSCTDoubleHoles);
415  qualityAndTrack.second->trackSummary()->update(Trk::numberOfSCTDeadSensors, theOutcome.nSCTDeads);
416  qualityAndTrack.second->trackSummary()->update(Trk::numberOfPixelDeadSensors, theOutcome.nPixelDeads);
417  }
418  }
419  outputTracks->push_back(qualityAndTrack.second);
420  }
421 
422  m_counterTotal[kNSeeds] += counter[kNSeeds] ;
423 
424  ++m_neventsTotal;
425 
426  if (ERR) {
427  outputTracks->clear();
428  } else {
429  m_counterTotal[kNTracks] += counter[kNTracks];
430  }
431 
432  // Print common event information
433  //
434  if (msgLvl(MSG::DEBUG)) {
436  }
437  return StatusCode::SUCCESS;
438 }

◆ oldStrategy()

StatusCode InDet::SiSPSeededTrackFinder::oldStrategy ( const EventContext &  ctx) const
protected

this method performs the track finding using the old strategy

EventContext is used to specify which event

For HI events we can use MBTS information from calorimeter

Definition at line 175 of file SiSPSeededTrackFinder.cxx.

176 {
178  ATH_CHECK(outputTracks.record(std::make_unique<TrackCollection>()));
180  if (not isGoodEvent(ctx)) {
181  return StatusCode::SUCCESS;
182  }
183 
184  SiSpacePointsSeedMakerEventData seedEventData;
185  bool ZVE = false;
186  if (m_useZvertexTool) {
187  std::list<Trk::Vertex> vertices = m_zvertexmaker->newEvent(ctx, seedEventData);
188  if (not vertices.empty()) ZVE = true;
189  m_seedsmaker->find3Sp(ctx, seedEventData, vertices);
190  } else {
191  m_seedsmaker->newEvent(ctx, seedEventData, -1);
192  std::list<Trk::Vertex> vertexList;
193  m_seedsmaker->find3Sp(ctx, seedEventData, vertexList);
194  }
195 
196  const bool PIX = true;
197  const bool SCT = true;
199  m_trackmaker->newEvent(ctx, trackEventData, PIX, SCT);
200 
201  bool ERR = false;
202  Counter_t counter{};
203  const InDet::SiSpacePointsSeed* seed = nullptr;
204  std::multimap<double, Trk::Track*> qualitySortedTrackCandidates;
205  // Loop through all seed and reconsrtucted tracks collection preparation
206  //
207  while ((seed = m_seedsmaker->next(ctx, seedEventData))) {
208  ++counter[kNSeeds];
209  std::list<Trk::Track*> trackList = m_trackmaker->getTracks(ctx, trackEventData, seed->spacePoints());
210  for (Trk::Track* t: trackList) {
211  qualitySortedTrackCandidates.insert(std::make_pair(-trackQuality(t), t));
212  }
213  if (not ZVE and (counter[kNSeeds] >= m_maxNumberSeeds)) {
214  ERR = true;
215  ++m_problemsTotal;
216  break;
217  }
218  }
219  m_trackmaker->endEvent(trackEventData);
220 
221  // Remove shared tracks with worse quality
222  //
223  filterSharedTracks(qualitySortedTrackCandidates);
224 
225  // Save good tracks in track collection
226  //
227  for (const std::pair<const double, Trk::Track*> & qualityAndTrack: qualitySortedTrackCandidates) {
228  ++counter[kNTracks];
229  if (m_trackSummaryTool.isEnabled()) {
230  m_trackSummaryTool->computeAndReplaceTrackSummary(*(qualityAndTrack.second),
231  false /* DO NOT suppress hole search*/);
232  }
233  outputTracks->push_back(qualityAndTrack.second);
234  }
235 
236  m_counterTotal[kNSeeds] += counter[kNSeeds];
237 
238  if (ZVE) ++m_neventsTotalV;
239  else ++m_neventsTotal;
240 
241  if (ERR) {
242  outputTracks->clear();
243  } else {
244  m_counterTotal[kNTracks] += counter[kNTracks];
245  }
246 
247  // Print common event information
248  //
249  if (msgLvl(MSG::DEBUG)) {
251  }
252 
253  return StatusCode::SUCCESS;
254 }

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

◆ passEtaDepCuts()

bool InDet::SiSPSeededTrackFinder::passEtaDepCuts ( const Trk::Track track,
int  nClusters,
int  nFreeClusters,
int  nPixels 
) const
protected

Definition at line 1111 of file SiSPSeededTrackFinder.cxx.

1115 {
1116  Trk::TrackStates::const_iterator m = track->trackStateOnSurfaces()->begin();
1117  const Trk::TrackParameters* par = (*m)->trackParameters();
1118  if(!par) return false;
1119 
1120  double eta = std::abs(par->eta());
1121  if(nClusters < m_etaDependentCutsSvc->getMinSiHitsAtEta(eta)) return false;
1122  if(nFreeClusters < m_etaDependentCutsSvc->getMinSiNotSharedAtEta(eta)) return false;
1123  if(nClusters-nFreeClusters > m_etaDependentCutsSvc->getMaxSharedAtEta(eta)) return false;
1124  if(nPixels < m_etaDependentCutsSvc->getMinPixelHitsAtEta(eta)) return false;
1125 
1126  if(par->pT() < m_etaDependentCutsSvc->getMinPtAtEta(eta)) return false;
1127  if(!(*m)->type(Trk::TrackStateOnSurface::Perigee)) return true ;
1128  if(std::abs(par->localPosition()[0]) > m_etaDependentCutsSvc->getMaxPrimaryImpactAtEta(eta)) return false;
1129  return true;
1130 }

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

Member Data Documentation

◆ ATLAS_THREAD_SAFE

Counter_t m_counterTotal InDet::SiSPSeededTrackFinder::ATLAS_THREAD_SAFE {}
mutableprotected

Definition at line 162 of file SiSPSeededTrackFinder.h.

◆ m_alwaysProtectAgainstBusyEvent

BooleanProperty InDet::SiSPSeededTrackFinder::m_alwaysProtectAgainstBusyEvent {this, "alwaysProtectAgainstBusyEvents", false, "Flag that enables checking always maxNumberPIXsp and maxNumberSCTsp"}
protected

Definition at line 104 of file SiSPSeededTrackFinder.h.

◆ m_beamSpotKey

SG::ReadCondHandleKey<InDet::BeamSpotData> InDet::SiSPSeededTrackFinder::m_beamSpotKey {this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot"}
protected

Definition at line 132 of file SiSPSeededTrackFinder.h.

◆ m_caloClusterROIKey

SG::ReadHandleKey<ROIPhiRZContainer> InDet::SiSPSeededTrackFinder::m_caloClusterROIKey {this, "EMROIPhiRZContainer", "InDetCaloClusterROIPhiRZ15GeVUnordered", "Name of the calo cluster ROIs in Phi,R,Z parameterization"}
protected

Definition at line 130 of file SiSPSeededTrackFinder.h.

◆ m_deltaEta

DoubleProperty InDet::SiSPSeededTrackFinder::m_deltaEta {this, "dEtaCaloRoI", .1}
protected

Definition at line 111 of file SiSPSeededTrackFinder.h.

◆ m_deltaPhi

DoubleProperty InDet::SiSPSeededTrackFinder::m_deltaPhi {this, "dPhiCaloRoI", .25}
protected

Definition at line 112 of file SiSPSeededTrackFinder.h.

◆ m_deltaZ

DoubleProperty InDet::SiSPSeededTrackFinder::m_deltaZ {this, "dZCaloRoI", 300.}
protected

Definition at line 113 of file SiSPSeededTrackFinder.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_doFastTracking

BooleanProperty InDet::SiSPSeededTrackFinder::m_doFastTracking {this, "doFastTracking", false, "ITk fast tracking reco"}
protected

Definition at line 102 of file SiSPSeededTrackFinder.h.

◆ m_etaDependentCutsSvc

ServiceHandle<IInDetEtaDependentCutsSvc> InDet::SiSPSeededTrackFinder::m_etaDependentCutsSvc {this, "InDetEtaDependentCutsSvc", "InDetEtaDependentCutsSvc"}
protected

service to get cut values depending on different variable

Definition at line 157 of file SiSPSeededTrackFinder.h.

◆ m_evtKey

SG::ReadHandleKey<xAOD::EventInfo> InDet::SiSPSeededTrackFinder::m_evtKey {this, "EventInfoKey", "EventInfo"}
protected

Definition at line 126 of file SiSPSeededTrackFinder.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_fieldmode

StringProperty InDet::SiSPSeededTrackFinder::m_fieldmode {this, "MagneticFieldMode", "MapSolenoid"}
protected

Definition at line 114 of file SiSPSeededTrackFinder.h.

◆ m_fieldprop

Trk::MagneticFieldProperties InDet::SiSPSeededTrackFinder::m_fieldprop
protected

Definition at line 151 of file SiSPSeededTrackFinder.h.

◆ m_histsize

IntegerProperty InDet::SiSPSeededTrackFinder::m_histsize {this, "HistSize", 1400}
protected

Definition at line 108 of file SiSPSeededTrackFinder.h.

◆ m_imcut

double InDet::SiSPSeededTrackFinder::m_imcut {2.}
protected

Definition at line 120 of file SiSPSeededTrackFinder.h.

◆ m_ITKGeometry

BooleanProperty InDet::SiSPSeededTrackFinder::m_ITKGeometry {this, "ITKGeometry", false, "Flag to specify if it is ITK geometry"}
protected

Definition at line 100 of file SiSPSeededTrackFinder.h.

◆ m_maxNumberSeeds

IntegerProperty InDet::SiSPSeededTrackFinder::m_maxNumberSeeds {this, "maxNumberSeeds", 3000000, "Max. number used seeds"}
protected

Definition at line 103 of file SiSPSeededTrackFinder.h.

◆ m_maxPIXsp

IntegerProperty InDet::SiSPSeededTrackFinder::m_maxPIXsp {this, "maxNumberPIXsp", 150000, "Max. number pixels space points"}
protected

Definition at line 105 of file SiSPSeededTrackFinder.h.

◆ m_maxSCTsp

IntegerProperty InDet::SiSPSeededTrackFinder::m_maxSCTsp {this, "maxNumberSCTsp", 500000, "Max. number sct space points"}
protected

Definition at line 106 of file SiSPSeededTrackFinder.h.

◆ m_mbtsKey

SG::ReadDecorHandleKey<xAOD::EventInfo> InDet::SiSPSeededTrackFinder::m_mbtsKey {this, "MBTSKey", "EventInfo.MBTSBackground"}
protected

Definition at line 134 of file SiSPSeededTrackFinder.h.

◆ m_neventsTotal

std::atomic_int InDet::SiSPSeededTrackFinder::m_neventsTotal {0}
mutableprotected

Number events.

Definition at line 164 of file SiSPSeededTrackFinder.h.

◆ m_neventsTotalV

std::atomic_int InDet::SiSPSeededTrackFinder::m_neventsTotalV {0}
mutableprotected

Number events.

Definition at line 165 of file SiSPSeededTrackFinder.h.

◆ m_nfreeCut

IntegerProperty InDet::SiSPSeededTrackFinder::m_nfreeCut {this, "FreeClustersCut", 1, "Min number free clusters"}
protected

Definition at line 107 of file SiSPSeededTrackFinder.h.

◆ m_nvertex

IntegerProperty InDet::SiSPSeededTrackFinder::m_nvertex {this, "maxVertices", 4}
protected

Definition at line 109 of file SiSPSeededTrackFinder.h.

◆ m_outputTracksKey

SG::WriteHandleKey<TrackCollection> InDet::SiSPSeededTrackFinder::m_outputTracksKey {this, "TracksLocation", "SiSPSeededTracks"}
protected

Definition at line 136 of file SiSPSeededTrackFinder.h.

◆ m_prdToTrackMap

SG::ReadHandleKey<Trk::PRDtoTrackMap> InDet::SiSPSeededTrackFinder::m_prdToTrackMap {this,"PRDtoTrackMap",""}
protected

Definition at line 129 of file SiSPSeededTrackFinder.h.

◆ m_problemsTotal

std::atomic_int InDet::SiSPSeededTrackFinder::m_problemsTotal {0}
mutableprotected

Number events with number seeds > maxNumber.

Definition at line 166 of file SiSPSeededTrackFinder.h.

◆ m_problemsTotalV

std::atomic_int InDet::SiSPSeededTrackFinder::m_problemsTotalV {0}
mutableprotected

Number events with number seeds > maxNumber.

Definition at line 167 of file SiSPSeededTrackFinder.h.

◆ m_proptool

PublicToolHandle<Trk::IPatternParametersPropagator> InDet::SiSPSeededTrackFinder::m_proptool {this, "PropagatorTool", "Trk::RungeKuttaPropagator/InDetPropagator"}
protected

Definition at line 144 of file SiSPSeededTrackFinder.h.

◆ m_pTcut

double InDet::SiSPSeededTrackFinder::m_pTcut {500}
protected

Definition at line 119 of file SiSPSeededTrackFinder.h.

◆ m_regsel_strip

ToolHandle<IRegSelTool> InDet::SiSPSeededTrackFinder::m_regsel_strip { this, "RegSelTool_Strip", "RegSelTool/RegSelTool_SCT" }
protected

Definition at line 146 of file SiSPSeededTrackFinder.h.

◆ m_seedsmaker

ToolHandle<ISiSpacePointsSeedMaker> InDet::SiSPSeededTrackFinder::m_seedsmaker {this, "SeedsTool", "InDet::SiSpacePointsSeedMaker_ATLxk/InDetSpSeedsMaker", "Space poins seed maker"}
protected

Definition at line 141 of file SiSPSeededTrackFinder.h.

◆ m_SpacePointsPixelKey

SG::ReadHandleKey<SpacePointContainer> InDet::SiSPSeededTrackFinder::m_SpacePointsPixelKey {this, "SpacePointsPixelName", "PixelSpacePoints"}
protected

Definition at line 128 of file SiSPSeededTrackFinder.h.

◆ m_SpacePointsSCTKey

SG::ReadHandleKey<SpacePointContainer> InDet::SiSPSeededTrackFinder::m_SpacePointsSCTKey {this, "SpacePointsSCTName", "SCT_SpacePoints"}
protected

Definition at line 127 of file SiSPSeededTrackFinder.h.

◆ m_trackmaker

ToolHandle<ISiTrackMaker> InDet::SiSPSeededTrackFinder::m_trackmaker {this, "TrackTool", "InDet::SiTrackMaker_xk/InDetSiTrackMaker", "Track maker"}
protected

Definition at line 143 of file SiSPSeededTrackFinder.h.

◆ m_trackSummaryTool

ToolHandle<Trk::IExtendedTrackSummaryTool> InDet::SiSPSeededTrackFinder::m_trackSummaryTool {this, "TrackSummaryTool", "InDetTrackSummaryToolNoHoleSearch"}
protected

Definition at line 145 of file SiSPSeededTrackFinder.h.

◆ m_useITkConvSeeded

BooleanProperty InDet::SiSPSeededTrackFinder::m_useITkConvSeeded {this, "useITkConvSeeded", false, "ITk EM-seeded conversion reco"}
protected

Definition at line 101 of file SiSPSeededTrackFinder.h.

◆ m_useMBTS

BooleanProperty InDet::SiSPSeededTrackFinder::m_useMBTS {this, "useMBTSTimeDiff", false}
protected

Definition at line 97 of file SiSPSeededTrackFinder.h.

◆ m_useNewStrategy

BooleanProperty InDet::SiSPSeededTrackFinder::m_useNewStrategy {this, "useNewStrategy", false}
protected

Definition at line 98 of file SiSPSeededTrackFinder.h.

◆ m_useZBoundaryFinding

BooleanProperty InDet::SiSPSeededTrackFinder::m_useZBoundaryFinding {this, "useZBoundFinding", false}
protected

Definition at line 99 of file SiSPSeededTrackFinder.h.

◆ m_useZvertexTool

BooleanProperty InDet::SiSPSeededTrackFinder::m_useZvertexTool {this, "useZvertexTool", true}
protected

Definition at line 95 of file SiSPSeededTrackFinder.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.

◆ m_writeHolesFromPattern

BooleanProperty InDet::SiSPSeededTrackFinder::m_writeHolesFromPattern {this, "writeHolesFromPattern", false,"Flag to activate writing hole info from the pattern recognition"}
protected

Definition at line 96 of file SiSPSeededTrackFinder.h.

◆ m_zcut

DoubleProperty InDet::SiSPSeededTrackFinder::m_zcut {this, "Zcut", 350.}
protected

Definition at line 110 of file SiSPSeededTrackFinder.h.

◆ m_zstep

double InDet::SiSPSeededTrackFinder::m_zstep {0.}
protected

Definition at line 121 of file SiSPSeededTrackFinder.h.

◆ m_zvertexmaker

ToolHandle<ISiZvertexMaker> InDet::SiSPSeededTrackFinder::m_zvertexmaker {this, "ZvertexTool", "InDet::SiZvertexMaker_xk/InDetSiZvertexMaker", "Space poins z-vertex maker"}
protected

Definition at line 142 of file SiSPSeededTrackFinder.h.


The documentation for this class was generated from the following files:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
Trk::anyDirection
@ anyDirection
Definition: PropDirection.h:22
Trk::TrackStateOnSurface::trackParameters
const TrackParameters * trackParameters() const
return ptr to trackparameters const overload
InDet::SiSPSeededTrackFinder::m_evtKey
SG::ReadHandleKey< xAOD::EventInfo > m_evtKey
Definition: SiSPSeededTrackFinder.h:126
InDet::SiSPSeededTrackFinder::kNTracks
@ kNTracks
Definition: SiSPSeededTrackFinder.h:78
CalculateHighPtTerm.pT
pT
Definition: ICHEP2016/CalculateHighPtTerm.py:57
PESA::vertexSumPt
double vertexSumPt(const TrackCollection &tracks)
Definition: T2Vertex.cxx:71
InDet::SiSPSeededTrackFinder::dumpevent
MsgStream & dumpevent(MsgStream &out, const SiSPSeededTrackFinder::Counter_t &counter) const
Definition: SiSPSeededTrackFinder.cxx:778
ReadCellNoiseFromCoolCompare.s1
s1
Definition: ReadCellNoiseFromCoolCompare.py:378
Trk::TrackStateOnSurface::Perigee
@ Perigee
This represents a perigee, and so will contain a Perigee object only.
Definition: TrackStateOnSurface.h:117
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
InDet::SiSPSeededTrackFinder::m_outputTracksKey
SG::WriteHandleKey< TrackCollection > m_outputTracksKey
Definition: SiSPSeededTrackFinder.h:136
InDet::SiSPSeededTrackFinder::kNSeeds
@ kNSeeds
Definition: SiSPSeededTrackFinder.h:78
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
InDet::ISiSpacePointsSeedMaker::PixelSeed
@ PixelSeed
Definition: ISiSpacePointsSeedMaker.h:136
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
Trk::MagneticFieldProperties
Definition: MagneticFieldProperties.h:31
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
InDet::SiSPSeededTrackFinder::m_seedsmaker
ToolHandle< ISiSpacePointsSeedMaker > m_seedsmaker
Definition: SiSPSeededTrackFinder.h:141
Trk::PerigeeSurface
Definition: PerigeeSurface.h:43
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
Trk::ParametersBase::position
const Amg::Vector3D & position() const
Access method for the position.
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
Trk::numberOfSCTDeadSensors
@ numberOfSCTDeadSensors
number of TRT hits
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:76
ROIPhiRZContainer
container for phi sorted ROIs defined by phi, r and z.
Definition: ROIPhiRZContainer.h:50
Trk::Track::trackStateOnSurfaces
const Trk::TrackStates * trackStateOnSurfaces() const
return a pointer to a const DataVector of const TrackStateOnSurfaces.
InDet::SiSPSeededTrackFinder::m_alwaysProtectAgainstBusyEvent
BooleanProperty m_alwaysProtectAgainstBusyEvent
Definition: SiSPSeededTrackFinder.h:104
InDet::SiSPSeededTrackFinder::m_histsize
IntegerProperty m_histsize
Definition: SiSPSeededTrackFinder.h:108
InDet::SiSPSeededTrackFinder::dump
MsgStream & dump(MSG::Level lvl, const SiSPSeededTrackFinder::Counter_t *) const
Definition: SiSPSeededTrackFinder.cxx:724
InDet::SiSPSeededTrackFinder::m_ITKGeometry
BooleanProperty m_ITKGeometry
Definition: SiSPSeededTrackFinder.h:100
InDet::PatternHoleSearchOutcome::nPixelDeads
int nPixelDeads
Definition: SiTrajectory_xk.h:37
InDet::SiSPSeededTrackFinder::m_useZvertexTool
BooleanProperty m_useZvertexTool
Definition: SiSPSeededTrackFinder.h:95
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
InDet::SiSPSeededTrackFinder::m_pTcut
double m_pTcut
Definition: SiSPSeededTrackFinder.h:119
InDet::SiSPSeededTrackFinder::m_nfreeCut
IntegerProperty m_nfreeCut
Definition: SiSPSeededTrackFinder.h:107
InDet::SiSPSeededTrackFinder::m_etaDependentCutsSvc
ServiceHandle< IInDetEtaDependentCutsSvc > m_etaDependentCutsSvc
service to get cut values depending on different variable
Definition: SiSPSeededTrackFinder.h:157
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
M_PI
#define M_PI
Definition: ActiveFraction.h:11
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
AthCommonMsg< Gaudi::Algorithm >::msgLvl
bool msgLvl(const MSG::Level lvl) const
Definition: AthCommonMsg.h:30
Trk::RIO_OnTrack
Definition: RIO_OnTrack.h:70
ReadCellNoiseFromCoolCompare.s4
s4
Definition: ReadCellNoiseFromCoolCompare.py:381
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDet::SiSPSeededTrackFinder::m_trackSummaryTool
ToolHandle< Trk::IExtendedTrackSummaryTool > m_trackSummaryTool
Definition: SiSPSeededTrackFinder.h:145
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
SG::VarHandleKey::empty
bool empty() const
Test if the key is blank.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:150
InDet::SiSPSeededTrackFinder::filterSharedTracksFast
void filterSharedTracksFast(std::multimap< double, Trk::Track * > &scoredTracks) const
Definition: SiSPSeededTrackFinder.cxx:913
xAOD::EventInfo_v1::Background
@ Background
The beam background detectors.
Definition: EventInfo_v1.h:340
InDet::SiSPSeededTrackFinder::m_maxNumberSeeds
IntegerProperty m_maxNumberSeeds
Definition: SiSPSeededTrackFinder.h:103
InDet::SiSPSeededTrackFinder::m_imcut
double m_imcut
Definition: SiSPSeededTrackFinder.h:120
InDet::PatternHoleSearchOutcome::nSCTDeads
int nSCTDeads
Definition: SiTrajectory_xk.h:38
Trk::numberOfSCTHoles
@ numberOfSCTHoles
number of Holes in both sides of a SCT module
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:73
InDet::SiSPSeededTrackFinder::m_useITkConvSeeded
BooleanProperty m_useITkConvSeeded
Definition: SiSPSeededTrackFinder.h:101
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
InDet::SiSPSeededTrackFinder::m_useMBTS
BooleanProperty m_useMBTS
Definition: SiSPSeededTrackFinder.h:97
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
InDet::SiSPSeededTrackFinder::m_useZBoundaryFinding
BooleanProperty m_useZBoundaryFinding
Definition: SiSPSeededTrackFinder.h:99
InDet::SiSPSeededTrackFinder::m_prdToTrackMap
SG::ReadHandleKey< Trk::PRDtoTrackMap > m_prdToTrackMap
Definition: SiSPSeededTrackFinder.h:129
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:27
InDet::SiSPSeededTrackFinder::kNCounter
@ kNCounter
Definition: SiSPSeededTrackFinder.h:78
InDet::SiSPSeededTrackFinder::m_trackmaker
ToolHandle< ISiTrackMaker > m_trackmaker
Definition: SiSPSeededTrackFinder.h:143
Trk::FastField
@ FastField
call the fast field access method of the FieldSvc
Definition: MagneticFieldMode.h:20
InDet::SiSPSeededTrackFinder::m_nvertex
IntegerProperty m_nvertex
Definition: SiSPSeededTrackFinder.h:109
Trk::FitQualityOnSurface
Definition: FitQualityOnSurface.h:19
InDet::SiSPSeededTrackFinder::m_deltaEta
DoubleProperty m_deltaEta
Definition: SiSPSeededTrackFinder.h:111
InDet::SiSPSeededTrackFinder::m_fieldmode
StringProperty m_fieldmode
Definition: SiSPSeededTrackFinder.h:114
InDet::SiSPSeededTrackFinder::m_problemsTotal
std::atomic_int m_problemsTotal
Number events with number seeds > maxNumber.
Definition: SiSPSeededTrackFinder.h:166
InDet::SiSPSeededTrackFinder::m_SpacePointsSCTKey
SG::ReadHandleKey< SpacePointContainer > m_SpacePointsSCTKey
Definition: SiSPSeededTrackFinder.h:127
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
Generate_dsid_ranseed.seed
seed
Definition: Generate_dsid_ranseed.py:10
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
RoiDescriptor::push_back
void push_back(const IRoiDescriptor *roi)
add a RoiDescriptor
Definition: RoiDescriptor.h:157
InDet::SiSPSeededTrackFinder::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition: SiSPSeededTrackFinder.h:132
ParticleGun_EoverP_Config.momentum
momentum
Definition: ParticleGun_EoverP_Config.py:63
InDet::SiSpacePointsSeed
Definition: SiSpacePointsSeed.h:30
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
z
#define z
InDet::SiSPSeededTrackFinder::m_maxSCTsp
IntegerProperty m_maxSCTsp
Definition: SiSPSeededTrackFinder.h:106
InDet::SiSPSeededTrackFinder::magneticFieldInit
void magneticFieldInit()
Definition: SiSPSeededTrackFinder.cxx:1095
beamspotman.n
n
Definition: beamspotman.py:731
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
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
AmgVector
AmgVector(4) T2BSTrackFilterTool
Definition: T2BSTrackFilterTool.cxx:114
InDet::SiSPSeededTrackFinder::m_neventsTotalV
std::atomic_int m_neventsTotalV
Number events.
Definition: SiSPSeededTrackFinder.h:165
InDet::SiSPSeededTrackFinder::m_proptool
PublicToolHandle< Trk::IPatternParametersPropagator > m_proptool
Definition: SiSPSeededTrackFinder.h:144
Trk::numberOfPixelDeadSensors
@ numberOfPixelDeadSensors
number of pixel hits with broad errors (width/sqrt(12))
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:65
InDet::SiSPSeededTrackFinder::oldStrategy
StatusCode oldStrategy(const EventContext &ctx) const
this method performs the track finding using the old strategy
Definition: SiSPSeededTrackFinder.cxx:175
Trk::pion
@ pion
Definition: ParticleHypothesis.h:29
TileDCSDataPlotter.pr
pr
Definition: TileDCSDataPlotter.py:922
InDet::PatternHoleSearchOutcome::nSCTDoubleHoles
int nSCTDoubleHoles
Definition: SiTrajectory_xk.h:36
DataVector::front
const T * front() const
Access the first element in the collection as an rvalue.
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
RoiDescriptor::clear
void clear()
clear the vector
Definition: RoiDescriptor.h:151
InDet::SiSPSeededTrackFinder::dumptools
MsgStream & dumptools(MsgStream &out) const
Definition: SiSPSeededTrackFinder.cxx:738
RoiDescriptor
Describes the Region of Ineterest geometry It has basically 9 parameters.
Definition: RoiDescriptor.h:40
InDet::ISiSpacePointsSeedMaker::StripSeed
@ StripSeed
Definition: ISiSpacePointsSeedMaker.h:136
IDPVM::binIndex
unsigned int binIndex(const T &val, const std::vector< T > &partitions)
general utility function to return bin index given a value and the upper endpoints of each bin
Definition: InDetPhysValMonitoringUtilities.h:43
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
Trk::ParametersBase
Definition: ParametersBase.h:55
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
Trk::FitQualityOnSurface::numberDoF
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
Definition: FitQuality.h:60
InDet::PatternHoleSearchOutcome::nSCTHoles
int nSCTHoles
Definition: SiTrajectory_xk.h:35
InDet::PatternHoleSearchOutcome::nPixelHoles
int nPixelHoles
Definition: SiTrajectory_xk.h:34
InDet::SiSPSeededTrackFinder::m_deltaZ
DoubleProperty m_deltaZ
Definition: SiSPSeededTrackFinder.h:113
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
InDet::SiSPSeededTrackFinder::filterSharedTracks
void filterSharedTracks(std::multimap< double, Trk::Track * > &scoredTracks) const
cleans up the collection of quality filtered tracks.
Definition: SiSPSeededTrackFinder.cxx:865
SCT
Definition: SCT_ChipUtils.h:14
Trk::numberOfPixelHoles
@ numberOfPixelHoles
number of pixels which have a ganged ambiguity.
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:59
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
xAOD::EventInfo_v1::MBTSTimeDiffHalo
@ MBTSTimeDiffHalo
Definition: EventInfo_v1.h:354
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
InDet::ExtendedSiTrackMakerEventData_xk
Definition: SiSPSeededTrackFinder.cxx:161
Trk::PrepRawData
Definition: PrepRawData.h:62
Trk::MeasurementBase
Definition: MeasurementBase.h:58
InDet::SiSPSeededTrackFinder::passEtaDepCuts
bool passEtaDepCuts(const Trk::Track *track, int nClusters, int nFreeClusters, int nPixels) const
Definition: SiSPSeededTrackFinder.cxx:1111
Trk::NoField
@ NoField
Field is set to 0., 0., 0.,.
Definition: MagneticFieldMode.h:18
InDet::PatternHoleSearchOutcome
Helper struct for hole search results from the pattern recognition.
Definition: SiTrajectory_xk.h:33
InDet::SiSPSeededTrackFinder::m_SpacePointsPixelKey
SG::ReadHandleKey< SpacePointContainer > m_SpacePointsPixelKey
Definition: SiSPSeededTrackFinder.h:128
InDet::SiSPSeededTrackFinder::m_deltaPhi
DoubleProperty m_deltaPhi
Definition: SiSPSeededTrackFinder.h:112
ReadCellNoiseFromCoolCompare.s3
s3
Definition: ReadCellNoiseFromCoolCompare.py:380
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
Trk::TrackStateOnSurface
represents the track state (measurement, material, fit parameters and quality) at a surface.
Definition: TrackStateOnSurface.h:71
InDet::SiSPSeededTrackFinder::m_zcut
DoubleProperty m_zcut
Definition: SiSPSeededTrackFinder.h:110
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
createCoolChannelIdFile.par
par
Definition: createCoolChannelIdFile.py:29
InDet::SiSPSeededTrackFinder::isGoodEvent
bool isGoodEvent(const EventContext &ctx) const
EventContext is used to specify which event.
Definition: SiSPSeededTrackFinder.cxx:814
InDet::SiSPSeededTrackFinder::m_zvertexmaker
ToolHandle< ISiZvertexMaker > m_zvertexmaker
Definition: SiSPSeededTrackFinder.h:142
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
InDet::SiSPSeededTrackFinder::m_maxPIXsp
IntegerProperty m_maxPIXsp
Definition: SiSPSeededTrackFinder.h:105
InDet::SiSPSeededTrackFinder::m_writeHolesFromPattern
BooleanProperty m_writeHolesFromPattern
Definition: SiSPSeededTrackFinder.h:96
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Trk::RIO_OnTrack::prepRawData
virtual const Trk::PrepRawData * prepRawData() const =0
returns the PrepRawData (also known as RIO) object to which this RIO_OnTrack is associated.
InDet::SiSPSeededTrackFinder::m_mbtsKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_mbtsKey
Definition: SiSPSeededTrackFinder.h:134
InDet::SiSPSeededTrackFinder::itkFastTrackingStrategy
StatusCode itkFastTrackingStrategy(const EventContext &ctx) const
EventContext is used to specify which event.
Definition: SiSPSeededTrackFinder.cxx:446
InDet::SiSPSeededTrackFinder::m_fieldprop
Trk::MagneticFieldProperties m_fieldprop
Definition: SiSPSeededTrackFinder.h:151
InDet::SiSPSeededTrackFinder::m_regsel_strip
ToolHandle< IRegSelTool > m_regsel_strip
Definition: SiSPSeededTrackFinder.h:146
Trk::Track::measurementsOnTrack
const DataVector< const MeasurementBase > * measurementsOnTrack() const
return a pointer to a vector of MeasurementBase (NOT including any that come from outliers).
Definition: Tracking/TrkEvent/TrkTrack/src/Track.cxx:178
python.PyAthena.v
v
Definition: PyAthena.py:154
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:76
Trk::ParametersBase::momentum
const Amg::Vector3D & momentum() const
Access method for the momentum.
InDet::SiSPSeededTrackFinder::m_useNewStrategy
BooleanProperty m_useNewStrategy
Definition: SiSPSeededTrackFinder.h:98
a
TList * a
Definition: liststreamerinfos.cxx:10
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
TRT_PAI_physicsConstants::mb
const double mb
1mb to cm2
Definition: TRT_PAI_physicsConstants.h:15
Trk::PatternTrackParameters
Definition: PatternTrackParameters.h:32
InDet::SiSPSeededTrackFinder::itkConvStrategy
StatusCode itkConvStrategy(const EventContext &ctx) const
EventContext is used to specify which event.
Definition: SiSPSeededTrackFinder.cxx:562
SpacePointCollection
Definition: SpacePointCollection.h:40
LVL1TGCTrigger::STRIP
@ STRIP
Definition: TGCNumbering.h:52
DEBUG
#define DEBUG
Definition: page_access.h:11
ReadCellNoiseFromCoolCompare.s2
s2
Definition: ReadCellNoiseFromCoolCompare.py:379
InDet::SiSPSeededTrackFinder::newStrategy
StatusCode newStrategy(const EventContext &ctx) const
this method performs the track finding using the new strategy
Definition: SiSPSeededTrackFinder.cxx:260
AthCommonMsg< Gaudi::Algorithm >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
InDet::SiSPSeededTrackFinder::fillZHistogram
void fillZHistogram(const Trk::Track *Tr, const Trk::PerigeeSurface &beamlinePerigee, std::vector< int > &numberWeightedhistogram, std::vector< double > &zWeightedHistogram, std::vector< double > &ptWeightedHistogram) const
fills three z0 histograms (non-weighted, weighted by z, and weighted by pt) with the track z at the b...
Definition: SiSPSeededTrackFinder.cxx:973
RunTileMonitoring.clusters
clusters
Definition: RunTileMonitoring.py:133
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
LArCellBinning.step
step
Definition: LArCellBinning.py:158
RoiDescriptor::setComposite
void setComposite(bool b=true)
Definition: RoiDescriptor.h:138
Trk::PatternTrackParameters::production
bool production(const TrackParameters *)
Definition: PatternTrackParameters.cxx:42
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
InDet::SiSPSeededTrackFinder::m_caloClusterROIKey
SG::ReadHandleKey< ROIPhiRZContainer > m_caloClusterROIKey
Definition: SiSPSeededTrackFinder.h:130
InDet::SiSPSeededTrackFinder::m_zstep
double m_zstep
Definition: SiSPSeededTrackFinder.h:121
InDet::SiSPSeededTrackFinder::m_neventsTotal
std::atomic_int m_neventsTotal
Number events.
Definition: SiSPSeededTrackFinder.h:164
InDet::SiSPSeededTrackFinder::m_doFastTracking
BooleanProperty m_doFastTracking
Definition: SiSPSeededTrackFinder.h:102
test_pyathena.counter
counter
Definition: test_pyathena.py:15
InDet::SiSPSeededTrackFinder::m_problemsTotalV
std::atomic_int m_problemsTotalV
Number events with number seeds > maxNumber.
Definition: SiSPSeededTrackFinder.h:167
SG::AllowEmpty
@ AllowEmpty
Definition: StoreGate/StoreGate/VarHandleKey.h:30
Trk::numberOfSCTDoubleHoles
@ numberOfSCTDoubleHoles
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:75
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
InDet::SiSPSeededTrackFinder::findZvertex
void findZvertex(std::list< Trk::Vertex > &vertexList, std::pair< double, double > &zBoundaries, const std::vector< int > &numberWeightedhistogram, const std::vector< double > &zWeightedHistogram, const std::vector< double > &ptWeightedHistogram) const
estimates a set of vertex positions and a z interval for the second track finding pass using the inpu...
Definition: SiSPSeededTrackFinder.cxx:1021
Trk::TrackStateOnSurface::Measurement
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
Definition: TrackStateOnSurface.h:101
ROIPhiRZ
Definition: ROIPhiRZContainer.h:19
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >