ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCalibHit Class Reference

An MdtCalibHit is an object containing all the intermediate information needed in the conversion of raw Mdt data to a drift radius with its error. More...

#include <MdtCalibHit.h>

Collaboration diagram for MdtCalibHit:

Public Member Functions

 MdtCalibHit ()
 default constructor
 MdtCalibHit (const Muon::MdtPrepData *dig, const Amg::Vector3D &globalPos, const MuonGM::MdtReadoutElement *geo)
 constructor initializing with a MdtPrepData, global posiition and a MdtReadoutElement
 MdtCalibHit (const Muon::MdtPrepData *dig, const Amg::Vector3D &globalPos, const Amg::Vector3D &localPos, const MuonGM::MdtReadoutElement *geo)
 constructor initializing with a MdtPrepData, both local (station) and global position and a MdtReadoutElement
 MdtCalibHit (const Identifier &id, int tdc, int adc, const Amg::Vector3D &globalPos, const MuonGM::MdtReadoutElement *geo)
 constructor initializing its Identifier, tdc/adc counts, global position and a mdtReadoutElement
 MdtCalibHit (const Identifier &id, int tdc, int adc, const Amg::Vector3D &globalPos, const Amg::Vector3D &localPos, const MuonGM::MdtReadoutElement *geo)
 constructor initializing its Identifier, tdc/adc counts, both local (station) and global position and a mdtReadoutElement
void setPrepData (const Muon::MdtPrepData *dig)
 sets mdtPrepData
void setIdentifier (const Identifier &id)
 sets Identifier
void setTdc (int tdc)
 sets TDC counts
void setAdc (int adc)
 sets the ADC counts
void setGlobalPos (const Amg::Vector3D &globalPos)
 sets the position in ATLAS coordinates
void setLocalPos (const Amg::Vector3D &localPos)
 sets the position in the station coordinates
void setGlobalPointOfClosestApproach (const Amg::Vector3D &point)
 sets point of closest approach in global coordinates
void setLocalPointOfClosestApproach (const Amg::Vector3D &point)
 sets point of closest approach in local coordinates
void setGeometry (const MuonGM::MdtReadoutElement *geo)
 sets the MdtReadoutElement
void setDriftTime (double t)
 sets drift time
void setDriftRadius (double r, double sigmaR)
 sets drift radius and drift radius error
void setDistanceToTrack (double dist, double sigmaDist)
 sets the distance to the fitted track and its error
void setTimeFromTrackDistance (double t, double sigmaT)
 sets the time of the distance to the fitted track (and its error)
void setSlewingTime (double slew)
 sets the time correction due to slewing
void setLorentzTime (double lor)
 sets the time correction due to the magnetic field
void setPropagationTime (double prop)
 sets the time correction due to the propagation of the signal over the wire
void setTimeOfFlight (double tof)
 sets the time correction due to the muon time of flight
void setDistanceToReadout (double dist)
 sets the distance to read out
void setWiresagTime (float wsag)
 sets the time correction due to wire sag
void setTemperatureTime (float temp)
void setBackgroundTime (float bkgr)
 sets the time correction due to background signal
void setBFieldPerp (float bfperp)
 sets the B field perpendicular to the tube
void setBFieldPara (float bfpara)
 sets the B field parallel to the tube
void setTemperature (float temp)
 sets the temperature
void setProjSag (float sag)
 sets the projected wire sag
void setTubeT0 (float t0)
 sets the tube t0
void setTubeAdcCal (float adccal)
 sets the tube mean ADC
void setLocXtwin (float xtwin)
 sets twin local position
void setSigma2LocXtwin (float xtwin)
 sets twin local position variance
const MuonGM::MdtReadoutElementgeometry () const
 retrieve the MdtReadoutElement
const Identifieridentify () const
 retrieve Identifier
const Amg::Vector3DglobalPosition () const
 retrieve the position in ATLAS coordinates
const Amg::Vector3DlocalPosition () const
 retrieve the position in the station coordinates
const Amg::Vector3DglobalPointOfClosestApproach () const
 retrieve the point of closest approach in global coordinates
const Amg::Vector3DlocalPointOfClosestApproach () const
 retrieve the point of closest approach in local coordinates
int tdcCount () const
 retrieve TDC counts
int adcCount () const
 retrieve the ADC counts
double driftTime () const
 retrieve drift time
double driftRadius () const
 retrieve drift radius
double sigmaDriftRadius () const
 retrieve the error on the radius of the drift circle
double sigma2DriftRadius () const
 retrieve the error squared on the radius of the drift circle
double signedDistanceToTrack () const
 retrieve the distance of the track to the wire
double sigmaDistanceToTrack () const
 retrieve the error on the distance of the track to the wire
double sigma2DistanceToTrack () const
 retrieve the error squared on the distance of the track to the wire
double distanceToReadout () const
 retrieve the distance to readout
double slewingTime () const
 retrieve the timing correction due to slewing
double lorentzTime () const
 retrieve the timing correction due to the magnetic field (lorentz angle)
double propagationTime () const
 retrieve the timing correction due to the propagation of the signal
double timeOfFlight () const
 retrieve the timing correction due to time of flight of the muon
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
double sigma2TimeFromTrackDistance () const
 retrieve the error squared of the time corresponding to distance to track
double radialResidual () const
 retrieve difference between driftcircle and distance to track (unsigned)
double trackResidual () const
 retrieve difference between driftcircle and distance to track (signed)
double timeResidual () const
 retrieve difference between drifttime and timeFromTrackDistance
float WiresagTime () const
 retrieve the timing correction due to wiresag
float TemperatureTime () const
float BackgroundTime () const
float bFieldPerp () const
 retrieve the Bfield perpendicular to the tube
float bFieldPara () const
 retrieve the Bfield parallel to the tube
float temperature () const
 retrieve the temperature
float projSag () const
 retrieve the projected sag
float tubeT0 () const
 retrieve the tube T0
float tubeAdcCal () const
 retrieve the tube mean ADC
float xtwin () const
 retrieve twin position
float sigmaXtwin () const
 retrieve twin position error
float sigma2Xtwin () const
 retrieve twin position variance
MuonCalib::MdtCalibHitBasehitBase (const MuonCalib::IIdToFixedIdTool &) const
 return a pointer to the MdtCalibHit object to be used in the calibration framework
std::ostream & dump (std::ostream &stream) const
 ostream operator
MsgStream & dump (MsgStream &sl) const
 MsgStream operator.

Static Public Attributes

static const float kNoValue = FLT_MAX
 constant to set values to invalid

Private Attributes

Identifier m_id
 (ATLAS) Identifier
int m_tdc
 TDC counts.
int m_adc
 ADC counts.
const MuonGM::MdtReadoutElementm_geometry
 MdtReadoutElement.
Amg::Vector3D m_globalPosition
 position of the hit expressed in ATLAS global coordinates
Amg::Vector3D m_localPosition
 position of the hit expressed in local (station) coordinates
Amg::Vector3D m_localPointOfClosestApproach
 point of closest approach of track to wire in local coordinates
Amg::Vector3D m_globalPointOfClosestApproach
 point of closest approach of track to wire in global coordinates
float m_driftTime
 drift time after all corrections
float m_driftRadius
 drift radius
float m_sigma2DriftRadius
 drift radius variance
float m_timeFromTrackDistance
 for calibration or trackfit in time-domain
float m_sigma2TimeFromTrackDistance
 (square of) sigma on m_timeFromTrackDistance
float m_slewingTime
 extra time due to slewing (electronics)
float m_lorentzTime
 extra time due to magnetic field
float m_propagationTime
 along the wire
float m_timeOfFlight
 time of flight of the muon (CLHEP::ns)
float m_distanceToReadout
 from hit to read-out side of tube
float m_signedDistanceToTrack
 signed distance from track to wire
float m_sigma2DistanceToTrack
 square of sigma on m_signedDistanceToTrack
float m_wiresagTime
 extra time due to wiresag
float m_temperatureTime
 extra time due to temperature
float m_backgroundTime
 extra time due to background
float m_bFieldPerp
 local bfield perpendicular to the wire
float m_bFieldPara
 local bfield parallel to the wire
float m_temperature
 local temperature
float m_projSag
 projective sag
float m_tube_t0
 the t0 of the tube
float m_tube_adccal
 mean ADC of the tube (calibration)
float m_xtwin
 the twin position
float m_sigma2XTwin
 the twin position variance

Detailed Description

An MdtCalibHit is an object containing all the intermediate information needed in the conversion of raw Mdt data to a drift radius with its error.

It is used by the MdtCalibrationSvc.

Author
Martin Woudstra
Date
June 2004

A MdtCalibHit is the underlying class which holds the calibration information.

Author
Zdenko van Kesteren
Date
June 2007

Definition at line 50 of file MdtCalibHit.h.

Constructor & Destructor Documentation

◆ MdtCalibHit() [1/5]

MdtCalibHit::MdtCalibHit ( )
inline

default constructor

Definition at line 182 of file MdtCalibHit.h.

182 :
183 m_id(0),
184 m_tdc(0),
185 m_adc(0),
186 m_geometry(0),
194 m_slewingTime(0.0),
195 m_lorentzTime(0.0),
201 m_wiresagTime(0),
207 m_projSag(0),
208 m_tube_t0(0),
209 m_tube_adccal(0),
Amg::Vector3D m_localPosition
position of the hit expressed in local (station) coordinates
float m_temperatureTime
extra time due to temperature
float m_timeFromTrackDistance
for calibration or trackfit in time-domain
static const float kNoValue
constant to set values to invalid
Definition MdtCalibHit.h:52
float m_propagationTime
along 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
float m_wiresagTime
extra time due to wiresag
float m_sigma2DriftRadius
drift radius variance
Amg::Vector3D m_globalPosition
position of the hit expressed in ATLAS global coordinates
float m_bFieldPerp
local bfield perpendicular to the wire
float m_backgroundTime
extra time due to background
float m_timeOfFlight
time of flight of the muon (CLHEP::ns)
float m_tube_adccal
mean ADC of the tube (calibration)
float m_projSag
projective sag
float m_driftTime
drift time after all corrections
int m_tdc
TDC counts.
float m_distanceToReadout
from hit to read-out side of tube
float m_signedDistanceToTrack
signed distance from track to wire
float m_sigma2TimeFromTrackDistance
(square of) sigma on m_timeFromTrackDistance
float m_xtwin
the twin position
float m_sigma2XTwin
the twin position variance
float m_sigma2DistanceToTrack
square of sigma on m_signedDistanceToTrack
const MuonGM::MdtReadoutElement * m_geometry
MdtReadoutElement.
float m_driftRadius
drift radius
Identifier m_id
(ATLAS) Identifier
float m_slewingTime
extra time due to slewing (electronics)
int m_adc
ADC counts.
float m_temperature
local temperature

◆ MdtCalibHit() [2/5]

MdtCalibHit::MdtCalibHit ( const Muon::MdtPrepData * dig,
const Amg::Vector3D & globalPos,
const MuonGM::MdtReadoutElement * geo )
inline

constructor initializing with a MdtPrepData, global posiition and a MdtReadoutElement

Definition at line 213 of file MdtCalibHit.h.

213 :
214 m_id(dig->identify()),
215 m_tdc(dig->tdc()),
216 m_adc(dig->adc()),
217 m_geometry(geo),
218 m_globalPosition(globalPos),
225 m_slewingTime(0.0),
226 m_lorentzTime(0.0),
232 m_wiresagTime(0),
238 m_projSag(0),
239 m_tube_t0(0),
240 m_tube_adccal(0),
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

◆ MdtCalibHit() [3/5]

MdtCalibHit::MdtCalibHit ( const Muon::MdtPrepData * dig,
const Amg::Vector3D & globalPos,
const Amg::Vector3D & localPos,
const MuonGM::MdtReadoutElement * geo )
inline

constructor initializing with a MdtPrepData, both local (station) and global position and a MdtReadoutElement

Definition at line 244 of file MdtCalibHit.h.

◆ MdtCalibHit() [4/5]

MdtCalibHit::MdtCalibHit ( const Identifier & id,
int tdc,
int adc,
const Amg::Vector3D & globalPos,
const MuonGM::MdtReadoutElement * geo )
inline

constructor initializing its Identifier, tdc/adc counts, global position and a mdtReadoutElement

Definition at line 276 of file MdtCalibHit.h.

◆ MdtCalibHit() [5/5]

MdtCalibHit::MdtCalibHit ( const Identifier & id,
int tdc,
int adc,
const Amg::Vector3D & globalPos,
const Amg::Vector3D & localPos,
const MuonGM::MdtReadoutElement * geo )
inline

constructor initializing its Identifier, tdc/adc counts, both local (station) and global position and a mdtReadoutElement

Definition at line 308 of file MdtCalibHit.h.

Member Function Documentation

◆ adcCount()

int MdtCalibHit::adcCount ( ) const
inline

retrieve the ADC counts

Definition at line 421 of file MdtCalibHit.h.

421{ return m_adc; }

◆ BackgroundTime()

float MdtCalibHit::BackgroundTime ( ) const

◆ bFieldPara()

float MdtCalibHit::bFieldPara ( ) const
inline

retrieve the Bfield parallel to the tube

Definition at line 471 of file MdtCalibHit.h.

471{ return m_bFieldPara; }

◆ bFieldPerp()

float MdtCalibHit::bFieldPerp ( ) const
inline

retrieve the Bfield perpendicular to the tube

Definition at line 469 of file MdtCalibHit.h.

469{ return m_bFieldPerp; }

◆ distanceToReadout()

double MdtCalibHit::distanceToReadout ( ) const
inline

retrieve the distance to readout

Definition at line 437 of file MdtCalibHit.h.

437{ return m_distanceToReadout; }

◆ driftRadius()

double MdtCalibHit::driftRadius ( ) const
inline

retrieve drift radius

Definition at line 425 of file MdtCalibHit.h.

425{ return m_driftRadius; }

◆ driftTime()

double MdtCalibHit::driftTime ( ) const
inline

retrieve drift time

Definition at line 423 of file MdtCalibHit.h.

423{ return m_driftTime; }

◆ dump() [1/2]

MsgStream & MdtCalibHit::dump ( MsgStream & sl) const

MsgStream operator.

Definition at line 93 of file MdtCalibHit.cxx.

93 {
94 sl << "MdtMdtCalibHit: " << std::endl;
95 sl << " Drift time " << driftTime() << " radius " << driftRadius() << " DistRO " << distanceToReadout() << std::endl;
96 sl << " Radial residual " << radialResidual() << std::endl;
97 sl << " Global position (" << globalPosition().x() << "," << globalPosition().y() << "," << globalPosition().z() << ") "
98 << " local position (" << localPosition().x() << "," << localPosition().y() << "," << localPosition().z() << ") " << std::endl;
99 return sl;
100}
const Amg::Vector3D & localPosition() const
retrieve the position in the station coordinates
double driftRadius() const
retrieve drift radius
double distanceToReadout() const
retrieve the distance to readout
double driftTime() const
retrieve drift time
double radialResidual() const
retrieve difference between driftcircle and distance to track (unsigned)
const Amg::Vector3D & globalPosition() const
retrieve the position in ATLAS coordinates

◆ dump() [2/2]

std::ostream & MdtCalibHit::dump ( std::ostream & stream) const

ostream operator

Definition at line 84 of file MdtCalibHit.cxx.

84 {
85 stream << "MdtMdtCalibHit: " << std::endl;
86 stream << " Drift time " << driftTime() << " radius " << driftRadius() << " DistRO " << distanceToReadout() << std::endl;
87 stream << " Radial residual " << radialResidual() << std::endl;
88 stream << " Global position " << globalPosition() << " local position " << localPosition() << std::endl;
89 return stream;
90}

◆ geometry()

const MuonGM::MdtReadoutElement * MdtCalibHit::geometry ( ) const
inline

retrieve the MdtReadoutElement

Definition at line 407 of file MdtCalibHit.h.

407{ return m_geometry; }

◆ globalPointOfClosestApproach()

const Amg::Vector3D & MdtCalibHit::globalPointOfClosestApproach ( ) const
inline

retrieve the point of closest approach in global coordinates

Definition at line 415 of file MdtCalibHit.h.

Amg::Vector3D m_globalPointOfClosestApproach
point of closest approach of track to wire in global coordinates

◆ globalPosition()

const Amg::Vector3D & MdtCalibHit::globalPosition ( ) const
inline

retrieve the position in ATLAS coordinates

Definition at line 411 of file MdtCalibHit.h.

411{ return m_globalPosition; }

◆ hitBase()

MuonCalib::MdtCalibHitBase * MdtCalibHit::hitBase ( const MuonCalib::IIdToFixedIdTool & rIdToFixed) const

return a pointer to the MdtCalibHit object to be used in the calibration framework

Definition at line 29 of file MdtCalibHit.cxx.

29 {
30 MuonCalib::MdtCalibHitBase* hb = new MuonCalib::MdtCalibHitBase();
31
32 hb->setIdentifier(rIdToFixed.idToFixedId(m_id));
33 hb->setTdc(m_tdc);
34 hb->setAdc(m_adc);
38 if (m_sigma2DriftRadius > 0)
40 else
44 else
48 else
55
63
69 if (m_sigma2XTwin > 0)
70 hb->setSigmaLocXtwin(std::sqrt(m_sigma2XTwin));
71 else
72 hb->setSigmaLocXtwin(0.);
74 // WARNING: these quantities, foreseen for MdtCalibHitBase, are not
75 // available from MdtCalibHit
77 // hb->setWiresagTime(??);
78 // hb->setTemperatureTime(??);
79 // hb->setBackgroundTime(??);
80
81 return hb;
82} // end MdtCalibHit::hitBase
Amg::Vector3D m_localPointOfClosestApproach
point of closest approach of track to wire in local coordinates
virtual MuonFixedId idToFixedId(const Identifier &id) const =0
pure virtual member to convert (ATHENA) Identifier to (Calib-EDM) MuonFixedId
void setLocXtwin(float xtwin)
sets the local twin position
void setDriftRadius(float r, float sigmaR)
sets drift radius and drift radius error
void setBFieldTime(float lor)
sets the time correction due to the magnetic field
void setLocalPos(const Amg::Vector3D &localPos)
sets the position in the station coordinates
void setGlobalPointOfClosestApproach(const Amg::Vector3D &point)
sets point of closest approach in global coordinates
void setTemperature(float temp)
sets the temperature
void setTemperatureTime(float temp)
sets the time correction due to temperature effects
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
void setDriftTime(float t)
sets drift time
void setSigmaLocXtwin(float xtwin)
sets the local twin position error
void setIdentifier(const MuonFixedId &id)
sets the MuonFixedIdentifier of the hit
void setWiresagTime(float wsag)
sets the time correction due to wire sag
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
void setBFieldPerp(float bfperp)
sets the B field perpendicular to the tube
void setDistanceToReadout(float dist)
sets the distance to read out
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
void setTdc(unsigned short tdc)
sets the tdc counts
void setBackgroundTime(float bkgr)
sets the time correction due to background signal
void setTimeFromTrackDistance(float t, float sigmaT)
sets the time of the distance to the fitted track (and its error)
void setLocalPointOfClosestApproach(const Amg::Vector3D &point)
sets point of closest approach in local coordinates
void setTubeAdcCal(float adccal)
sets the tube mean ADC
void setSlewingTime(float slew)
sets the time correction due to slewing

◆ identify()

const Identifier & MdtCalibHit::identify ( ) const
inline

retrieve Identifier

Definition at line 409 of file MdtCalibHit.h.

409{ return m_id; }

◆ localPointOfClosestApproach()

const Amg::Vector3D & MdtCalibHit::localPointOfClosestApproach ( ) const
inline

retrieve the point of closest approach in local coordinates

Definition at line 417 of file MdtCalibHit.h.

◆ localPosition()

const Amg::Vector3D & MdtCalibHit::localPosition ( ) const
inline

retrieve the position in the station coordinates

Definition at line 413 of file MdtCalibHit.h.

413{ return m_localPosition; }

◆ lorentzTime()

double MdtCalibHit::lorentzTime ( ) const
inline

retrieve the timing correction due to the magnetic field (lorentz angle)

Definition at line 441 of file MdtCalibHit.h.

441{ return m_lorentzTime; }

◆ projSag()

float MdtCalibHit::projSag ( ) const
inline

retrieve the projected sag

Definition at line 475 of file MdtCalibHit.h.

475{ return m_projSag; }

◆ propagationTime()

double MdtCalibHit::propagationTime ( ) const
inline

retrieve the timing correction due to the propagation of the signal

Definition at line 443 of file MdtCalibHit.h.

443{ return m_propagationTime; }

◆ radialResidual()

double MdtCalibHit::radialResidual ( ) const
inline

retrieve difference between driftcircle and distance to track (unsigned)

Definition at line 453 of file MdtCalibHit.h.

453{ return std::abs(m_driftRadius) - std::abs(m_signedDistanceToTrack); }

◆ setAdc()

void MdtCalibHit::setAdc ( int adc)
inline

sets the ADC counts

Definition at line 350 of file MdtCalibHit.h.

◆ setBackgroundTime()

void MdtCalibHit::setBackgroundTime ( float bkgr)

sets the time correction due to background signal

◆ setBFieldPara()

void MdtCalibHit::setBFieldPara ( float bfpara)
inline

sets the B field parallel to the tube

Definition at line 393 of file MdtCalibHit.h.

◆ setBFieldPerp()

void MdtCalibHit::setBFieldPerp ( float bfperp)
inline

sets the B field perpendicular to the tube

Definition at line 391 of file MdtCalibHit.h.

391{ m_bFieldPerp = val; }

◆ setDistanceToReadout()

void MdtCalibHit::setDistanceToReadout ( double dist)
inline

sets the distance to read out

Definition at line 387 of file MdtCalibHit.h.

387{ m_distanceToReadout = dist; }

◆ setDistanceToTrack()

void MdtCalibHit::setDistanceToTrack ( double dist,
double sigmaDist )
inline

sets the distance to the fitted track and its error

Definition at line 369 of file MdtCalibHit.h.

369 {
371 m_sigma2DistanceToTrack = sigmaDist * sigmaDist;
372}

◆ setDriftRadius()

void MdtCalibHit::setDriftRadius ( double r,
double sigmaR )
inline

sets drift radius and drift radius error

Definition at line 364 of file MdtCalibHit.h.

364 {
366 m_sigma2DriftRadius = sigmaR * sigmaR;
367}
int r
Definition globals.cxx:22

◆ setDriftTime()

void MdtCalibHit::setDriftTime ( double t)
inline

sets drift time

Definition at line 362 of file MdtCalibHit.h.

◆ setGeometry()

void MdtCalibHit::setGeometry ( const MuonGM::MdtReadoutElement * geo)
inline

sets the MdtReadoutElement

Definition at line 360 of file MdtCalibHit.h.

◆ setGlobalPointOfClosestApproach()

void MdtCalibHit::setGlobalPointOfClosestApproach ( const Amg::Vector3D & point)
inline

sets point of closest approach in global coordinates

Definition at line 356 of file MdtCalibHit.h.

◆ setGlobalPos()

void MdtCalibHit::setGlobalPos ( const Amg::Vector3D & globalPos)
inline

sets the position in ATLAS coordinates

Definition at line 352 of file MdtCalibHit.h.

352{ m_globalPosition = globalPos; }

◆ setIdentifier()

void MdtCalibHit::setIdentifier ( const Identifier & id)
inline

sets Identifier

Definition at line 346 of file MdtCalibHit.h.

◆ setLocalPointOfClosestApproach()

void MdtCalibHit::setLocalPointOfClosestApproach ( const Amg::Vector3D & point)
inline

sets point of closest approach in local coordinates

Definition at line 358 of file MdtCalibHit.h.

◆ setLocalPos()

void MdtCalibHit::setLocalPos ( const Amg::Vector3D & localPos)
inline

sets the position in the station coordinates

Definition at line 354 of file MdtCalibHit.h.

354{ m_localPosition = localPos; }

◆ setLocXtwin()

void MdtCalibHit::setLocXtwin ( float xtwin)
inline

sets twin local position

Definition at line 403 of file MdtCalibHit.h.

403{ m_xtwin = xtwin; }
float xtwin() const
retrieve twin position

◆ setLorentzTime()

void MdtCalibHit::setLorentzTime ( double lor)
inline

sets the time correction due to the magnetic field

Definition at line 381 of file MdtCalibHit.h.

381{ m_lorentzTime = lor; }

◆ setPrepData()

void MdtCalibHit::setPrepData ( const Muon::MdtPrepData * dig)
inline

sets mdtPrepData

Definition at line 340 of file MdtCalibHit.h.

340 {
341 m_id = dig->identify();
342 m_tdc = dig->tdc();
343 m_adc = dig->adc();
344}

◆ setProjSag()

void MdtCalibHit::setProjSag ( float sag)
inline

sets the projected wire sag

Definition at line 397 of file MdtCalibHit.h.

397{ m_projSag = val; }

◆ setPropagationTime()

void MdtCalibHit::setPropagationTime ( double prop)
inline

sets the time correction due to the propagation of the signal over the wire

Definition at line 383 of file MdtCalibHit.h.

383{ m_propagationTime = prop; }

◆ setSigma2LocXtwin()

void MdtCalibHit::setSigma2LocXtwin ( float xtwin)
inline

sets twin local position variance

Definition at line 405 of file MdtCalibHit.h.

405{ m_sigma2XTwin = sigma2XTwin; }

◆ setSlewingTime()

void MdtCalibHit::setSlewingTime ( double slew)
inline

sets the time correction due to slewing

Definition at line 379 of file MdtCalibHit.h.

379{ m_slewingTime = slew; }

◆ setTdc()

void MdtCalibHit::setTdc ( int tdc)
inline

sets TDC counts

Definition at line 348 of file MdtCalibHit.h.

348{ m_tdc = tdc; }

◆ setTemperature()

void MdtCalibHit::setTemperature ( float temp)
inline

sets the temperature

Definition at line 395 of file MdtCalibHit.h.

395{ m_temperature = val; }

◆ setTemperatureTime()

void MdtCalibHit::setTemperatureTime ( float temp)
inline

< sets the time correction due to temperature effects

Definition at line 88 of file MdtCalibHit.h.

88 {
89 m_temperatureTime = temp;
90 }

◆ setTimeFromTrackDistance()

void MdtCalibHit::setTimeFromTrackDistance ( double t,
double sigmaT )
inline

sets the time of the distance to the fitted track (and its error)

Definition at line 374 of file MdtCalibHit.h.

374 {
376 m_sigma2TimeFromTrackDistance = sigmaT * sigmaT;
377}

◆ setTimeOfFlight()

void MdtCalibHit::setTimeOfFlight ( double tof)
inline

sets the time correction due to the muon time of flight

Definition at line 385 of file MdtCalibHit.h.

385{ m_timeOfFlight = tof; }

◆ setTubeAdcCal()

void MdtCalibHit::setTubeAdcCal ( float adccal)
inline

sets the tube mean ADC

Definition at line 401 of file MdtCalibHit.h.

401{ m_tube_adccal = adccal; }

◆ setTubeT0()

void MdtCalibHit::setTubeT0 ( float t0)
inline

sets the tube t0

Definition at line 399 of file MdtCalibHit.h.

399{ m_tube_t0 = t0; }
static Double_t t0

◆ setWiresagTime()

void MdtCalibHit::setWiresagTime ( float wsag)
inline

sets the time correction due to wire sag

Definition at line 389 of file MdtCalibHit.h.

389{ m_wiresagTime = wsag; }

◆ sigma2DistanceToTrack()

double MdtCalibHit::sigma2DistanceToTrack ( ) const
inline

retrieve the error squared on the distance of the track to the wire

Definition at line 435 of file MdtCalibHit.h.

435{ return m_sigma2DistanceToTrack; }

◆ sigma2DriftRadius()

double MdtCalibHit::sigma2DriftRadius ( ) const
inline

retrieve the error squared on the radius of the drift circle

Definition at line 429 of file MdtCalibHit.h.

429{ return m_sigma2DriftRadius; }

◆ sigma2TimeFromTrackDistance()

double MdtCalibHit::sigma2TimeFromTrackDistance ( ) const
inline

retrieve the error squared of the time corresponding to distance to track

Definition at line 451 of file MdtCalibHit.h.

◆ sigma2Xtwin()

float MdtCalibHit::sigma2Xtwin ( ) const
inline

retrieve twin position variance

Definition at line 467 of file MdtCalibHit.h.

467{ return m_sigma2XTwin; }

◆ sigmaDistanceToTrack()

double MdtCalibHit::sigmaDistanceToTrack ( ) const
inline

retrieve the error on the distance of the track to the wire

Definition at line 433 of file MdtCalibHit.h.

433{ return std::sqrt(m_sigma2DistanceToTrack); }

◆ sigmaDriftRadius()

double MdtCalibHit::sigmaDriftRadius ( ) const
inline

retrieve the error on the radius of the drift circle

Definition at line 427 of file MdtCalibHit.h.

427{ return std::sqrt(m_sigma2DriftRadius); }

◆ sigmaTimeFromTrackDistance()

double MdtCalibHit::sigmaTimeFromTrackDistance ( ) const
inline

retrieve the error of the time corresponding to the distance to track

Definition at line 449 of file MdtCalibHit.h.

449{ return std::sqrt(m_sigma2TimeFromTrackDistance); }

◆ sigmaXtwin()

float MdtCalibHit::sigmaXtwin ( ) const
inline

retrieve twin position error

Definition at line 465 of file MdtCalibHit.h.

465{ return std::sqrt(m_sigma2XTwin); }

◆ signedDistanceToTrack()

double MdtCalibHit::signedDistanceToTrack ( ) const
inline

retrieve the distance of the track to the wire

Definition at line 431 of file MdtCalibHit.h.

431{ return m_signedDistanceToTrack; }

◆ slewingTime()

double MdtCalibHit::slewingTime ( ) const
inline

retrieve the timing correction due to slewing

Definition at line 439 of file MdtCalibHit.h.

439{ return m_slewingTime; }

◆ tdcCount()

int MdtCalibHit::tdcCount ( ) const
inline

retrieve TDC counts

Definition at line 419 of file MdtCalibHit.h.

419{ return m_tdc; }

◆ temperature()

float MdtCalibHit::temperature ( ) const
inline

retrieve the temperature

Definition at line 473 of file MdtCalibHit.h.

473{ return m_temperature; }

◆ TemperatureTime()

float MdtCalibHit::TemperatureTime ( ) const
inline

< retrieve the timing correction due to temperature

Definition at line 128 of file MdtCalibHit.h.

128 {
129 return m_temperatureTime;
130 }

◆ timeFromTrackDistance()

double MdtCalibHit::timeFromTrackDistance ( ) const
inline

retrieve the time corresponding to the distance to track

Definition at line 447 of file MdtCalibHit.h.

447{ return m_timeFromTrackDistance; }

◆ timeOfFlight()

double MdtCalibHit::timeOfFlight ( ) const
inline

retrieve the timing correction due to time of flight of the muon

Definition at line 445 of file MdtCalibHit.h.

445{ return m_timeOfFlight; }

◆ timeResidual()

double MdtCalibHit::timeResidual ( ) const
inline

retrieve difference between drifttime and timeFromTrackDistance

Definition at line 457 of file MdtCalibHit.h.

◆ trackResidual()

double MdtCalibHit::trackResidual ( ) const
inline

retrieve difference between driftcircle and distance to track (signed)

Definition at line 455 of file MdtCalibHit.h.

◆ tubeAdcCal()

float MdtCalibHit::tubeAdcCal ( ) const
inline

retrieve the tube mean ADC

Definition at line 461 of file MdtCalibHit.h.

461{ return m_tube_adccal; }

◆ tubeT0()

float MdtCalibHit::tubeT0 ( ) const
inline

retrieve the tube T0

Definition at line 459 of file MdtCalibHit.h.

459{ return m_tube_t0; }

◆ WiresagTime()

float MdtCalibHit::WiresagTime ( ) const

retrieve the timing correction due to wiresag

◆ xtwin()

float MdtCalibHit::xtwin ( ) const
inline

retrieve twin position

Definition at line 463 of file MdtCalibHit.h.

463{ return m_xtwin; }

Member Data Documentation

◆ kNoValue

const float MdtCalibHit::kNoValue = FLT_MAX
static

constant to set values to invalid

Definition at line 52 of file MdtCalibHit.h.

◆ m_adc

int MdtCalibHit::m_adc
private

ADC counts.

Definition at line 151 of file MdtCalibHit.h.

◆ m_backgroundTime

float MdtCalibHit::m_backgroundTime
private

extra time due to background

Definition at line 171 of file MdtCalibHit.h.

◆ m_bFieldPara

float MdtCalibHit::m_bFieldPara
private

local bfield parallel to the wire

Definition at line 173 of file MdtCalibHit.h.

◆ m_bFieldPerp

float MdtCalibHit::m_bFieldPerp
private

local bfield perpendicular to the wire

Definition at line 172 of file MdtCalibHit.h.

◆ m_distanceToReadout

float MdtCalibHit::m_distanceToReadout
private

from hit to read-out side of tube

Definition at line 166 of file MdtCalibHit.h.

◆ m_driftRadius

float MdtCalibHit::m_driftRadius
private

drift radius

Definition at line 158 of file MdtCalibHit.h.

◆ m_driftTime

float MdtCalibHit::m_driftTime
private

drift time after all corrections

Definition at line 157 of file MdtCalibHit.h.

◆ m_geometry

const MuonGM::MdtReadoutElement* MdtCalibHit::m_geometry
private

MdtReadoutElement.

Definition at line 152 of file MdtCalibHit.h.

◆ m_globalPointOfClosestApproach

Amg::Vector3D MdtCalibHit::m_globalPointOfClosestApproach
private

point of closest approach of track to wire in global coordinates

Definition at line 156 of file MdtCalibHit.h.

◆ m_globalPosition

Amg::Vector3D MdtCalibHit::m_globalPosition
private

position of the hit expressed in ATLAS global coordinates

Definition at line 153 of file MdtCalibHit.h.

◆ m_id

Identifier MdtCalibHit::m_id
private

(ATLAS) Identifier

Definition at line 149 of file MdtCalibHit.h.

◆ m_localPointOfClosestApproach

Amg::Vector3D MdtCalibHit::m_localPointOfClosestApproach
private

point of closest approach of track to wire in local coordinates

Definition at line 155 of file MdtCalibHit.h.

◆ m_localPosition

Amg::Vector3D MdtCalibHit::m_localPosition
private

position of the hit expressed in local (station) coordinates

Definition at line 154 of file MdtCalibHit.h.

◆ m_lorentzTime

float MdtCalibHit::m_lorentzTime
private

extra time due to magnetic field

Definition at line 163 of file MdtCalibHit.h.

◆ m_projSag

float MdtCalibHit::m_projSag
private

projective sag

Definition at line 175 of file MdtCalibHit.h.

◆ m_propagationTime

float MdtCalibHit::m_propagationTime
private

along the wire

Definition at line 164 of file MdtCalibHit.h.

◆ m_sigma2DistanceToTrack

float MdtCalibHit::m_sigma2DistanceToTrack
private

square of sigma on m_signedDistanceToTrack

Definition at line 168 of file MdtCalibHit.h.

◆ m_sigma2DriftRadius

float MdtCalibHit::m_sigma2DriftRadius
private

drift radius variance

Definition at line 159 of file MdtCalibHit.h.

◆ m_sigma2TimeFromTrackDistance

float MdtCalibHit::m_sigma2TimeFromTrackDistance
private

(square of) sigma on m_timeFromTrackDistance

Definition at line 161 of file MdtCalibHit.h.

◆ m_sigma2XTwin

float MdtCalibHit::m_sigma2XTwin
private

the twin position variance

Definition at line 179 of file MdtCalibHit.h.

◆ m_signedDistanceToTrack

float MdtCalibHit::m_signedDistanceToTrack
private

signed distance from track to wire

Definition at line 167 of file MdtCalibHit.h.

◆ m_slewingTime

float MdtCalibHit::m_slewingTime
private

extra time due to slewing (electronics)

Definition at line 162 of file MdtCalibHit.h.

◆ m_tdc

int MdtCalibHit::m_tdc
private

TDC counts.

Definition at line 150 of file MdtCalibHit.h.

◆ m_temperature

float MdtCalibHit::m_temperature
private

local temperature

Definition at line 174 of file MdtCalibHit.h.

◆ m_temperatureTime

float MdtCalibHit::m_temperatureTime
private

extra time due to temperature

Definition at line 170 of file MdtCalibHit.h.

◆ m_timeFromTrackDistance

float MdtCalibHit::m_timeFromTrackDistance
private

for calibration or trackfit in time-domain

Definition at line 160 of file MdtCalibHit.h.

◆ m_timeOfFlight

float MdtCalibHit::m_timeOfFlight
private

time of flight of the muon (CLHEP::ns)

Definition at line 165 of file MdtCalibHit.h.

◆ m_tube_adccal

float MdtCalibHit::m_tube_adccal
private

mean ADC of the tube (calibration)

Definition at line 177 of file MdtCalibHit.h.

◆ m_tube_t0

float MdtCalibHit::m_tube_t0
private

the t0 of the tube

Definition at line 176 of file MdtCalibHit.h.

◆ m_wiresagTime

float MdtCalibHit::m_wiresagTime
private

extra time due to wiresag

Definition at line 169 of file MdtCalibHit.h.

◆ m_xtwin

float MdtCalibHit::m_xtwin
private

the twin position

Definition at line 178 of file MdtCalibHit.h.


The documentation for this class was generated from the following files: