![]() |
ATLAS Offline Software
|
InDet::TRT_SeededTrackFinderATL is an algorithm which produces tracks along the road of InDetDD::SiDetectorElement* sorted in propagation order. More...
#include <TRT_SeededTrackFinder_ATL.h>
Classes | |
| class | EventData |
Public Member Functions | |
| TRT_SeededTrackFinder_ATL (const std::string &, const std::string &, const IInterface *) | |
| Standard tool methods. | |
| virtual | ~TRT_SeededTrackFinder_ATL () |
| virtual StatusCode | initialize () override |
| virtual StatusCode | finalize () override |
| virtual std::list< Trk::Track * > | getTrack (const EventContext &ctx, InDet::ITRT_SeededTrackFinder::IEventData &event_data, const Trk::TrackSegment &) const override |
| Main methods for local track finding. | |
| virtual std::unique_ptr< InDet::ITRT_SeededTrackFinder::IEventData > | newEvent (const EventContext &ctx, SiCombinatorialTrackFinderData_xk &combinatorialData) const override |
| New event initialization. | |
| virtual std::unique_ptr< InDet::ITRT_SeededTrackFinder::IEventData > | newRegion (const EventContext &ctx, SiCombinatorialTrackFinderData_xk &combinatorialData, const std::vector< IdentifierHash > &, const std::vector< IdentifierHash > &) const override |
| New region intialization. | |
| virtual void | endEvent (InDet::ITRT_SeededTrackFinder::IEventData &event_data) const override |
| End of event tasks. | |
| MsgStream & | dump (MsgStream &out) const override |
| Print internal tool parameters and status. | |
| std::ostream & | dump (std::ostream &out) const override |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
Protected Member Functions | |
| void | magneticFieldInit () |
| Private Methods. | |
| std::unique_ptr< const Trk::TrackParameters > | getTP (MagField::AtlasFieldCache &fieldCache, const Trk::SpacePoint *, const Trk::TrackParameters &, bool &, InDet::TRT_SeededTrackFinder_ATL::EventData &event_data) const |
| Update track parameters through space point propagation. | |
| std::list< Trk::Track * > | findTrack (const EventContext &ctx, MagField::AtlasFieldCache &fieldCache, InDet::TRT_SeededTrackFinder_ATL::EventData &event_data, const Trk::TrackParameters &, const Trk::TrackSegment &) const |
| Find the corresponding list of Si tracks. | |
| std::unique_ptr< const Trk::TrackParameters > | addNoise (const SiNoise_bt &, const Trk::TrackParameters &, int) const |
| Add material effects. | |
| bool | checkSeed (std::vector< const Trk::SpacePoint * > &, const Trk::TrackSegment &, const Trk::TrackParameters &) const |
| Check consistency of seed and TRT track segment. | |
| void | setTrackQualityCuts () |
| Set the track quality cuts for combinatorial track finding. | |
| std::list< Trk::Track * > | cleanTrack (std::list< Trk::Track * >) const |
| Eliminate spurious Pixel clusters in track. | |
| bool | isCaloCompatible (const Trk::TrackParameters &, const InDet::TRT_SeededTrackFinder_ATL::EventData &event_data) const |
| Only propagate to the Si if the TRT segment is compatible with a calo measurement. | |
| MsgStream & | dumpconditions (MsgStream &out) const |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Static Protected Member Functions | |
| static std::unique_ptr< const Trk::TrackParameters > | modifyTrackParameters (const Trk::TrackParameters &, int) |
| Modify track parameters if brem correction. | |
| static void | clusterTrackMap (Trk::Track *, InDet::TRT_SeededTrackFinder_ATL::EventData &event_data) |
| Map PRDs-tracks. | |
| static bool | newClusters (const std::vector< const Trk::SpacePoint * > &, InDet::TRT_SeededTrackFinder_ATL::EventData &event_data) |
| Seed used by another track? | |
| static bool | newSeed (const std::vector< const Trk::SpacePoint * > &, InDet::TRT_SeededTrackFinder_ATL::EventData &event_data) |
| Seed SPs used by other high quality tracks? | |
| static bool | isNewTrack (Trk::Track *, InDet::TRT_SeededTrackFinder_ATL::EventData &event_data) |
| Clean-up duplicate tracks. | |
Protected Attributes | |
| StringProperty | m_fieldmode |
| Protected Data. | |
| Trk::MagneticFieldProperties | m_fieldprop |
| ToolHandle< InDet::ISiDetElementsRoadMaker > | m_roadmaker {this, "RoadTool", "InDet::SiDetElementsRoadMaker_xk"} |
| Magnetic field properties. | |
| ToolHandle< InDet::ITRT_SeededSpacePointFinder > | m_seedmaker {this, "SeedTool", ""} |
| ToolHandle< Trk::IPropagator > | m_proptool {this, "PropagatorTool", "Trk::RungeKuttaPropagator/InDetPropagator"} |
| ToolHandle< Trk::IUpdator > | m_updatorTool {this, "UpdatorTool", "Trk::KalmanUpdator_xk/InDetPatternUpdator"} |
| ToolHandle< InDet::ISiCombinatorialTrackFinder > | m_tracksfinder {this, "CombinatorialTrackFinder", "InDet::SiCombinatorialTrackFinder_xk"} |
| SG::ReadCondHandleKey< AtlasFieldCacheCondObj > | m_fieldCondObjInputKey |
| const TRT_ID * | m_trtId = nullptr |
| ID TRT helper. | |
| DoubleProperty | m_xi2max {this, "Xi2max", 15., "max Xi2 for updators"} |
| Track quality cuts to be passed to the combinatorial track finder. | |
| DoubleProperty | m_xi2maxNoAdd |
| DoubleProperty | m_xi2maxlink |
| DoubleProperty | m_pTmin {this, "pTmin", 500., "min pT"} |
| IntegerProperty | m_nholesmax {this, "nHolesMax", 1, "Max number holes"} |
| IntegerProperty | m_dholesmax |
| IntegerProperty | m_nclusmin {this, "nClustersMin", 4, "Min number clusters"} |
| IntegerProperty | m_nwclusmin |
| BooleanProperty | m_bremCorrect |
| BooleanProperty | m_propR |
| BooleanProperty | m_useassoTool |
| InDet::TrackQualityCuts | m_trackquality |
| DoubleArrayProperty | m_errorScale |
| DoubleProperty | m_outlierCut |
| BooleanProperty | m_searchInCaloROI |
| SG::ReadHandleKey< ROIPhiRZContainer > | m_caloClusterROIKey {this, "EMROIPhiRZContainer", ""} |
| DoubleProperty | m_phiWidth {this, "phiWidth", 0.3} |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
InDet::TRT_SeededTrackFinderATL is an algorithm which produces tracks along the road of InDetDD::SiDetectorElement* sorted in propagation order.
Definition at line 81 of file TRT_SeededTrackFinder_ATL.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDet::TRT_SeededTrackFinder_ATL::TRT_SeededTrackFinder_ATL | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Standard tool methods.
Definition at line 76 of file TRT_SeededTrackFinder_ATL.cxx.
|
virtualdefault |
|
protected |
Add material effects.
Definition at line 661 of file TRT_SeededTrackFinder_ATL.cxx.
|
protected |
Check consistency of seed and TRT track segment.
Get TRT segment track parameters
Process only if endcap-transition region
Find the global z position of first endcap hit on TRT segment
Propagate at the z position of 1st endcap hit on TRT segment
Definition at line 694 of file TRT_SeededTrackFinder_ATL.cxx.
|
protected |
Eliminate spurious Pixel clusters in track.
Concentrate on the Si component of the track
Throw out any spurious pixel hits.Need to rebuild the vector of track states on surface from scratch, since it's const in EDM
Construct the new track
Definition at line 984 of file TRT_SeededTrackFinder_ATL.cxx.
|
staticprotected |
Map PRDs-tracks.
Definition at line 783 of file TRT_SeededTrackFinder_ATL.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
overridevirtual |
Print internal tool parameters and status.
Implements InDet::ITRT_SeededTrackFinder.
Definition at line 141 of file TRT_SeededTrackFinder_ATL.cxx.
|
overridevirtual |
Implements InDet::ITRT_SeededTrackFinder.
Definition at line 201 of file TRT_SeededTrackFinder_ATL.cxx.
|
protected |
Definition at line 151 of file TRT_SeededTrackFinder_ATL.cxx.
|
overridevirtual |
End of event tasks.
Implements InDet::ITRT_SeededTrackFinder.
Definition at line 262 of file TRT_SeededTrackFinder_ATL.cxx.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
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
|
overridevirtual |
Implements InDet::ITRT_SeededTrackFinder.
Definition at line 132 of file TRT_SeededTrackFinder_ATL.cxx.
|
protected |
Find the corresponding list of Si tracks.
List of space points in the current seed, starting from the one at the smaller radius
end of loop over seeds for this TRT segment
Definition at line 355 of file TRT_SeededTrackFinder_ATL.cxx.
|
protected |
Update track parameters through space point propagation.
Definition at line 604 of file TRT_SeededTrackFinder_ATL.cxx.
|
overridevirtual |
Main methods for local track finding.
Main method. Calls private methods and returns a list of Si tracks
Implements InDet::ITRT_SeededTrackFinder.
Definition at line 276 of file TRT_SeededTrackFinder_ATL.cxx.
|
overridevirtual |
Implements InDet::ITRT_SeededTrackFinder.
Definition at line 91 of file TRT_SeededTrackFinder_ATL.cxx.
|
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.
|
inlinestaticinherited |
Definition at line 91 of file ITRT_SeededTrackFinder.h.
|
protected |
Only propagate to the Si if the TRT segment is compatible with a calo measurement.
Definition at line 1046 of file TRT_SeededTrackFinder_ATL.cxx.
|
staticprotected |
Clean-up duplicate tracks.
Definition at line 944 of file TRT_SeededTrackFinder_ATL.cxx.
|
protected |
Private Methods.
Get Magnetic field properties
Definition at line 1060 of file TRT_SeededTrackFinder_ATL.cxx.
|
staticprotected |
Modify track parameters if brem correction.
The mode corresponds to whether the track parameters are modified before the seed (0) or before the pixel propagation (1)
Get the track parameters
Correct inverse momentum and covariance. Inverse momentum halved, i.e. momentum doubled
Definition at line 733 of file TRT_SeededTrackFinder_ATL.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
staticprotected |
Seed used by another track?
Definition at line 802 of file TRT_SeededTrackFinder_ATL.cxx.
|
overridevirtual |
New event initialization.
Get the seeds
Implements InDet::ITRT_SeededTrackFinder.
Definition at line 210 of file TRT_SeededTrackFinder_ATL.cxx.
|
overridevirtual |
New region intialization.
Implements InDet::ITRT_SeededTrackFinder.
Definition at line 238 of file TRT_SeededTrackFinder_ATL.cxx.
|
staticprotected |
Seed SPs used by other high quality tracks?
Definition at line 870 of file TRT_SeededTrackFinder_ATL.cxx.
|
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.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
protected |
Set the track quality cuts for combinatorial track finding.
Definition at line 761 of file TRT_SeededTrackFinder_ATL.cxx.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
protected |
Definition at line 199 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 213 of file TRT_SeededTrackFinder_ATL.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
protected |
Definition at line 194 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 206 of file TRT_SeededTrackFinder_ATL.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
protected |
Definition at line 180 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Protected Data.
Definition at line 162 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 165 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 196 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 193 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 197 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 209 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 277 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 201 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 173 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 192 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Magnetic field properties.
Tools used
Definition at line 169 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 211 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 171 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 205 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 177 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 184 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 175 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 203 of file TRT_SeededTrackFinder_ATL.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
protected |
Track quality cuts to be passed to the combinatorial track finder.
Definition at line 187 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 190 of file TRT_SeededTrackFinder_ATL.h.
|
protected |
Definition at line 188 of file TRT_SeededTrackFinder_ATL.h.