![]() |
ATLAS Offline Software
|
#include <MdtCalibHit.h>
Public Member Functions | |
MdtCalibHit () | |
default constructor More... | |
MdtCalibHit (const Muon::MdtPrepData *dig, const Amg::Vector3D &globalPos, const MuonGM::MdtReadoutElement *geo) | |
constructor initializing with a MdtPrepData, global posiition and a MdtReadoutElement More... | |
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 More... | |
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 More... | |
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 More... | |
void | setPrepData (const Muon::MdtPrepData *dig) |
sets mdtPrepData More... | |
void | setIdentifier (const Identifier &id) |
sets Identifier More... | |
void | setTdc (int tdc) |
sets TDC counts More... | |
void | setAdc (int adc) |
sets the ADC counts More... | |
void | setGlobalPos (const Amg::Vector3D &globalPos) |
sets the position in ATLAS coordinates More... | |
void | setLocalPos (const Amg::Vector3D &localPos) |
sets the position in the station coordinates More... | |
void | setGlobalPointOfClosestApproach (const Amg::Vector3D &point) |
sets point of closest approach in global coordinates More... | |
void | setLocalPointOfClosestApproach (const Amg::Vector3D &point) |
sets point of closest approach in local coordinates More... | |
void | setGeometry (const MuonGM::MdtReadoutElement *geo) |
sets the MdtReadoutElement More... | |
void | setDriftTime (double t) |
sets drift time More... | |
void | setDriftRadius (double r, double sigmaR) |
sets drift radius and drift radius error More... | |
void | setDistanceToTrack (double dist, double sigmaDist) |
sets the distance to the fitted track and its error More... | |
void | setTimeFromTrackDistance (double t, double sigmaT) |
sets the time of the distance to the fitted track (and its error) More... | |
void | setSlewingTime (double slew) |
sets the time correction due to slewing More... | |
void | setLorentzTime (double lor) |
sets the time correction due to the magnetic field More... | |
void | setPropagationTime (double prop) |
sets the time correction due to the propagation of the signal over the wire More... | |
void | setTimeOfFlight (double tof) |
sets the time correction due to the muon time of flight More... | |
void | setDistanceToReadout (double dist) |
sets the distance to read out More... | |
void | setWiresagTime (float wsag) |
sets the time correction due to wire sag More... | |
void | setTemperatureTime (float temp) |
void | setBackgroundTime (float bkgr) |
sets the time correction due to background signal More... | |
void | setBFieldPerp (float bfperp) |
sets the B field perpendicular to the tube More... | |
void | setBFieldPara (float bfpara) |
sets the B field parallel to the tube More... | |
void | setTemperature (float temp) |
sets the temperature More... | |
void | setProjSag (float sag) |
sets the projected wire sag More... | |
void | setTubeT0 (float t0) |
sets the tube t0 More... | |
void | setTubeAdcCal (float adccal) |
sets the tube mean ADC More... | |
void | setLocXtwin (float xtwin) |
sets twin local position More... | |
void | setSigma2LocXtwin (float xtwin) |
sets twin local position variance More... | |
const MuonGM::MdtReadoutElement * | geometry () const |
retrieve the MdtReadoutElement More... | |
const Identifier & | identify () const |
retrieve Identifier More... | |
const Amg::Vector3D & | globalPosition () const |
retrieve the position in ATLAS coordinates More... | |
const Amg::Vector3D & | localPosition () const |
retrieve the position in the station coordinates More... | |
const Amg::Vector3D & | globalPointOfClosestApproach () const |
retrieve the point of closest approach in global coordinates More... | |
const Amg::Vector3D & | localPointOfClosestApproach () const |
retrieve the point of closest approach in local coordinates More... | |
int | tdcCount () const |
retrieve TDC counts More... | |
int | adcCount () const |
retrieve the ADC counts More... | |
double | driftTime () const |
retrieve drift time More... | |
double | driftRadius () const |
retrieve drift radius More... | |
double | sigmaDriftRadius () const |
retrieve the error on the radius of the drift circle More... | |
double | sigma2DriftRadius () const |
retrieve the error squared on the radius of the drift circle More... | |
double | signedDistanceToTrack () const |
retrieve the distance of the track to the wire More... | |
double | sigmaDistanceToTrack () const |
retrieve the error on the distance of the track to the wire More... | |
double | sigma2DistanceToTrack () const |
retrieve the error squared on the distance of the track to the wire More... | |
double | distanceToReadout () const |
retrieve the distance to readout More... | |
double | slewingTime () const |
retrieve the timing correction due to slewing More... | |
double | lorentzTime () const |
retrieve the timing correction due to the magnetic field (lorentz angle) More... | |
double | propagationTime () const |
retrieve the timing correction due to the propagation of the signal More... | |
double | timeOfFlight () const |
retrieve the timing correction due to time of flight of the muon More... | |
double | timeFromTrackDistance () const |
retrieve the time corresponding to the distance to track More... | |
double | sigmaTimeFromTrackDistance () const |
retrieve the error of the time corresponding to the distance to track More... | |
double | sigma2TimeFromTrackDistance () const |
retrieve the error squared of the time corresponding to distance to track More... | |
double | radialResidual () const |
retrieve difference between driftcircle and distance to track (unsigned) More... | |
double | trackResidual () const |
retrieve difference between driftcircle and distance to track (signed) More... | |
double | timeResidual () const |
retrieve difference between drifttime and timeFromTrackDistance More... | |
float | WiresagTime () const |
retrieve the timing correction due to wiresag More... | |
float | TemperatureTime () const |
float | BackgroundTime () const |
float | bFieldPerp () const |
retrieve the Bfield perpendicular to the tube More... | |
float | bFieldPara () const |
retrieve the Bfield parallel to the tube More... | |
float | temperature () const |
retrieve the temperature More... | |
float | projSag () const |
retrieve the projected sag More... | |
float | tubeT0 () const |
retrieve the tube T0 More... | |
float | tubeAdcCal () const |
retrieve the tube mean ADC More... | |
float | xtwin () const |
retrieve twin position More... | |
float | sigmaXtwin () const |
retrieve twin position error More... | |
float | sigma2Xtwin () const |
retrieve twin position variance More... | |
MuonCalib::MdtCalibHitBase * | hitBase (const MuonCalib::IIdToFixedIdTool &) const |
return a pointer to the MdtCalibHit object to be used in the calibration framework More... | |
std::ostream & | dump (std::ostream &stream) const |
ostream operator More... | |
MsgStream & | dump (MsgStream &sl) const |
MsgStream operator. More... | |
Static Public Attributes | |
static const float | kNoValue = FLT_MAX |
constant to set values to invalid More... | |
Private Attributes | |
Identifier | m_id |
(ATLAS) Identifier More... | |
int | m_tdc |
TDC counts. More... | |
int | m_adc |
ADC counts. More... | |
const MuonGM::MdtReadoutElement * | m_geometry |
MdtReadoutElement. More... | |
Amg::Vector3D | m_globalPosition |
position of the hit expressed in ATLAS global coordinates More... | |
Amg::Vector3D | m_localPosition |
position of the hit expressed in local (station) coordinates More... | |
Amg::Vector3D | m_localPointOfClosestApproach |
point of closest approach of track to wire in local coordinates More... | |
Amg::Vector3D | m_globalPointOfClosestApproach |
point of closest approach of track to wire in global coordinates More... | |
float | m_driftTime |
drift time after all corrections More... | |
float | m_driftRadius |
drift radius More... | |
float | m_sigma2DriftRadius |
drift radius variance More... | |
float | m_timeFromTrackDistance |
for calibration or trackfit in time-domain More... | |
float | m_sigma2TimeFromTrackDistance |
(square of) sigma on m_timeFromTrackDistance More... | |
float | m_slewingTime |
extra time due to slewing (electronics) More... | |
float | m_lorentzTime |
extra time due to magnetic field More... | |
float | m_propagationTime |
along the wire More... | |
float | m_timeOfFlight |
time of flight of the muon (CLHEP::ns) More... | |
float | m_distanceToReadout |
from hit to read-out side of tube More... | |
float | m_signedDistanceToTrack |
signed distance from track to wire More... | |
float | m_sigma2DistanceToTrack |
square of sigma on m_signedDistanceToTrack More... | |
float | m_wiresagTime |
extra time due to wiresag More... | |
float | m_temperatureTime |
extra time due to temperature More... | |
float | m_backgroundTime |
extra time due to background More... | |
float | m_bFieldPerp |
local bfield perpendicular to the wire More... | |
float | m_bFieldPara |
local bfield parallel to the wire More... | |
float | m_temperature |
local temperature More... | |
float | m_projSag |
projective sag More... | |
float | m_tube_t0 |
the t0 of the tube More... | |
float | m_tube_adccal |
mean ADC of the tube (calibration) More... | |
float | m_xtwin |
the twin position More... | |
float | m_sigma2XTwin |
the twin position variance More... | |
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.
A MdtCalibHit is the underlying class which holds the calibration information.
Definition at line 50 of file MdtCalibHit.h.
|
inline |
|
inline |
constructor initializing with a MdtPrepData, global posiition and a MdtReadoutElement
Definition at line 213 of file MdtCalibHit.h.
|
inline |
constructor initializing with a MdtPrepData, both local (station) and global position and a MdtReadoutElement
Definition at line 244 of file MdtCalibHit.h.
|
inline |
constructor initializing its Identifier, tdc/adc counts, global position and a mdtReadoutElement
Definition at line 276 of file MdtCalibHit.h.
|
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.
|
inline |
float MdtCalibHit::BackgroundTime | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
MsgStream & MdtCalibHit::dump | ( | MsgStream & | sl | ) | const |
MsgStream operator.
Definition at line 93 of file MdtCalibHit.cxx.
std::ostream & MdtCalibHit::dump | ( | std::ostream & | stream | ) | const |
ostream operator
Definition at line 84 of file MdtCalibHit.cxx.
|
inline |
|
inline |
retrieve the point of closest approach in global coordinates
Definition at line 415 of file MdtCalibHit.h.
|
inline |
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.
|
inline |
|
inline |
retrieve the point of closest approach in local coordinates
Definition at line 417 of file MdtCalibHit.h.
|
inline |
|
inline |
retrieve the timing correction due to the magnetic field (lorentz angle)
Definition at line 441 of file MdtCalibHit.h.
|
inline |
|
inline |
retrieve the timing correction due to the propagation of the signal
Definition at line 443 of file MdtCalibHit.h.
|
inline |
retrieve difference between driftcircle and distance to track (unsigned)
Definition at line 453 of file MdtCalibHit.h.
|
inline |
void MdtCalibHit::setBackgroundTime | ( | float | bkgr | ) |
sets the time correction due to background signal
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
sets drift radius and drift radius error
Definition at line 364 of file MdtCalibHit.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
sets the time correction due to the propagation of the signal over the wire
Definition at line 383 of file MdtCalibHit.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
< sets the time correction due to temperature effects
Definition at line 88 of file MdtCalibHit.h.
|
inline |
sets the time of the distance to the fitted track (and its error)
Definition at line 374 of file MdtCalibHit.h.
|
inline |
sets the time correction due to the muon time of flight
Definition at line 385 of file MdtCalibHit.h.
|
inline |
|
inline |
|
inline |
|
inline |
retrieve the error squared on the distance of the track to the wire
Definition at line 435 of file MdtCalibHit.h.
|
inline |
retrieve the error squared on the radius of the drift circle
Definition at line 429 of file MdtCalibHit.h.
|
inline |
retrieve the error squared of the time corresponding to distance to track
Definition at line 451 of file MdtCalibHit.h.
|
inline |
|
inline |
retrieve the error on the distance of the track to the wire
Definition at line 433 of file MdtCalibHit.h.
|
inline |
|
inline |
retrieve the error of the time corresponding to the distance to track
Definition at line 449 of file MdtCalibHit.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
< retrieve the timing correction due to temperature
Definition at line 128 of file MdtCalibHit.h.
|
inline |
retrieve the time corresponding to the distance to track
Definition at line 447 of file MdtCalibHit.h.
|
inline |
retrieve the timing correction due to time of flight of the muon
Definition at line 445 of file MdtCalibHit.h.
|
inline |
retrieve difference between drifttime and timeFromTrackDistance
Definition at line 457 of file MdtCalibHit.h.
|
inline |
retrieve difference between driftcircle and distance to track (signed)
Definition at line 455 of file MdtCalibHit.h.
|
inline |
|
inline |
float MdtCalibHit::WiresagTime | ( | ) | const |
retrieve the timing correction due to wiresag
|
inline |
|
static |
constant to set values to invalid
Definition at line 52 of file MdtCalibHit.h.
|
private |
ADC counts.
Definition at line 151 of file MdtCalibHit.h.
|
private |
extra time due to background
Definition at line 171 of file MdtCalibHit.h.
|
private |
local bfield parallel to the wire
Definition at line 173 of file MdtCalibHit.h.
|
private |
local bfield perpendicular to the wire
Definition at line 172 of file MdtCalibHit.h.
|
private |
from hit to read-out side of tube
Definition at line 166 of file MdtCalibHit.h.
|
private |
drift radius
Definition at line 158 of file MdtCalibHit.h.
|
private |
drift time after all corrections
Definition at line 157 of file MdtCalibHit.h.
|
private |
MdtReadoutElement.
Definition at line 152 of file MdtCalibHit.h.
|
private |
point of closest approach of track to wire in global coordinates
Definition at line 156 of file MdtCalibHit.h.
|
private |
position of the hit expressed in ATLAS global coordinates
Definition at line 153 of file MdtCalibHit.h.
|
private |
(ATLAS) Identifier
Definition at line 149 of file MdtCalibHit.h.
|
private |
point of closest approach of track to wire in local coordinates
Definition at line 155 of file MdtCalibHit.h.
|
private |
position of the hit expressed in local (station) coordinates
Definition at line 154 of file MdtCalibHit.h.
|
private |
extra time due to magnetic field
Definition at line 163 of file MdtCalibHit.h.
|
private |
projective sag
Definition at line 175 of file MdtCalibHit.h.
|
private |
along the wire
Definition at line 164 of file MdtCalibHit.h.
|
private |
square of sigma on m_signedDistanceToTrack
Definition at line 168 of file MdtCalibHit.h.
|
private |
drift radius variance
Definition at line 159 of file MdtCalibHit.h.
|
private |
(square of) sigma on m_timeFromTrackDistance
Definition at line 161 of file MdtCalibHit.h.
|
private |
the twin position variance
Definition at line 179 of file MdtCalibHit.h.
|
private |
signed distance from track to wire
Definition at line 167 of file MdtCalibHit.h.
|
private |
extra time due to slewing (electronics)
Definition at line 162 of file MdtCalibHit.h.
|
private |
TDC counts.
Definition at line 150 of file MdtCalibHit.h.
|
private |
local temperature
Definition at line 174 of file MdtCalibHit.h.
|
private |
extra time due to temperature
Definition at line 170 of file MdtCalibHit.h.
|
private |
for calibration or trackfit in time-domain
Definition at line 160 of file MdtCalibHit.h.
|
private |
time of flight of the muon (CLHEP::ns)
Definition at line 165 of file MdtCalibHit.h.
|
private |
mean ADC of the tube (calibration)
Definition at line 177 of file MdtCalibHit.h.
|
private |
the t0 of the tube
Definition at line 176 of file MdtCalibHit.h.
|
private |
extra time due to wiresag
Definition at line 169 of file MdtCalibHit.h.
|
private |
the twin position
Definition at line 178 of file MdtCalibHit.h.