![]() |
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 Muon::MMPrepData *prepData, const Amg::Vector3D &globalPos, std::vector< NSWCalib::CalibratedStrip > &calibClus) const override |
| StatusCode | distToTime (const EventContext &ctx, const Muon::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 Muon::MM_RawData *mmRawData, NSWCalib::CalibratedStrip &calibStrip) const override |
| StatusCode | calibrateStrip (const EventContext &ctx, const Muon::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 | |
| const NswCalibDbTimeChargeData * | getCalibData (const EventContext &ctx) const |
| bool | loadMagneticField (const EventContext &ctx, MagField::AtlasFieldCache &fieldCache) const |
| const Muon::mmCTPClusterCalibData * | getCTPClusterCalibData (const EventContext &ctx) 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 () |
| bool | localStripPosition (const Identifier &id, Amg::Vector2D &locPos) const |
Private Attributes | |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::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< Muon::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 116 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 462 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 138 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 99 of file NSWCalibTool.cxx.
|
override |
transversal and longitudinal components of the resolution
Definition at line 182 of file NSWCalibTool.cxx.
|
override |
Definition at line 229 of file NSWCalibTool.cxx.
|
override |
Definition at line 281 of file NSWCalibTool.cxx.
|
override |
Definition at line 354 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 328 of file NSWCalibTool.cxx.
|
private |
Definition at line 78 of file NSWCalibTool.cxx.
|
private |
Definition at line 88 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 319 of file NSWCalibTool.cxx.
|
private |
Definition at line 522 of file NSWCalibTool.cxx.
|
override |
Definition at line 510 of file NSWCalibTool.cxx.
|
inlineoverride |
Definition at line 59 of file NSWCalibTool.h.
|
override |
Definition at line 378 of file NSWCalibTool.cxx.
|
inlineoverride |
Definition at line 60 of file NSWCalibTool.h.
|
override |
Definition at line 482 of file NSWCalibTool.cxx.
|
override |
Definition at line 402 of file NSWCalibTool.cxx.
|
private |
Definition at line 411 of file NSWCalibTool.cxx.
|
private |
Definition at line 437 of file NSWCalibTool.cxx.
|
private |
Definition at line 106 of file NSWCalibTool.h.
|
private |
Definition at line 103 of file NSWCalibTool.h.
|
private |
Definition at line 104 of file NSWCalibTool.h.
|
private |
Definition at line 80 of file NSWCalibTool.h.
|
private |
Definition at line 76 of file NSWCalibTool.h.
|
private |
Definition at line 75 of file NSWCalibTool.h.
|
private |
Definition at line 81 of file NSWCalibTool.h.
|
private |
Definition at line 73 of file NSWCalibTool.h.
|
private |
Definition at line 92 of file NSWCalibTool.h.
|
private |
Definition at line 72 of file NSWCalibTool.h.
|
private |
Definition at line 114 of file NSWCalibTool.h.
|
private |
Definition at line 113 of file NSWCalibTool.h.
|
private |
Definition at line 89 of file NSWCalibTool.h.
|
private |
Definition at line 78 of file NSWCalibTool.h.
|
private |
Definition at line 87 of file NSWCalibTool.h.
|
private |
Definition at line 117 of file NSWCalibTool.h.
|
private |
Definition at line 97 of file NSWCalibTool.h.
|
private |
Definition at line 96 of file NSWCalibTool.h.
|
private |
Definition at line 90 of file NSWCalibTool.h.
|
private |
Definition at line 109 of file NSWCalibTool.h.
|
private |
Definition at line 74 of file NSWCalibTool.h.
|
private |
Definition at line 100 of file NSWCalibTool.h.
|
private |
Definition at line 99 of file NSWCalibTool.h.
|
private |
Definition at line 91 of file NSWCalibTool.h.
|
private |
Definition at line 110 of file NSWCalibTool.h.
|
private |
Definition at line 86 of file NSWCalibTool.h.
|
private |
Definition at line 88 of file NSWCalibTool.h.
|
private |
Definition at line 85 of file NSWCalibTool.h.