|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONRIO_ONTRACK_MDTDRIFTCIRCLEONTRACK_H
5 #define MUONRIO_ONTRACK_MDTDRIFTCIRCLEONTRACK_H
16 #include "AthLinks/ElementLink.h"
26 class LocalParameters;
27 class ITrkEventCnvTool;
32 class MuonEventCnvTool;
33 class MdtDriftCircleOnTrackCreator;
194 virtual MsgStream&
dump( MsgStream&
stream)
const override final;
197 virtual std::ostream&
dump( std::ostream&
stream)
const override final;
292 throw std::runtime_error(
"No Mdt prd given to MdtDriftCircleOnTrack");
299 #endif // MUONRIOONTRACK_MUONDRIFTCIRCLEONTRACK_H
const ElementLinkToIDC_MDT_Container & prepRawDataLink() const
ElementType cachedElement() const
Return the cached element, if any.
@ 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.
virtual const MdtPrepData * prepRawData() const override final
Returns the PrepRawData used to create this corrected measurement.
const MuonGM::MdtReadoutElement * m_detEl
DriftCircleStatus
Enumerates the 'status' of the wire on which the tracks passed (based on the TRT_Side enum,...
virtual MsgStream & dump(MsgStream &stream) const override final
Dumps information about the PRD.
Cached pointer with atomic update.
MdtDriftCircleOnTrack & operator=(const MdtDriftCircleOnTrack &)
const MuonDriftCircleErrorStrategy & errorStrategy() const
Get information about the creation strategy used by Muon::MdtDriftCircleOnTrackCreator when making th...
virtual bool type(PrepRawDataType type) const =0
Interface method checking the type.
virtual const MuonGM::MdtReadoutElement * detectorElement() const override final
Returns the detector element, assoicated with the PRD of this class.
bool const RAWDATA *ch2 const
virtual ~MdtDriftCircleOnTrack()=default
Destructor:
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
ElementLinkToIDC_MDT_Container m_rio
the pointer to the MdtPrepData object (mutable because it might need to be recreated when reading tra...
bool isValid() const
Test to see if the link can be dereferenced.
virtual const Amg::Vector3D & globalPosition() const override final
Returns the global Position.
double driftTime() const
Returns the value of the drift time used to obtain the drift radius.
virtual bool type(MeasurementBaseType::Type type) const override final
Extended method checking the type.
@ UNDECIDED
sign of drift radius has not been determined
double get(ParamDefs par) const
Retrieve specified parameter (const version).
double m_localAngle
This angle is the position of the point of closest approach in cylindrical coordinates,...
Trk::DriftCircleSide side() const
Returns the side on which the drift radius is wrt to the track.
@ RIGHT
the drift radius is positive (see Trk::AtaStraightLine)
double m_positionAlongWire
This is the position of the point of closest approach, in the local z coord (i.e.
Cached unique_ptr with atomic update.
double localAngle() const
Returns the local angle, as determined by the extrapolation used when creating this Trk::RIO_OnTrack.
MdtDriftCircleOnTrack & operator=(MdtDriftCircleOnTrack &&)=default
virtual MdtDriftCircleOnTrack * clone() const override final
Pseudo-constructor, needed to avoid excessive RTTI.
double positionAlongWire() const
Returns the position along the wire, as determined by the extrapolation used when creating this Trk::...
double driftRadius() const
Returns the value of the drift radius.
Trk::DriftCircleStatus status() const
Returns the status of the drift radius calibration.
Trk::DriftCircleStatus m_status
information on the status of the Mdt measurement - see Trk::DriftCircleStatus for definitions
CxxUtils::CachedUniquePtr< Amg::Vector3D > m_globalPosition
global position of the measurement.
LocalParameters m_localParams
bool setElement(ElementType element)
Set to point to an element.
virtual void setValues(const Trk::TrkDetElementBase *, const Trk::PrepRawData *) override final
Sets the DetElement and Trk::PrepRawData pointers after reading from disk.
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
This class represents the corrected MDT measurements, where the corrections include the effects of wi...
virtual void setLocalParameters(const Trk::LocalParameters &locPos)
Sets the local parameters.
virtual IdentifierHash idDE() const override final
Returns an invalid hash.
Class to represent measurements from the Monitored Drift Tubes.
Eigen::Matrix< double, 3, 1 > Vector3D
virtual bool rioType(Trk::RIO_OnTrackType::Type type) const override final
Method checking the Rio On Track type.
void setErrorStrategy(const MuonDriftCircleErrorStrategy &strategy)
void setGlobalPosition(Amg::Vector3D &&loc3Dframe) const
Uses the passed loc3Dframe to calculate and set the global coord of this hit.
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
DriftCircleSide
Enumerates the 'side' of the wire on which the tracks passed (i.e.
virtual IdentifierHash collectionHash() const
Returns the IdentifierHash corresponding to the Mdt tube which was hit.
virtual const Trk::StraightLineSurface & associatedSurface() const override final
Returns the surface on which this measurement was taken.
Identifier identify() const
return the identifier -extends MeasurementBase
virtual const Trk::Surface & surface() const override final
Return surface associated with this detector element.
Interface for the reconstruction to MDT calibration and alignment corrections.
@ LEFT
the drift radius is negative (see Trk::AtaStraightLine)
IdentifierHash collectionHash() const
Returns the hashID of the PRD collection.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
double m_driftTime
This is the drift time used to obtain the drift radius.
MdtDriftCircleOnTrack()=default
Default ctor - for use by POOL only.
virtual const MuonGM::MdtReadoutElement * detectorElement() const override
Returns the detector element corresponding to this PRD.
MdtDriftCircleOnTrack(MdtDriftCircleOnTrack &&)=default
MuonDriftCircleErrorStrategy m_errorStrategy
Records information about the 'strategy' used by Muon::MdtDriftCircleOnTrackCreator to make this obje...