|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef MUONCALIBEVENT_MDTCALIBHIT_H
14 #define MUONCALIBEVENT_MDTCALIBHIT_H
27 class MdtReadoutElement;
31 class MdtCalibHitBase;
32 class IIdToFixedIdTool;
145 std::ostream &
dump(std::ostream &
stream)
const;
146 MsgStream &
dump(MsgStream &sl)
const;
187 m_globalPosition(kNoValue, kNoValue, kNoValue),
188 m_localPosition(kNoValue, kNoValue, kNoValue),
189 m_driftTime(kNoValue),
190 m_driftRadius(kNoValue),
191 m_sigma2DriftRadius(1.0),
192 m_timeFromTrackDistance(kNoValue),
193 m_sigma2TimeFromTrackDistance(kNoValue),
196 m_propagationTime(0.0),
198 m_distanceToReadout(kNoValue),
199 m_signedDistanceToTrack(kNoValue),
200 m_sigma2DistanceToTrack(kNoValue),
202 m_temperatureTime(0),
204 m_bFieldPerp(kNoValue),
205 m_bFieldPara(kNoValue),
206 m_temperature(kNoValue),
211 m_sigma2XTwin(kNoValue) {}
218 m_globalPosition(globalPos),
219 m_localPosition(kNoValue, kNoValue, kNoValue),
220 m_driftTime(kNoValue),
221 m_driftRadius(kNoValue),
222 m_sigma2DriftRadius(1.0),
223 m_timeFromTrackDistance(kNoValue),
224 m_sigma2TimeFromTrackDistance(kNoValue),
227 m_propagationTime(0.0),
229 m_distanceToReadout(kNoValue),
230 m_signedDistanceToTrack(kNoValue),
231 m_sigma2DistanceToTrack(kNoValue),
233 m_temperatureTime(0),
235 m_bFieldPerp(kNoValue),
236 m_bFieldPara(kNoValue),
237 m_temperature(kNoValue),
242 m_sigma2XTwin(kNoValue) {}
250 m_globalPosition(globalPos),
251 m_localPosition(localPos),
252 m_driftTime(kNoValue),
253 m_driftRadius(kNoValue),
254 m_sigma2DriftRadius(1.0),
255 m_timeFromTrackDistance(kNoValue),
256 m_sigma2TimeFromTrackDistance(kNoValue),
259 m_propagationTime(0.0),
261 m_distanceToReadout(kNoValue),
262 m_signedDistanceToTrack(kNoValue),
263 m_sigma2DistanceToTrack(kNoValue),
265 m_temperatureTime(0),
267 m_bFieldPerp(kNoValue),
268 m_bFieldPara(kNoValue),
269 m_temperature(kNoValue),
274 m_sigma2XTwin(kNoValue) {}
282 m_globalPosition(globalPos),
283 m_localPosition(kNoValue, kNoValue, kNoValue),
284 m_driftTime(kNoValue),
285 m_driftRadius(kNoValue),
286 m_sigma2DriftRadius(1.0),
287 m_timeFromTrackDistance(kNoValue),
288 m_sigma2TimeFromTrackDistance(kNoValue),
291 m_propagationTime(0.0),
293 m_distanceToReadout(kNoValue),
294 m_signedDistanceToTrack(kNoValue),
295 m_sigma2DistanceToTrack(kNoValue),
297 m_temperatureTime(0),
299 m_bFieldPerp(kNoValue),
300 m_bFieldPara(kNoValue),
301 m_temperature(kNoValue),
306 m_sigma2XTwin(kNoValue) {}
314 m_globalPosition(globalPos),
315 m_localPosition(localPos),
316 m_driftTime(kNoValue),
317 m_driftRadius(kNoValue),
318 m_sigma2DriftRadius(1.0),
319 m_timeFromTrackDistance(kNoValue),
320 m_sigma2TimeFromTrackDistance(kNoValue),
323 m_propagationTime(0.0),
325 m_distanceToReadout(kNoValue),
326 m_signedDistanceToTrack(kNoValue),
327 m_sigma2DistanceToTrack(kNoValue),
329 m_temperatureTime(0),
331 m_bFieldPerp(kNoValue),
332 m_bFieldPara(kNoValue),
333 m_temperature(kNoValue),
338 m_sigma2XTwin(kNoValue) {}
481 #endif // MUONCALIBEVENT_MDTCALIBHIT_H
float temperature() const
retrieve the temperature
const MuonGM::MdtReadoutElement * geometry() const
retrieve the MdtReadoutElement
const Identifier & identify() const
retrieve Identifier
void setLocalPos(const Amg::Vector3D &localPos)
sets the position in the station coordinates
float m_timeOfFlight
time of flight of the muon (CLHEP::ns)
void setAdc(int adc)
sets the ADC counts
Identifier m_id
(ATLAS) Identifier
static const float kNoValue
constant to set values to invalid
void setBackgroundTime(float bkgr)
sets the time correction due to background signal
Ensure that the Athena extensions are properly loaded.
const Amg::Vector3D & globalPointOfClosestApproach() const
retrieve the point of closest approach in global coordinates
double distanceToReadout() const
retrieve the distance to readout
void setTubeAdcCal(float adccal)
sets the tube mean ADC
float sigma2Xtwin() const
retrieve twin position variance
void setBFieldPerp(float bfperp)
sets the B field perpendicular to the tube
double timeOfFlight() const
retrieve the timing correction due to time of flight of the muon
float projSag() const
retrieve the projected sag
int adcCount() const
retrieve the ADC counts
float m_tube_adccal
mean ADC of the tube (calibration)
double radialResidual() const
retrieve difference between driftcircle and distance to track (unsigned)
double sigma2TimeFromTrackDistance() const
retrieve the error squared of the time corresponding to distance to track
float m_temperature
local temperature
float m_bFieldPara
local bfield parallel to the wire
Amg::Vector3D m_localPointOfClosestApproach
point of closest approach of track to wire in local coordinates
float m_sigma2XTwin
the twin position variance
float tubeT0() const
retrieve the tube T0
float bFieldPerp() const
retrieve the Bfield perpendicular to the tube
double sigma2DistanceToTrack() const
retrieve the error squared on the distance of the track to the wire
void setTdc(int tdc)
sets TDC counts
std::vector< ALFA_RawData_p1 > t0
void setLocXtwin(float xtwin)
sets twin local position
void setSlewingTime(double slew)
sets the time correction due to slewing
float m_driftRadius
drift radius
void setTemperatureTime(float temp)
float m_slewingTime
extra time due to slewing (electronics)
Identifier identify(const UncalibratedMeasurement *meas)
Returns the associated identifier.
Amg::Vector3D m_globalPosition
position of the hit expressed in ATLAS global coordinates
float tubeAdcCal() const
retrieve the tube mean ADC
double trackResidual() const
retrieve difference between driftcircle and distance to track (signed)
float m_projSag
projective sag
Amg::Vector3D m_globalPointOfClosestApproach
point of closest approach of track to wire in global coordinates
int adc() const
Returns the ADC (typically range is 0 to 250)
float m_propagationTime
along the wire
void setDistanceToReadout(double dist)
sets the distance to read out
MuonCalib::MdtCalibHitBase * hitBase(const MuonCalib::IIdToFixedIdTool &) const
return a pointer to the MdtCalibHit object to be used in the calibration framework
void setGlobalPointOfClosestApproach(const Amg::Vector3D &point)
sets point of closest approach in global coordinates
void setTubeT0(float t0)
sets the tube t0
float TemperatureTime() const
double sigmaDistanceToTrack() const
retrieve the error on the distance of the track to the wire
float m_xtwin
the twin position
float m_sigma2DistanceToTrack
square of sigma on m_signedDistanceToTrack
const Amg::Vector3D & localPosition() const
retrieve the position in the station coordinates
const Amg::Vector3D & globalPosition() const
retrieve the position in ATLAS coordinates
double propagationTime() const
retrieve the timing correction due to the propagation of the signal
float m_sigma2DriftRadius
drift radius variance
double signedDistanceToTrack() const
retrieve the distance of the track to the wire
float m_sigma2TimeFromTrackDistance
(square of) sigma on m_timeFromTrackDistance
void setDriftTime(double t)
sets drift time
double driftRadius() const
retrieve drift radius
const MuonGM::MdtReadoutElement * m_geometry
MdtReadoutElement.
void setDriftRadius(double r, double sigmaR)
sets drift radius and drift radius error
float xtwin() const
retrieve twin position
float m_tube_t0
the t0 of the tube
float m_bFieldPerp
local bfield perpendicular to the wire
void setLorentzTime(double lor)
sets the time correction due to the magnetic field
void setProjSag(float sag)
sets the projected wire 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
void setIdentifier(const Identifier &id)
sets Identifier
float m_distanceToReadout
from hit to read-out side of tube
float BackgroundTime() const
double sigmaDriftRadius() const
retrieve the error on the radius of the drift circle
Amg::Vector3D m_localPosition
position of the hit expressed in local (station) coordinates
float WiresagTime() const
retrieve the timing correction due to wiresag
void setGeometry(const MuonGM::MdtReadoutElement *geo)
sets the MdtReadoutElement
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
std::ostream & operator<<(std::ostream &stream, const MdtCalibHit &hit)
double sigma2DriftRadius() const
retrieve the error squared on the radius of the drift circle
float sigmaXtwin() const
retrieve twin position error
double timeResidual() const
retrieve difference between drifttime and timeFromTrackDistance
Identifier identify() const
return the identifier
double slewingTime() const
retrieve the timing correction due to slewing
const Amg::Vector3D & localPointOfClosestApproach() const
retrieve the point of closest approach in local coordinates
void setSigma2LocXtwin(float xtwin)
sets twin local position variance
void setDistanceToTrack(double dist, double sigmaDist)
sets the distance to the fitted track and its error
int tdc() const
Returns the TDC (typically range is 0 to 2500).
double lorentzTime() const
retrieve the timing correction due to the magnetic field (lorentz angle)
std::ostream & dump(std::ostream &stream) const
ostream operator
Class to represent measurements from the Monitored Drift Tubes.
Eigen::Matrix< double, 3, 1 > Vector3D
void setPropagationTime(double prop)
sets the time correction due to the propagation of the signal over the wire
float bFieldPara() const
retrieve the Bfield parallel to the tube
float m_backgroundTime
extra time due to background
void setTimeFromTrackDistance(double t, double sigmaT)
sets the time of the distance to the fitted track (and its error)
void setTemperature(float temp)
sets the temperature
void setWiresagTime(float wsag)
sets the time correction due to wire sag
float m_driftTime
drift time after all corrections
float m_signedDistanceToTrack
signed distance from track to wire
float m_lorentzTime
extra time due to magnetic field
MdtCalibHit()
default constructor
float m_wiresagTime
extra time due to wiresag
void setGlobalPos(const Amg::Vector3D &globalPos)
sets the position in ATLAS coordinates
void setLocalPointOfClosestApproach(const Amg::Vector3D &point)
sets point of closest approach in local coordinates
void setTimeOfFlight(double tof)
sets the time correction due to the muon time of flight
double driftTime() const
retrieve drift time
int tdcCount() const
retrieve TDC counts
void setPrepData(const Muon::MdtPrepData *dig)
sets mdtPrepData
float m_timeFromTrackDistance
for calibration or trackfit in time-domain
float m_temperatureTime
extra time due to temperature
void setBFieldPara(float bfpara)
sets the B field parallel to the tube