|
ATLAS Offline Software
|
Go to the documentation of this file.
26 (
const std::string& ty,
const std::string& na,
const IInterface* pa)
29 declareInterface<IRIO_OnTrackCreator>(
this);
48 return StatusCode::FAILURE;
53 return StatusCode::FAILURE;
78 if(!DC)
return nullptr;
94 double distance=fabs(fabs(TP.parameters()[0])-driftradius);
114 double predictedLocZ=
P[1];
116 double sign = (TP.parameters()[0] < 0.) ? -1. : 1.;
121 if (predictedLocZ > sl) predictedLocZ = sl;
122 else if(predictedLocZ <-sl) predictedLocZ =-sl;
138 cov = Trk::ErrorScalingCast<TRTRIO_OnTrackErrorScaling>(*error_scaling)
139 ->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.
double timeOverThreshold() const
returns Time over threshold in ns
const Amg::MatrixX & localCovariance() const
return const ref to the error matrix
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
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space