13#ifndef MUONCALIBEVENT_MDTCALIBHIT_H
14#define MUONCALIBEVENT_MDTCALIBHIT_H
145 std::ostream &
dump(std::ostream &stream)
const;
146 MsgStream &
dump(MsgStream &sl)
const;
std::ostream & operator<<(std::ostream &stream, const MdtCalibHit &hit)
An MdtCalibHit is an object containing all the intermediate information needed in the conversion of r...
const Amg::Vector3D & localPosition() const
retrieve the position in the station coordinates
double timeResidual() const
retrieve difference between drifttime and timeFromTrackDistance
const Identifier & identify() const
retrieve Identifier
int tdcCount() const
retrieve TDC counts
void setDriftTime(double t)
sets drift time
void setAdc(int adc)
sets the ADC counts
void setLocalPointOfClosestApproach(const Amg::Vector3D &point)
sets point of closest approach in local coordinates
float xtwin() const
retrieve twin position
float TemperatureTime() const
MuonCalib::MdtCalibHitBase * hitBase(const MuonCalib::IIdToFixedIdTool &) const
return a pointer to the MdtCalibHit object to be used in the calibration framework
float bFieldPerp() const
retrieve the Bfield perpendicular to the tube
double driftRadius() const
retrieve drift radius
Amg::Vector3D m_localPosition
position of the hit expressed in local (station) coordinates
double sigmaDistanceToTrack() const
retrieve the error on the distance of the track to the wire
float temperature() const
retrieve the temperature
float m_temperatureTime
extra time due to temperature
const Amg::Vector3D & globalPointOfClosestApproach() const
retrieve the point of closest approach in global coordinates
void setTubeAdcCal(float adccal)
sets the tube mean ADC
Amg::Vector3D m_globalPointOfClosestApproach
point of closest approach of track to wire in global coordinates
float m_timeFromTrackDistance
for calibration or trackfit in time-domain
void setDistanceToReadout(double dist)
sets the distance to read out
double signedDistanceToTrack() const
retrieve the distance of the track to the wire
void setLocalPos(const Amg::Vector3D &localPos)
sets the position in the station coordinates
void setGeometry(const MuonGM::MdtReadoutElement *geo)
sets the MdtReadoutElement
void setIdentifier(const Identifier &id)
sets Identifier
double distanceToReadout() const
retrieve the distance to readout
double timeOfFlight() const
retrieve the timing correction due to time of flight of the muon
double driftTime() const
retrieve drift time
void setLorentzTime(double lor)
sets the time correction due to the magnetic field
double sigma2TimeFromTrackDistance() const
retrieve the error squared of the time corresponding to distance to track
float sigmaXtwin() const
retrieve twin position error
static const float kNoValue
constant to set values to invalid
float m_propagationTime
along the wire
float tubeAdcCal() const
retrieve the tube mean ADC
double radialResidual() const
retrieve difference between driftcircle and distance to track (unsigned)
MdtCalibHit()
default constructor
void setTemperature(float temp)
sets the temperature
void setSlewingTime(double slew)
sets the time correction due to slewing
double sigma2DistanceToTrack() const
retrieve the error squared on the distance of the track to the wire
float m_bFieldPara
local bfield parallel to the wire
float m_lorentzTime
extra time due to magnetic field
float m_tube_t0
the t0 of the tube
int adcCount() const
retrieve the ADC counts
float m_wiresagTime
extra time due to wiresag
float bFieldPara() const
retrieve the Bfield parallel to the tube
float m_sigma2DriftRadius
drift radius variance
Amg::Vector3D m_globalPosition
position of the hit expressed in ATLAS global coordinates
void setPrepData(const Muon::MdtPrepData *dig)
sets mdtPrepData
float sigma2Xtwin() const
retrieve twin position variance
float m_bFieldPerp
local bfield perpendicular to the wire
void setProjSag(float sag)
sets the projected wire sag
void setGlobalPos(const Amg::Vector3D &globalPos)
sets the position in ATLAS coordinates
float tubeT0() const
retrieve the tube T0
float WiresagTime() const
retrieve the timing correction due to wiresag
float m_backgroundTime
extra time due to background
void setDriftRadius(double r, double sigmaR)
sets drift radius and drift radius error
void setBFieldPara(float bfpara)
sets the B field parallel to the tube
double trackResidual() const
retrieve difference between driftcircle and distance to track (signed)
Amg::Vector3D m_localPointOfClosestApproach
point of closest approach of track to wire in local coordinates
float m_timeOfFlight
time of flight of the muon (CLHEP::ns)
void setDistanceToTrack(double dist, double sigmaDist)
sets the distance to the fitted track and its error
float m_tube_adccal
mean ADC of the tube (calibration)
void setTubeT0(float t0)
sets the tube t0
void setTdc(int tdc)
sets TDC counts
const MuonGM::MdtReadoutElement * geometry() const
retrieve the MdtReadoutElement
float m_projSag
projective sag
double timeFromTrackDistance() const
retrieve the time corresponding to the distance to track
double sigmaTimeFromTrackDistance() const
retrieve the error of the time corresponding to the distance to track
float m_driftTime
drift time after all corrections
void setLocXtwin(float xtwin)
sets twin local position
float m_distanceToReadout
from hit to read-out side of tube
float m_signedDistanceToTrack
signed distance from track to wire
void setTimeFromTrackDistance(double t, double sigmaT)
sets the time of the distance to the fitted track (and its error)
void setSigma2LocXtwin(float xtwin)
sets twin local position variance
double slewingTime() const
retrieve the timing correction due to slewing
float m_sigma2TimeFromTrackDistance
(square of) sigma on m_timeFromTrackDistance
void setGlobalPointOfClosestApproach(const Amg::Vector3D &point)
sets point of closest approach in global coordinates
float m_xtwin
the twin position
float m_sigma2XTwin
the twin position variance
void setBFieldPerp(float bfperp)
sets the B field perpendicular to the tube
void setBackgroundTime(float bkgr)
sets the time correction due to background signal
void setPropagationTime(double prop)
sets the time correction due to the propagation of the signal over the wire
const Amg::Vector3D & localPointOfClosestApproach() const
retrieve the point of closest approach in local coordinates
const Amg::Vector3D & globalPosition() const
retrieve the position in ATLAS coordinates
float m_sigma2DistanceToTrack
square of sigma on m_signedDistanceToTrack
float projSag() const
retrieve the projected sag
double sigmaDriftRadius() const
retrieve the error on the radius of the drift circle
const MuonGM::MdtReadoutElement * m_geometry
MdtReadoutElement.
float BackgroundTime() const
double lorentzTime() const
retrieve the timing correction due to the magnetic field (lorentz angle)
float m_driftRadius
drift radius
Identifier m_id
(ATLAS) Identifier
float m_slewingTime
extra time due to slewing (electronics)
double propagationTime() const
retrieve the timing correction due to the propagation of the signal
void setTimeOfFlight(double tof)
sets the time correction due to the muon time of flight
void setWiresagTime(float wsag)
sets the time correction due to wire sag
float m_temperature
local temperature
void setTemperatureTime(float temp)
double sigma2DriftRadius() const
retrieve the error squared on the radius of the drift circle
Athena-independent part of the MdtCalibHit.
Class to represent measurements from the Monitored Drift Tubes.
int adc() const
Returns the ADC (typically range is 0 to 250)
int tdc() const
Returns the TDC (typically range is 0 to 2500).
Identifier identify() const
return the identifier
Eigen::Matrix< double, 3, 1 > Vector3D
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Ensure that the Athena extensions are properly loaded.