ATLAS Offline Software
|
#include <RIO_OnTrack.h>
Public Member Functions | |
RIO_OnTrack (LocalParameters &&locpars, Amg::MatrixX &&loccov, const Identifier &id) | |
Constructor with parameters and without externalPrediction. More... | |
RIO_OnTrack ()=default | |
Default Constructor for POOL. More... | |
RIO_OnTrack (const RIO_OnTrack &rot)=default | |
Copy Constructor. More... | |
RIO_OnTrack (RIO_OnTrack &&rot)=default | |
RIO_OnTrack & | operator= (const RIO_OnTrack &rot)=default |
Assignment operator. More... | |
RIO_OnTrack & | operator= (RIO_OnTrack &&rot)=default |
virtual | ~RIO_OnTrack ()=default |
Destructor. More... | |
virtual RIO_OnTrack * | clone () const override=0 |
Pseudo-constructor, needed to avoid excessive RTTI. More... | |
std::unique_ptr< RIO_OnTrack > | uniqueClone () const |
NVI clone returning unique_ptr. More... | |
virtual const Surface & | associatedSurface () const override=0 |
returns the surface for the local to global transformation More... | |
virtual const Amg::Vector3D & | globalPosition () const override=0 |
Interface method to get the global Position. More... | |
virtual bool | type (MeasurementBaseType::Type type) const override final |
Extended method checking the type. More... | |
virtual bool | rioType (RIO_OnTrackType::Type type) const =0 |
Method checking the Rio On Track type. More... | |
virtual MsgStream & | dump (MsgStream &out) const override |
returns the some information about this RIO_OnTrack. More... | |
virtual std::ostream & | dump (std::ostream &out) const override |
returns the some information about this RIO_OnTrack. More... | |
virtual const Trk::PrepRawData * | prepRawData () const =0 |
returns the PrepRawData (also known as RIO) object to which this RIO_OnTrack is associated. More... | |
virtual IdentifierHash | idDE () const =0 |
returns the DE hashID More... | |
virtual const TrkDetElementBase * | detectorElement () const =0 |
returns the detector element, assoicated with the PRD of this class 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... | |
Static Public Member Functions | |
static std::size_t | numberOfInstantiations () |
Static Public Attributes | |
static std::atomic_size_t | s_numberOfInstantiations |
Protected Member Functions | |
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 back RoTs. More... | |
Protected Attributes | |
Identifier | m_identifier {} |
Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData) More... | |
LocalParameters | m_localParams |
Amg::MatrixX | m_localCovariance |
Friends | |
class | ITrkEventCnvTool |
class | ::RIO_OnTrackCnv_p1 |
class | ::RIO_OnTrackCnv_p2 |
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
The Track holds a vector of TrackStateOnSurface that carry the MeasurmentBase class pointers.
Need a multimap{RIO, ROT} to go from RIO to ROT and a map{ROT, Track} to go from ROT to Track
Definition at line 67 of file RIO_OnTrack.h.
Trk::RIO_OnTrack::RIO_OnTrack | ( | Trk::LocalParameters && | locpars, |
Amg::MatrixX && | loccov, | ||
const Identifier & | id | ||
) |
Constructor with parameters and without externalPrediction.
Definition at line 22 of file RIO_OnTrack.cxx.
|
default |
Copy Constructor.
|
default |
|
virtualdefault |
Destructor.
returns the surface for the local to global transformation
Implements Trk::MeasurementBase.
Implemented in Muon::MdtDriftCircleOnTrack, InDet::PixelClusterOnTrack, Muon::CscClusterOnTrack, InDet::TRT_DriftCircleOnTrack, InDet::SCT_ClusterOnTrack, Muon::RpcClusterOnTrack, HGTD_ClusterOnTrack, Muon::sTgcClusterOnTrack, Muon::TgcClusterOnTrack, and Muon::MMClusterOnTrack.
|
overridepure virtual |
Pseudo-constructor, needed to avoid excessive RTTI.
Implements Trk::MeasurementBase.
Implemented in Muon::MuonClusterOnTrack, Muon::MdtDriftCircleOnTrack, InDet::PixelClusterOnTrack, Muon::CscClusterOnTrack, InDet::SCT_ClusterOnTrack, InDet::TRT_DriftCircleOnTrack, HGTD_ClusterOnTrack, Muon::RpcClusterOnTrack, Muon::sTgcClusterOnTrack, Muon::TgcClusterOnTrack, and Muon::MMClusterOnTrack.
|
pure virtual |
returns the detector element, assoicated with the PRD of this class
Implemented in Muon::MuonClusterOnTrack, Muon::MdtDriftCircleOnTrack, InDet::PixelClusterOnTrack, InDet::TRT_DriftCircleOnTrack, InDet::SCT_ClusterOnTrack, Muon::CscClusterOnTrack, HGTD_ClusterOnTrack, Muon::RpcClusterOnTrack, Muon::sTgcClusterOnTrack, Muon::TgcClusterOnTrack, and Muon::MMClusterOnTrack.
|
overridevirtual |
returns the some information about this RIO_OnTrack.
Implements Trk::MeasurementBase.
Reimplemented in Muon::MdtDriftCircleOnTrack, Muon::CscClusterOnTrack, Muon::RpcClusterOnTrack, Muon::sTgcClusterOnTrack, Muon::MuonClusterOnTrack, Muon::TgcClusterOnTrack, Muon::MMClusterOnTrack, InDet::TRT_DriftCircleOnTrack, InDet::PixelClusterOnTrack, InDet::SCT_ClusterOnTrack, HGTD_ClusterOnTrack, and InDet::SiClusterOnTrack.
Definition at line 32 of file RIO_OnTrack.cxx.
|
overridevirtual |
returns the some information about this RIO_OnTrack.
Implements Trk::MeasurementBase.
Reimplemented in Muon::MdtDriftCircleOnTrack, Muon::CscClusterOnTrack, Muon::RpcClusterOnTrack, Muon::sTgcClusterOnTrack, Muon::MuonClusterOnTrack, Muon::TgcClusterOnTrack, Muon::MMClusterOnTrack, InDet::PixelClusterOnTrack, InDet::TRT_DriftCircleOnTrack, InDet::SCT_ClusterOnTrack, HGTD_ClusterOnTrack, and InDet::SiClusterOnTrack.
Definition at line 50 of file RIO_OnTrack.cxx.
|
overridepure virtual |
Interface method to get the global Position.
Implements Trk::MeasurementBase.
Implemented in Muon::MdtDriftCircleOnTrack, HGTD_ClusterOnTrack, InDet::TRT_DriftCircleOnTrack, InDet::SiClusterOnTrack, and Muon::MuonClusterOnTrack.
|
pure virtual |
returns the DE hashID
Implemented in Muon::MdtDriftCircleOnTrack, InDet::TRT_DriftCircleOnTrack, HGTD_ClusterOnTrack, InDet::SiClusterOnTrack, and Muon::MuonClusterOnTrack.
|
inline |
|
inlineinherited |
Interface method to get the localError.
Definition at line 138 of file MeasurementBase.h.
|
inlineinherited |
Interface method to get the LocalParameters.
Definition at line 132 of file MeasurementBase.h.
|
inlinestaticinherited |
Definition at line 25 of file TrkObjectCounter.h.
|
default |
Assignment operator.
|
default |
|
pure virtual |
returns the PrepRawData (also known as RIO) object to which this RIO_OnTrack is associated.
Can be null (in case where the Trk::PrepRawData is not persistified). Use Detector Element if possible (this is always there).
Implemented in Muon::MuonClusterOnTrack, Muon::MdtDriftCircleOnTrack, InDet::PixelClusterOnTrack, InDet::TRT_DriftCircleOnTrack, InDet::SCT_ClusterOnTrack, HGTD_ClusterOnTrack, Muon::CscClusterOnTrack, Muon::RpcClusterOnTrack, Muon::sTgcClusterOnTrack, Muon::TgcClusterOnTrack, and Muon::MMClusterOnTrack.
|
pure virtual |
Method checking the Rio On Track type.
Implemented in InDet::SiClusterOnTrack, Muon::MdtDriftCircleOnTrack, InDet::PixelClusterOnTrack, InDet::TRT_DriftCircleOnTrack, InDet::SCT_ClusterOnTrack, HGTD_ClusterOnTrack, and Muon::MuonClusterOnTrack.
|
protectedpure virtual |
ONLY for use in custom convertor Allows the custom convertor to reset values when persistying/reading back RoTs.
Implemented in InDet::SiClusterOnTrack, InDet::PixelClusterOnTrack, InDet::TRT_DriftCircleOnTrack, InDet::SCT_ClusterOnTrack, HGTD_ClusterOnTrack, Muon::MuonClusterOnTrack, Muon::MdtDriftCircleOnTrack, Muon::CscClusterOnTrack, Muon::RpcClusterOnTrack, Muon::sTgcClusterOnTrack, Muon::TgcClusterOnTrack, and Muon::MMClusterOnTrack.
|
inlinefinaloverridevirtual |
Extended method checking the type.
Implements Trk::MeasurementBase.
Definition at line 110 of file RIO_OnTrack.h.
|
inline |
NVI clone returning unique_ptr.
Definition at line 97 of file RIO_OnTrack.h.
|
friend |
Definition at line 140 of file RIO_OnTrack.h.
|
friend |
Definition at line 141 of file RIO_OnTrack.h.
|
friend |
Definition at line 72 of file RIO_OnTrack.h.
|
protected |
Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData)
Definition at line 149 of file RIO_OnTrack.h.
|
protectedinherited |
Definition at line 112 of file MeasurementBase.h.
|
protectedinherited |
Definition at line 111 of file MeasurementBase.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.