9#ifndef MUONCALIB_MDTCALIBHITBASE_H
10#define MUONCALIB_MDTCALIBHITBASE_H
87 void setTdc(
unsigned short tdc);
88 void setAdc(
unsigned short adc);
157 std::ostream &
dump(std::ostream &stream)
const;
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MdtCalibHitBase &hit)
Athena-independent part of the MdtCalibHit.
float driftRadius() const
retrieve the radius of the drift circle
void setLocXtwin(float xtwin)
sets the local twin position
unsigned short adcCount() const
retrieve the adc counts
void setDriftRadius(float r, float sigmaR)
sets drift radius and drift radius error
float sigma2DistanceToTrack() const
retrieve the error squared on the distance of the track to the wire
float propagationTime() const
retrieve the timing correction due to the propagation of the signal
float tubeAdcCal() const
retrieve the tube mean ADC
const Amg::Vector3D & globalPointOfClosestApproach() const
retrieve the point of closest approach in global coordinates
float sigmaDistanceToTrack() const
retrieve the error on the distance of the track to the wire
float WiresagTime() const
retrieve the timing correction due to wiresag
float trackResidual() const
retrieve difference between driftcircle and distance to track (signed)
void setBFieldTime(float lor)
sets the time correction due to the magnetic field
float timeFromTrackDistance() const
retrieve the time corresponding to the distance to track
float distanceToReadout() const
retrieve the distance to readout
void setLocalPos(const Amg::Vector3D &localPos)
sets the position in the station coordinates
float xtwin() const
retrieve the local twin position
unsigned short tdcCount() const
retrieve the tdc counts
void setGlobalPointOfClosestApproach(const Amg::Vector3D &point)
sets point of closest approach in global coordinates
float bFieldPara() const
retrieve the Bfield parallel to the tube
float driftTime() const
retrieve the drift time
float BackgroundTime() const
float tubeRadius() const
retrieve the inner radius of the drift tube
float timeOfFlight() const
retrieve the timing correction due to time of flight of the muon
float sigma2DriftRadius() const
retrieve the error squared on the radius of the drift circle
void setTemperature(float temp)
sets the temperature
void setTemperatureTime(float temp)
sets the time correction due to temperature effects
float sigmaDriftRadius() const
retrieve the error on the radius of the drift circle
float bFieldTime() const
retrieve the timing correction due to the magnetic field (lorentz angle)
const Amg::Vector3D & localPointOfClosestApproach() const
retrieve the point of closest approach in local coordinates
float timeResidual() const
retrieve difference between drifttime and timeFromTrackDistance
const MuonFixedId & identify() const
retrieve the MuonFixedId of the hit
void setSegmentT0Applied(bool flag)
sets flag if Segment T0 has been applied to hit
bool segmentT0Applied() const
retrieve the segment T0 applied flag
void setDistanceToTrack(float dist, float sigmaDist)
sets the distance to the fitted track and its error
void setTimeOfFlight(float tof)
sets the time correction due to the muon time of flight
const Amg::Vector3D & localPosition() const
retrieve the position expressed in local (station) coordinates
static constexpr float kNoValue
const Amg::Vector3D & globalPosition() const
retrieve the position given in global coordinates
float slewingTime() const
retrieve the timing correction due to slewing
float projSag() const
retrieve the projected sag
void setDriftTime(float t)
sets drift time
void setSigmaLocXtwin(float xtwin)
sets the local twin position error
float TemperatureTime() const
retrieve the timing correction due to temperature
void setIdentifier(const MuonFixedId &id)
sets the MuonFixedIdentifier of the hit
void setTubeRadius(float r)
sets tube inner radius
void setWiresagTime(float wsag)
sets the time correction due to wire sag
MdtCalibHitBase & operator=(const MdtCalibHitBase &rhs)=default
assignment operator
void setPropagationTime(float prop)
sets the time correction due to the propagation of the signal over the wire
void setBFieldPara(float bfpara)
sets the B field parallel to the tube
float radialResidual() const
retrieve difference between driftcircle and distance to track (unsigned)
void setBFieldPerp(float bfperp)
sets the B field perpendicular to the tube
float sigmaXtwin() const
retrieve the local twin position error
void setDistanceToReadout(float dist)
sets the distance to read out
float sigmaTimeFromTrackDistance() const
retrieve the error of the time corresponding to the distance to track
void setAdc(unsigned short adc)
sets the adc counts
void setGlobalPos(const Amg::Vector3D &globalPos)
sets the position in ATLAS coordinates
void setTubeT0(float t0)
sets the tube t0
void setProjSag(float sag)
sets the projected wire sag
float temperature() const
retrieve the temperature
void setTdc(unsigned short tdc)
sets the tdc counts
void setBackgroundTime(float bkgr)
sets the time correction due to background signal
~MdtCalibHitBase()=default
destructor
void setTimeFromTrackDistance(float t, float sigmaT)
sets the time of the distance to the fitted track (and its error)
float bFieldPerp() const
retrieve the Bfield perpendicular to the tube
MdtCalibHitBase(const MdtCalibHitBase &event)=default
Copy constructor.
void setLocalPointOfClosestApproach(const Amg::Vector3D &point)
sets point of closest approach in local coordinates
float sigma2TimeFromTrackDistance() const
retrieve the error squared of the time corresponding to distance to track
void setTubeAdcCal(float adccal)
sets the tube mean ADC
void setSlewingTime(float slew)
sets the time correction due to slewing
float tubeT0() const
retrieve the tube T0
float signedDistanceToTrack() const
retrieve the distance of the track to the wire
MdtCalibHitBase()=default
default constructor
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Eigen::Matrix< double, 3, 1 > Vector3D
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Amg::Vector3D localPosition
position of the hit in local (station) coordinates
float bFieldPerp
local bfield perpendicular to the wire
float driftTime
drift time after all corrections
float signedDistanceToTrack
signed distance from track to wire
float projSag
projective sag
float slewingTime
time correction due to slewing (electronics)
float tube_t0
tube t0 time offset
float bFieldPara
local bfield parallel to the wire
Amg::Vector3D globalPointOfClosestApproach
point of closest approach of track to wire in global coordinates
float timeOfFlight
time correction due to the time of flight in ns
float sigma2DriftRadius
error squared on the drift radius
float tube_adccal
tube mean ADC (calibration)
float sigma2DistanceToTrack
square of sigma on signedDistanceToTrack
float wiresagTime
extra time due to wiresag
float propagationTime
time correction due to signal propagation along the wire
float temperatureTime
extra time due to temperature
Amg::Vector3D localPointOfClosestApproach
point of closest approach of track to wire in local coordinates
float sigmaXTwin
twin position error
float temperature
local temperature
float distanceToReadout
from hit to read-out side of tube
float tubeRadius
inner tube radius
bool segmentT0Applied
true if segment t0 is substr.
float timeFromTrackDistance
time calculated from 'distance to track', for calibration or trackfit in time-domain
float backgroundTime
extra time due to background
float bFieldTime
time correction due to magnetic field
float sigma2TimeFromTrackDistance
(square of) sigma on timeFromTrackDistance
float driftRadius
drift radius
Amg::Vector3D globalPosition
position of the hit in global coordinates