|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKRIO_ONTRACK_RIO_ONTRACK_H
10 #define TRKRIO_ONTRACK_RIO_ONTRACK_H
20 #include "Identifier/Identifier.h"
35 class TrkDetElementBase;
36 class ITrkEventCnvTool;
55 namespace RIO_OnTrackType{
98 return std::unique_ptr<RIO_OnTrack>(
clone());
119 virtual MsgStream&
dump( MsgStream&
out )
const override;
122 virtual std::ostream&
dump( std::ostream&
out )
const override;
140 friend class ::RIO_OnTrackCnv_p1;
141 friend class ::RIO_OnTrackCnv_p2;
156 #endif // TRKRIO_ONTRACK_RIO_ONTRACK_H
std::unique_ptr< RIO_OnTrack > uniqueClone() const
NVI clone returning unique_ptr.
RIO_OnTrack & operator=(RIO_OnTrack &&rot)=default
virtual MsgStream & dump(MsgStream &out) const override
returns the some information about this RIO_OnTrack.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
virtual void setValues(const Trk::TrkDetElementBase *detEl, const Trk::PrepRawData *prd)=0
ONLY for use in custom convertor Allows the custom convertor to reset values when persistying/reading...
virtual RIO_OnTrack * clone() const override=0
Pseudo-constructor, needed to avoid excessive RTTI.
virtual const Amg::Vector3D & globalPosition() const override=0
Interface method to get the global Position.
RIO_OnTrack(const RIO_OnTrack &rot)=default
Copy Constructor.
virtual bool rioType(RIO_OnTrackType::Type type) const =0
Method checking the Rio On Track type.
Helper to enable counting number of instantiations in debug builds.
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
RIO_OnTrack(RIO_OnTrack &&rot)=default
RIO_OnTrack()=default
Default Constructor for POOL.
virtual ~RIO_OnTrack()=default
Destructor.
RIO_OnTrack & operator=(const RIO_OnTrack &rot)=default
Assignment operator.
Ensure that the ATLAS eigen extensions are properly loaded.
virtual IdentifierHash idDE() const =0
returns the DE hashID
Eigen::Matrix< double, 3, 1 > Vector3D
virtual const Trk::PrepRawData * prepRawData() const =0
returns the PrepRawData (also known as RIO) object to which this RIO_OnTrack is associated.
Identifier m_identifier
Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData)
Identifier identify() const
return the identifier -extends MeasurementBase
virtual const Surface & associatedSurface() const override=0
returns the surface for the local to global transformation
virtual const TrkDetElementBase * detectorElement() const =0
returns the detector element, assoicated with the PRD of this class
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...