This tool creates TRT_DriftCircleOnTrack objects using a given track hypothesis.
More...
#include <TRT_DriftCircleOnTrackUniversalTool.h>
|
| static const InterfaceID & | interfaceID () |
| | The AlgTool InterfaceID.
|
This tool creates TRT_DriftCircleOnTrack objects using a given track hypothesis.
See doxygen to Trk::RIO_OnTrackCreator for details.
Definition at line 27 of file TRT_DriftCircleOnTrackUniversalTool.h.
◆ StoreGateSvc_t
◆ TRT_DriftCircleOnTrackUniversalTool()
| InDet::TRT_DriftCircleOnTrackUniversalTool::TRT_DriftCircleOnTrackUniversalTool |
( |
const std::string & | ty, |
|
|
const std::string & | na, |
|
|
const IInterface * | pa ) |
◆ ~TRT_DriftCircleOnTrackUniversalTool()
| InDet::TRT_DriftCircleOnTrackUniversalTool::~TRT_DriftCircleOnTrackUniversalTool |
( |
| ) |
|
|
virtualdefault |
◆ correct()
abstract base method for the creation of RIO_OnTrack it takes a RIO (PrepRawData) and the given Track Parameter
Implements Trk::IRIO_OnTrackCreator.
Definition at line 68 of file TRT_DriftCircleOnTrackUniversalTool.cxx.
70{
71 const InDet::TRT_DriftCircle* DC = dynamic_cast<const InDet::TRT_DriftCircle*>(&rio);
72 if(!DC) return nullptr;
73
74 Trk::RIO_OnTrack *rot=nullptr;
75
76
77
81
82
83 if(distance2 > error2){
84
86 }else {
87
89 }
90
91 return rot;
92}
const Amg::Vector2D & localPosition() const
return the local position reference
const Amg::MatrixX & localCovariance() const
return const ref to the error matrix
float distance2(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the squared distance between two point in 3D space
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ extraDeps_update_handler()
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
◆ finalize()
| StatusCode InDet::TRT_DriftCircleOnTrackUniversalTool::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
| StatusCode InDet::TRT_DriftCircleOnTrackUniversalTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
| const InterfaceID & Trk::IRIO_OnTrackCreator::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
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)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_detStore
◆ m_evtStore
◆ m_riontrackDrift
| ToolHandle<Trk::IRIO_OnTrackCreator> InDet::TRT_DriftCircleOnTrackUniversalTool::m_riontrackDrift {this, "RIOonTrackToolDrift", "InDet::TRT_DriftCircleOnTrackTool/TRT_DriftCircleOnTrackTool"} |
|
private |
◆ m_riontrackTube
| ToolHandle<Trk::IRIO_OnTrackCreator> InDet::TRT_DriftCircleOnTrackUniversalTool::m_riontrackTube {this, "RIOonTrackToolTube", "InDet::TRT_DriftCircleOnTrackNoDriftTimeTool/TRT_DriftCircleOnTrackNoDriftTimeTool"} |
|
private |
◆ m_scalefactor
| DoubleProperty InDet::TRT_DriftCircleOnTrackUniversalTool::m_scalefactor |
|
private |
Initial value:{this, "ScaleHitUncertainty", 2.,
"scale factor for hit uncertainty"}
Definition at line 58 of file TRT_DriftCircleOnTrackUniversalTool.h.
58 {this, "ScaleHitUncertainty", 2.,
59 "scale factor for hit uncertainty"};
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: