![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
27 (
const std::string& ty,
const std::string& na,
const IInterface* pa)
29 m_riontrackTube(
"InDet::TRT_DriftCircleOnTrackNoDriftTimeTool/TRT_DriftCircleOnTrackNoDriftTimeTool"),
30 m_drifttool(
"TRT_DriftFunctionTool"),
31 m_useToTCorrection(false),
34 declareInterface<IRIO_OnTrackCreator>(
this);
57 return StatusCode::FAILURE;
62 return StatusCode::FAILURE;
87 if(!DC)
return nullptr;
103 double distance=fabs(fabs(TP.parameters()[0])-driftradius);
120 double se =
sin(P[3]);
123 double predictedLocZ=P[1];
125 double sign = (TP.parameters()[0] < 0.) ? -1. : 1.;
130 if (predictedLocZ > sl) predictedLocZ = sl;
131 else if(predictedLocZ <-sl) predictedLocZ =-sl;
138 const EventContext& ctx = Gaudi::Hive::currentContext();
148 cov = Trk::ErrorScalingCast<TRTRIO_OnTrackErrorScaling>(*error_scaling)
149 ->getScaledCovariance(std::move(
cov), endcap,
mu);
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
virtual const double & strawLength() const =0
Active straw length.
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
double timeOverThreshold() const
returns Time over threshold in ns
const Amg::MatrixX & localCovariance() const
return const ref to the error matrix
std::vector< ALFA_RawData_p1 > t0
virtual const InDetDD::TRT_BaseElement * detectorElement() const override final
return the detector element corresponding to this PRD
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
int driftTimeBin() const
returns the leading edge bin defined as in TRT_LoLumRawData to be the first 0-1 transition
std::pair< double, ParamDefs > DefinedParameter
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual IdentifierHash identifyHash() const override final
identifier hash
@ DECIDED
sign of drift radius has been determined
Identifier identify() const
return the identifier
float lbAverageInteractionsPerCrossing() const
const Amg::Vector2D & localPosition() const
return the local position reference
StatusCode initialize(bool used=true)
Eigen::Matrix< double, 3, 1 > Vector3D
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space