|
ATLAS Offline Software
|
#include <TRT_DriftCircleOnTrack.h>
|
| TRT_DriftCircleOnTrack () |
| Default constructor - needed for POOL. More...
|
|
| TRT_DriftCircleOnTrack (const TRT_DriftCircleOnTrack &) |
| Copy constructor. More...
|
|
TRT_DriftCircleOnTrack & | operator= (const TRT_DriftCircleOnTrack &) |
| Assignment operator. More...
|
|
TRT_DriftCircleOnTrack & | operator= (TRT_DriftCircleOnTrack &&) noexcept |
| Move assignment operator. More...
|
|
| TRT_DriftCircleOnTrack (const InDet::TRT_DriftCircle *RIO, Trk::LocalParameters &&driftRadius, Amg::MatrixX &&errDriftRadius, const IdentifierHash &idDE, double predictedLocZ, const Amg::Vector3D &predictedTrackDirection, const Trk::DriftCircleStatus status) |
| Constructor with parameters and without externalPrediction. More...
|
|
| TRT_DriftCircleOnTrack (const ElementLinkToIDCTRT_DriftCircleContainer &RIO, const Trk::LocalParameters &driftRadius, const Amg::MatrixX &errDriftRadius, IdentifierHash idDE, const Identifier &id, double predictedLocZ, float localAngle, const Trk::DriftCircleStatus status, bool highLevel, double timeOverThreshold) |
| Constructor used by the TP converters. More...
|
|
virtual | ~TRT_DriftCircleOnTrack () |
| Destructor. More...
|
|
virtual TRT_DriftCircleOnTrack * | clone () const override final |
| allows copying without losing the type information. More...
|
|
virtual const Amg::Vector3D & | globalPosition () const override final |
| return the global position of this RIO_OnTrack More...
|
|
virtual const Trk::Surface & | associatedSurface () const override final |
| returns the surface for the local to global transformation More...
|
|
virtual bool | rioType (Trk::RIO_OnTrackType::Type type) const override final |
| Method checking the Rio On Track type. More...
|
|
virtual const TRT_DriftCircle * | prepRawData () const override final |
| returns the PrepRawData - is a TRT_DriftCircle in this scope More...
|
|
const ElementLinkToIDCTRT_DriftCircleContainer & | prepRawDataLink () const |
|
virtual IdentifierHash | idDE () const override final |
| returns the DE hashID More...
|
|
virtual const InDetDD::TRT_BaseElement * | detectorElement () const override final |
| returns the detector element, assoicated with the PRD of this class More...
|
|
Trk::DriftCircleSide | side () const |
| returns the side on which the drift radius is. More...
|
|
Trk::DriftCircleStatus | status () const |
| returns the status of the drift radius calibration. More...
|
|
bool | highLevel () const |
| returns true if the high level threshold was passed More...
|
|
double | timeOverThreshold () const |
| returns time over threshold in ns for valid digits; zero otherwise More...
|
|
virtual MsgStream & | dump (MsgStream &out) const override final |
| returns some information about this RIO_OnTrack. More...
|
|
virtual std::ostream & | dump (std::ostream &out) const override final |
| returns some information about this RIO_OnTrack. More...
|
|
float | localAngle () const |
|
float | positionAlongWire () const |
|
std::unique_ptr< RIO_OnTrack > | uniqueClone () const |
| NVI clone returning unique_ptr. More...
|
|
virtual bool | type (MeasurementBaseType::Type type) const override final |
| Extended method checking the type. More...
|
|
Identifier | identify () const |
| return the identifier -extends MeasurementBase More...
|
|
const LocalParameters & | localParameters () const |
| Interface method to get the LocalParameters. More...
|
|
const Amg::MatrixX & | localCovariance () const |
| Interface method to get the localError. More...
|
|
◆ TRT_DriftCircleOnTrack() [1/4]
InDet::TRT_DriftCircleOnTrack::TRT_DriftCircleOnTrack |
( |
| ) |
|
◆ TRT_DriftCircleOnTrack() [2/4]
◆ TRT_DriftCircleOnTrack() [3/4]
◆ TRT_DriftCircleOnTrack() [4/4]
◆ ~TRT_DriftCircleOnTrack()
InDet::TRT_DriftCircleOnTrack::~TRT_DriftCircleOnTrack |
( |
| ) |
|
|
virtualdefault |
◆ associatedSurface()
◆ clone()
|
inlinefinaloverridevirtual |
◆ detectorElement()
|
inlinefinaloverridevirtual |
◆ dump() [1/2]
MsgStream & InDet::TRT_DriftCircleOnTrack::dump |
( |
MsgStream & |
out | ) |
const |
|
finaloverridevirtual |
◆ dump() [2/2]
std::ostream & InDet::TRT_DriftCircleOnTrack::dump |
( |
std::ostream & |
out | ) |
const |
|
finaloverridevirtual |
returns some information about this RIO_OnTrack.
Reimplemented from Trk::RIO_OnTrack.
Definition at line 225 of file TRT_DriftCircleOnTrack.cxx.
227 sl <<
"TRT_DriftCircleOnTrack {"<<std::endl;
231 sl <<
"Global position (x,y,z) = (";
238 << (
highLevel() ?
" with TR flag ON":
" with TR flag OFF")<<std::endl;
◆ globalPosition()
◆ highLevel()
bool InDet::TRT_DriftCircleOnTrack::highLevel |
( |
| ) |
const |
|
inline |
◆ idDE()
|
inlinefinaloverridevirtual |
◆ identify()
return the identifier -extends MeasurementBase
Definition at line 152 of file RIO_OnTrack.h.
◆ localAngle()
float InDet::TRT_DriftCircleOnTrack::localAngle |
( |
| ) |
const |
|
inline |
◆ localCovariance()
◆ localParameters()
◆ numberOfInstantiations()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ positionAlongWire()
float InDet::TRT_DriftCircleOnTrack::positionAlongWire |
( |
| ) |
const |
|
inline |
◆ prepRawData()
|
inlinefinaloverridevirtual |
◆ prepRawDataLink()
◆ rioType()
|
inlinefinaloverridevirtual |
◆ setGlobalPositionHelper()
void InDet::TRT_DriftCircleOnTrack::setGlobalPositionHelper |
( |
| ) |
|
|
private |
@calculate and set the global coord of this hit.
The detector element surface is used. Can be used from the convertor after setValues if the element is constructed without a detEl
Definition at line 168 of file TRT_DriftCircleOnTrack.cxx.
193 throw GaudiException(
"Dynamic_cast to StraightLineSurface failed!",
194 "TRT_DriftCircleOnTrack::setGlobalPosition()",
195 StatusCode::FAILURE);
◆ setValues()
|
finaloverrideprivatevirtual |
◆ side()
returns the side on which the drift radius is.
(for more information see the definition of TrkEventPrimitives/DriftCirlceSide)
Definition at line 147 of file TRT_DriftCircleOnTrack.cxx.
◆ status()
returns the status of the drift radius calibration.
(for more information see the definition of TrkEventPrimitives/DriftCirlceStatus)
Definition at line 229 of file TRT_DriftCircleOnTrack.h.
◆ timeOverThreshold()
double InDet::TRT_DriftCircleOnTrack::timeOverThreshold |
( |
| ) |
const |
|
inline |
◆ type()
|
inlinefinaloverridevirtualinherited |
◆ uniqueClone()
std::unique_ptr<RIO_OnTrack> Trk::RIO_OnTrack::uniqueClone |
( |
| ) |
const |
|
inlineinherited |
NVI clone returning unique_ptr.
Definition at line 97 of file RIO_OnTrack.h.
98 return std::unique_ptr<RIO_OnTrack>(
clone());
◆ Trk::ITrkEventCnvTool
◆ m_detEl
◆ m_globalPosition
◆ m_highLevel
bool InDet::TRT_DriftCircleOnTrack::m_highLevel |
|
private |
◆ m_idDE
◆ m_identifier
◆ m_localAngle
float InDet::TRT_DriftCircleOnTrack::m_localAngle |
|
private |
◆ m_localCovariance
◆ m_localParams
LocalParameters Trk::MeasurementBase::m_localParams |
|
protectedinherited |
◆ m_positionAlongWire
float InDet::TRT_DriftCircleOnTrack::m_positionAlongWire |
|
private |
◆ m_rio
◆ m_status
◆ m_timeOverThreshold
double InDet::TRT_DriftCircleOnTrack::m_timeOverThreshold |
|
private |
◆ s_numberOfInstantiations
The documentation for this class was generated from the following files:
Trk::DriftCircleSide side() const
returns the side on which the drift radius is.
ElementType cachedElement() const
Return the cached element, if any.
Amg::Vector3D m_globalPosition
global position to be cached
Trk::DriftCircleStatus status() const
returns the status of the drift radius calibration.
virtual IdentifierHash idDE() const override final
returns the DE hashID
virtual MsgStream & dump(MsgStream &out) const override
returns the some information about this RIO_OnTrack.
@ NONE
it was not possible to determine the which side of the straw the track passed;
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
const InDetDD::TRT_BaseElement * m_detEl
corresponding detector element
virtual RIO_OnTrack * clone() const override=0
Pseudo-constructor, needed to avoid excessive RTTI.
float m_localAngle
local angle to be written out
double timeOverThreshold() const
returns Time over threshold in ns
virtual const InDetDD::TRT_BaseElement * detectorElement() const override final
return the detector element corresponding to this PRD
virtual const Trk::Surface & associatedSurface() const override final
returns the surface for the local to global transformation
bool highLevel() const
returns true if the high level threshold was passed
TRT_DriftCircleOnTrack()
Default constructor - needed for POOL.
bool isValid() const
Test to see if the link can be dereferenced.
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
@ UNDECIDED
sign of drift radius has not been determined
ElementLinkToIDCTRT_DriftCircleContainer m_rio
void setGlobalPositionHelper()
@calculate and set the global coord of this hit.
@ RIGHT
the drift radius is positive (see Trk::AtaStraightLine)
bool m_highLevel
the high level flag
double m_timeOverThreshold
the time over threshold in nsec
RIO_OnTrack & operator=(const RIO_OnTrack &rot)=default
Assignment operator.
LocalParameters m_localParams
Trk::DriftCircleStatus m_status
the information how the (possibly signed) drift radius should be understood
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
Identifier identify() const
return the identifier
bool setElement(ElementType element)
Set to point to an element.
double timeOverThreshold() const
returns time over threshold in ns for valid digits; zero otherwise
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const override final
Specified for StraightLineSurface: LocalToGlobal method without dynamic memory allocation.
Eigen::Matrix< double, 3, 1 > Vector3D
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
Amg::MatrixX m_localCovariance
static std::atomic_size_t s_numberOfInstantiations
bool highLevel() const
returns true if the high level threshold was passed
Identifier m_identifier
Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData)
IdentifierHash m_idDE
the IdentifierHash - probably not used
Identifier identify() const
return the identifier -extends MeasurementBase
@ LEFT
the drift radius is negative (see Trk::AtaStraightLine)
float m_positionAlongWire
local position along wire to be written out
virtual const Amg::Vector3D & globalPosition() const override final
return the global position of this RIO_OnTrack
const Amg::Transform3D & transform() const
Returns HepGeom::Transform3D by reference.
virtual const Trk::Surface & surface() const override final
Element Surface: access to the Surface (straw layer)
constexpr virtual SurfaceType type() const =0
Returns the Surface type to avoid dynamic casts.