![]() |
ATLAS Offline Software
|
#include <TRTTrackHoleSearchTool.h>
Public Member Functions | |
| TRTTrackHoleSearchTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| StatusCode | initialize () |
| StatusCode | finalize () |
| void | countHoles (const Trk::Track &track, std::vector< int > &information, const Trk::ParticleHypothesis partHyp=Trk::pion) const |
| Input : track, partHyp Output: Changes in information This method fills the fields relevant to the hole counts in the vector information. | |
| const Trk::TrackStates * | getHolesOnTrack (const Trk::Track &track, const Trk::ParticleHypothesis partHyp=Trk::pion) const |
| Input : track, parthyp Return: A DataVector containing pointers to TrackStateOnSurfaces which each represent an identified hole on the track. | |
| const Trk::Track * | getTrackWithHoles (const Trk::Track &track, const Trk::ParticleHypothesis partHyp=Trk::pion) const |
| Input : track, parthyp Return: A pointer to a new Trk::Track which containes the information of the input track plus the tsos of the identified holes The parthyp argument is relevant for the extrapolation steps in the hole search. | |
| const Trk::Track * | getTrackWithHolesAndOutliers (const Trk::Track &track, const Trk::ParticleHypothesis partHyp=Trk::pion) const |
| Input : track, parthyp Return: A pointer to a new Trk::Track which containes the information of the input track plus the tsos of the identified holes or outliers The parthyp argument is relevant for the extrapolation steps in the hole search. | |
| DeclareInterfaceID (ITrackHoleSearchTool, 1, 0) | |
| 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 |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| int | extrapolateBetweenHits (const Trk::TrackParameters *start_parameters, const Trk::Surface &end_surf, Trk::TrackStates *holes, const Trk::ParticleHypothesis partHyp=Trk::pion) const |
| void | dump_bad_straw_log () const |
| Trk::TrackStates::const_iterator | find_first_trt_hit (const Trk::TrackStates &track_states) const |
| Trk::TrackStates::const_iterator | find_last_hit_before_trt (const Trk::TrackStates &track_states) const |
| const Trk::Track * | addHolesToTrack (const Trk::Track &track, const Trk::TrackStates *holes) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| ToolHandle< Trk::IExtrapolator > | m_extrapolator {this, "extrapolator", "Trk::Extrapolator"} |
| ServiceHandle< IInDetConditionsSvc > | m_conditions_svc {this, "conditions_svc", "TRT_ConditionsSummarySvc"} |
| BooleanProperty | m_use_conditions_svc {this, "use_conditions_svc", true} |
| FloatProperty | m_outer_radius {this, "outer_radius", 1075.0*CLHEP::mm} |
| FloatProperty | m_max_z {this, "max_z", 2715.0*CLHEP::mm} |
| IntegerProperty | m_max_trailing_holes {this, "max_trailing_holes", 1} |
| BooleanProperty | m_begin_at_first_trt_hit {this, "begin_at_first_trt_hit", false} |
| BooleanProperty | m_end_at_last_trt_hit {this, "end_at_last_trt_hit", false} |
| BooleanProperty | m_bcheck {this, "bcheck", false} |
| BooleanProperty | m_do_dump_bad_straw_log {this, "do_dump_bad_straw_log", false} |
| FloatProperty | m_locR_cut {this, "locR_cut", -1.} |
| FloatProperty | m_locR_sigma_cut {this, "locR_sigma_cut", -1.} |
| FloatProperty | m_locZ_cut {this, "locZ_cut", 5.0*CLHEP::mm} |
| std::atomic_bool | m_has_been_called {false} |
| const TRT_ID * | m_TRT_ID {nullptr} |
| Trk::CylinderSurface * | m_trt_outer_surf {nullptr} |
| 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 |
Definition at line 37 of file TRTTrackHoleSearchTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| TRTTrackHoleSearchTool::TRTTrackHoleSearchTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 39 of file TRTTrackHoleSearchTool.cxx.
|
private |
Definition at line 422 of file TRTTrackHoleSearchTool.cxx.
|
virtual |
Input : track, partHyp Output: Changes in information This method fills the fields relevant to the hole counts in the vector information.
These fields should be initialised to 0. The relevant indices are specified by the enumeration in Tracking/TrkEvent/TrkTrackSummary. If problems occur, the information counters are reset to -1 flagging them as not set. The parthyp argument is relevant for the extrapolation steps in the hole search.
Implements Trk::ITrackHoleSearchTool.
Definition at line 76 of file TRTTrackHoleSearchTool.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inherited |
|
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.
|
private |
Definition at line 354 of file TRTTrackHoleSearchTool.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
|
private |
Definition at line 226 of file TRTTrackHoleSearchTool.cxx.
| StatusCode TRTTrackHoleSearchTool::finalize | ( | ) |
Definition at line 68 of file TRTTrackHoleSearchTool.cxx.
|
private |
Definition at line 378 of file TRTTrackHoleSearchTool.cxx.
|
private |
Definition at line 399 of file TRTTrackHoleSearchTool.cxx.
|
virtual |
Input : track, parthyp Return: A DataVector containing pointers to TrackStateOnSurfaces which each represent an identified hole on the track.
The parthyp argument is relevant for the extrapolation steps in the hole search. Attention: This is a factory, ownership of the return vector is passed to the calling method.
Implements Trk::ITrackHoleSearchTool.
Definition at line 91 of file TRTTrackHoleSearchTool.cxx.
|
virtual |
Input : track, parthyp Return: A pointer to a new Trk::Track which containes the information of the input track plus the tsos of the identified holes The parthyp argument is relevant for the extrapolation steps in the hole search.
Attention: This is a factory, ownership of the return track is passed to the calling method.
Implements Trk::ITrackHoleSearchTool.
Definition at line 204 of file TRTTrackHoleSearchTool.cxx.
|
virtual |
Input : track, parthyp Return: A pointer to a new Trk::Track which containes the information of the input track plus the tsos of the identified holes or outliers The parthyp argument is relevant for the extrapolation steps in the hole search.
Attention: This is a factory, ownership of the return track is passed to the calling method.
Implements Trk::ITrackHoleSearchTool.
Definition at line 215 of file TRTTrackHoleSearchTool.cxx.
| StatusCode TRTTrackHoleSearchTool::initialize | ( | ) |
Definition at line 47 of file TRTTrackHoleSearchTool.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.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
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.
|
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.
|
private |
Definition at line 97 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 95 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 87 of file TRTTrackHoleSearchTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 98 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 96 of file TRTTrackHoleSearchTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 85 of file TRTTrackHoleSearchTool.h.
|
mutableprivate |
Definition at line 105 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 99 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 100 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 101 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 94 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 93 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 91 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 106 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 107 of file TRTTrackHoleSearchTool.h.
|
private |
Definition at line 89 of file TRTTrackHoleSearchTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.