![]() |
ATLAS Offline Software
|
#include <NSWCalibTool.h>
Public Types | |
| using | TimeCalibType = NswCalibDbTimeChargeData::CalibDataType |
| using | TimeCalibConst = NswCalibDbTimeChargeData::CalibConstants |
Public Member Functions | |
| virtual | ~NSWCalibTool ()=default |
| StatusCode | calibrateClus (const EventContext &ctx, const MMPrepData *prepData, const Amg::Vector3D &globalPos, std::vector< NSWCalib::CalibratedStrip > &calibClus) const override |
| StatusCode | distToTime (const EventContext &ctx, const MMPrepData *prepData, const Amg::Vector3D &globalPos, const std::vector< double > &driftDistances, std::vector< double > &driftTimes) const override |
| StatusCode | calibrateClus (const EventContext &ctx, const ActsTrk::GeometryContext &gctx, const xAOD::MMCluster &prepData, const Amg::Vector3D &globalPos, std::vector< NSWCalib::CalibratedStrip > &calibClus) const override |
| StatusCode | calibrateStrip (const EventContext &ctx, const Identifier &id, const double time, const double charge, const double theta, const double lorentzAngle, NSWCalib::CalibratedStrip &calibStrip) const override |
| StatusCode | calibrateStrip (const EventContext &ctx, const MM_RawData *mmRawData, NSWCalib::CalibratedStrip &calibStrip) const override |
| StatusCode | calibrateStrip (const EventContext &ctx, const STGC_RawData *sTGCRawData, NSWCalib::CalibratedStrip &calibStrip) const override |
| bool | tdoToTime (const EventContext &ctx, const bool inCounts, const int tdo, const Identifier &chnlId, float &time, const int relBCID) const override |
| bool | timeToTdo (const EventContext &ctx, const float time, const Identifier &chnlId, int &tdo, int &relBCID) const override |
| bool | chargeToPdo (const EventContext &ctx, const float charge, const Identifier &chnlId, int &pdo) const override |
| bool | pdoToCharge (const EventContext &ctx, const bool inCounts, const int pdo, const Identifier &chnlId, float &charge) const override |
| virtual StatusCode | initialize () override |
| NSWCalib::MicroMegaGas | mmGasProperties () const override |
| float | mmPeakTime () const override |
| float | stgcPeakTime () const override |
Private Types | |
| using | angleFunction = NSWCalib::MicroMegaGas::angleFunction |
Private Member Functions | |
| StatusCode | loadMagneticField (const EventContext &ctx, MagField::AtlasFieldCache &fieldCache) const |
| bool | timeToTdoMM (const NswCalibDbTimeChargeData *tdoPdoData, const float time, const Identifier &chnlId, int &tdo, int &relBCID) const |
| bool | timeToTdoSTGC (const NswCalibDbTimeChargeData *tdoPdoData, const float time, const Identifier &chnlId, int &tdo, int &relBCID) const |
| float | applyT0Calibration (const EventContext &ctx, const Identifier &id, float time) const |
| StatusCode | initializeGasProperties () |
| std::optional< Amg::Vector2D > | localStripPosition (const EventContext &ctx, const Identifier &id) const |
Private Attributes | |
| ServiceHandle< IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "MuonIdHelperSvc/MuonIdHelperSvc"} |
| SG::ReadCondHandleKey< AtlasFieldCacheCondObj > | m_fieldCondObjInputKey {this, "AtlasFieldCacheCondObj", "fieldCondObj"} |
| SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > | m_muDetMgrKey {this, "DetectorManagerKey", "MuonDetectorManager", "Key of input MuonDetectorManager condition data"} |
| SG::ReadCondHandleKey< NswCalibDbTimeChargeData > | m_condTdoPdoKey {this, "condTdoPdoKey", "NswCalibDbTimeChargeData", "Key of NswCalibDbTimeChargeData object containing calibration data (TDO and PDO)"} |
| SG::ReadCondHandleKey< NswT0Data > | m_condT0Key {this, "condT0Key", "NswT0Data", "Key of NswT0Data containing the t0 calibration data"} |
| Gaudi::Property< bool > | m_isData {this, "isData", false, "Processing data"} |
| Gaudi::Property< bool > | m_CalibDriftVelocityFromData {this, "calibrateDriftVelocityFromData", false, "calibrateDriftVelocityFromData"} |
| SG::ReadCondHandleKey< MmCTPClusterCalibData > | m_ctpClusterCalibKey {this, "CTPClusterCalibKey", "MmCTPClusterCalibData", "Key of the CTP cluster calibration corrections"} |
| Gaudi::Property< double > | m_vDrift {this, "DriftVelocity",0.047, "Drift velocity"} |
| Gaudi::Property< double > | m_timeRes {this, "TimeResolution", 25., "Time resolution"} |
| Gaudi::Property< double > | m_longDiff {this, "longDiff", 0.019} |
| Gaudi::Property< double > | m_transDiff {this, "transDiff", 0.036} |
| Gaudi::Property< double > | m_ionUncertainty {this,"ionUncertainty", 4.0} |
| Gaudi::Property< float > | m_mmPeakTime {this, "mmPeakTime", 200.} |
| Gaudi::Property< float > | m_stgcPeakTime {this, "sTgcPeakTime", 0.} |
| Gaudi::Property< std::string > | m_gasMixture {this, "GasMixture", "ArCo2_937"} |
| Gaudi::Property< float > | m_mmLatencyMC {this,"mmLatencyMC",25} |
| Gaudi::Property< float > | m_mmLatencyData {this,"mmLatencyData",0} |
| Gaudi::Property< float > | m_stgcLatencyMC {this,"stgcLatencyMC",-50} |
| Gaudi::Property< float > | m_stgcLatencyData {this,"stgcLatencyData",-50} |
| Gaudi::Property< bool > | m_applyMmT0Calib {this, "applyMmT0Calib", false, "apply the MM t0 calibration"} |
| Gaudi::Property< bool > | m_applysTgcT0Calib {this, "applysTgcT0Calib", false, "apply the sTGC t0 calibration"} |
| Gaudi::Property< bool > | m_applyMmBFieldCalib {this, "applyMmBFieldCalib", true, "apply the MM BField correction in reconstruction"} |
| Gaudi::Property< float > | m_mmT0TargetValue {this, "mmT0TargetValue", 50.0, "target mean value for the MM t0 calibration"} |
| Gaudi::Property< float > | m_stgcT0TargetValue {this,"stgcT0TargetValue", 0.0 ,"target mean value for the sTGC t0 calibration"} |
| double | m_interactionDensitySigma {0.0F} |
| double | m_interactionDensityMean {0.0F} |
| angleFunction | m_lorentzAngleFunction {NSWCalib::MicroMegaGas::dummy_func()} |
Definition at line 26 of file NSWCalibTool.h.
Definition at line 114 of file NSWCalibTool.h.
Definition at line 34 of file NSWCalibTool.h.
Definition at line 33 of file NSWCalibTool.h.
|
virtualdefault |
|
private |
Definition at line 458 of file NSWCalibTool.cxx.
|
override |
magnetic field
get the component parallel to to the eta strips (same used in digitization)
swap sign depending on the readout side
loop over prepData strips
Definition at line 116 of file NSWCalibTool.cxx.
|
override |
magnetic field
get the component parallel to to the eta strips (same used in digitization)
swap sign depending on the readout side
loop over prepData strips
Definition at line 77 of file NSWCalibTool.cxx.
|
override |
transversal and longitudinal components of the resolution
Definition at line 160 of file NSWCalibTool.cxx.
|
override |
Hopefully this does not trigger the T0 reference test....
Definition at line 217 of file NSWCalibTool.cxx.
|
override |
Hopefully this does not trigger the T0 reference test....
Definition at line 272 of file NSWCalibTool.cxx.
|
override |
Definition at line 346 of file NSWCalibTool.cxx.
|
override |
retrieve the magnetic field
get the component parallel to to the eta strips (same used in digitization)
swap sign depending on the readout side
loop over drift distances
Definition at line 316 of file NSWCalibTool.cxx.
|
overridevirtual |
Definition at line 49 of file NSWCalibTool.cxx.
|
private |
Definition at line 63 of file NSWCalibTool.cxx.
|
private |
Definition at line 310 of file NSWCalibTool.cxx.
|
private |
Definition at line 518 of file NSWCalibTool.cxx.
|
override |
Definition at line 506 of file NSWCalibTool.cxx.
|
inlineoverride |
Definition at line 59 of file NSWCalibTool.h.
|
override |
Definition at line 370 of file NSWCalibTool.cxx.
|
inlineoverride |
Definition at line 60 of file NSWCalibTool.h.
|
override |
Definition at line 478 of file NSWCalibTool.cxx.
|
override |
Definition at line 398 of file NSWCalibTool.cxx.
|
private |
Definition at line 407 of file NSWCalibTool.cxx.
|
private |
Definition at line 433 of file NSWCalibTool.cxx.
|
private |
Definition at line 104 of file NSWCalibTool.h.
|
private |
Definition at line 101 of file NSWCalibTool.h.
|
private |
Definition at line 102 of file NSWCalibTool.h.
|
private |
Definition at line 78 of file NSWCalibTool.h.
|
private |
Definition at line 74 of file NSWCalibTool.h.
|
private |
Definition at line 73 of file NSWCalibTool.h.
|
private |
Definition at line 79 of file NSWCalibTool.h.
|
private |
Definition at line 71 of file NSWCalibTool.h.
|
private |
Definition at line 90 of file NSWCalibTool.h.
|
private |
Definition at line 70 of file NSWCalibTool.h.
|
private |
Definition at line 112 of file NSWCalibTool.h.
|
private |
Definition at line 111 of file NSWCalibTool.h.
|
private |
Definition at line 87 of file NSWCalibTool.h.
|
private |
Definition at line 76 of file NSWCalibTool.h.
|
private |
Definition at line 85 of file NSWCalibTool.h.
|
private |
Definition at line 115 of file NSWCalibTool.h.
|
private |
Definition at line 95 of file NSWCalibTool.h.
|
private |
Definition at line 94 of file NSWCalibTool.h.
|
private |
Definition at line 88 of file NSWCalibTool.h.
|
private |
Definition at line 107 of file NSWCalibTool.h.
|
private |
Definition at line 72 of file NSWCalibTool.h.
|
private |
Definition at line 98 of file NSWCalibTool.h.
|
private |
Definition at line 97 of file NSWCalibTool.h.
|
private |
Definition at line 89 of file NSWCalibTool.h.
|
private |
Definition at line 108 of file NSWCalibTool.h.
|
private |
Definition at line 84 of file NSWCalibTool.h.
|
private |
Definition at line 86 of file NSWCalibTool.h.
|
private |
Definition at line 83 of file NSWCalibTool.h.