 |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef MUONCALIBR4_MDTANALYTICCALIBALG_H
10 #define MUONCALIBR4_MDTANALYTICCALIBALG_H
21 #include "Acts/Utilities/Helpers.hpp"
29 using AthReentrantAlgorithm::AthReentrantAlgorithm;
44 void drawRt(
const EventContext& ctx,
46 const std::vector<MuonCalib::SamplePoint>& rtPoints,
51 const std::vector<MuonCalib::SamplePoint>& resoPoints,
74 "Conditions object containing the calibrations"};
77 Gaudi::Property<unsigned>
m_maxOrder{
this,
"maxOrder", 12};
85 Gaudi::Property<double>
m_relUncReso{
this,
"RelUncertOnReso", 0.01};
94 Gaudi::Property<std::string>
m_outStream{
this,
"OutStream",
"MDTANALYTICRTS"};
Gaudi::Property< int > m_polyTypeTr
Toggle the polynomial for the Rt-relation: ChebyChev or Legendre.
Gaudi::Property< unsigned > m_maxOrderReso
Maximal order to use for the resolution
Gaudi::Property< bool > m_saveDiagnostic
Save diagnostic histograms.
Gaudi::Property< bool > m_fillMissingCh
At the end of the translation, it's checked whether all channels have been assigned.
RtRelationPtr translateRt(const EventContext &ctx, const Identifier &detId, const MuonCalib::MdtRtRelation &inRel) const
Translates the rt / tr & resolution relation from a look-up table into the requested polynomial type.
bool const RAWDATA *ch2 const
virtual StatusCode initialize() override final
class which holds calibration constants per rt-region
ServiceHandle< MuonValR4::IRootVisualizationService > m_visualSvc
Service handle of the visualization service.
Token class to identify a particular visualization client.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< double > m_relUncReso
Assignment of the relative uncertainty on each resolution data point.
Gaudi::Property< unsigned > m_precCutOff
Precision cut-off to treat two incoming rt-relations as equivalent.
SG::WriteCondHandleKey< MuonCalib::MdtCalibDataContainer > m_writeKey
Gaudi::Property< unsigned > m_maxOrder
Maximum order of the polynomial in use.
::StatusCode StatusCode
StatusCode definition for legacy code.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
SG::ReadCondHandleKey< MuonCalib::MdtCalibDataContainer > m_readKey
Gaudi::Property< std::string > m_outStream
StreamName of the diagnostic histograms.
std::vector< Identifier > tubeIds(const Identifier &chId) const
void drawRt(const EventContext &ctx, const Identifier &detId, const std::vector< MuonCalib::SamplePoint > &rtPoints, const MuonCalib::MdtRtRelation &inRel) const
Gaudi::Property< float > m_missingT0
Default t0 constant to use, in case there's
MuonValR4::IRootVisualizationService::ClientToken m_clientToken
Token to be presented to the visualization service
Generic interface to retrieve the resolution on the drift radius as a function of the drift time.
GeoModel::TransientConstSharedPtr< MdtRtRelation > RtRelationPtr
Gaudi::Property< float > m_chiCutOff
Stop incrementing the order once the chi2CutOff is reached
virtual ~MdtAnalyticRtCalibAlg()=default
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode execute(const EventContext &ctx) const override final
void drawResoFunc(const EventContext &ctx, const Identifier &detId, const std::vector< MuonCalib::SamplePoint > &resoPoints, const MuonCalib::IRtResolution &inReso) const
Gaudi::Property< bool > m_fitRtReso
Toggle whether the resolution shall be also converted into a polynomial.
Gaudi::Property< int > m_polyTypeRt
Toggle the polynomial for the Rt-relation: ChebyChev or Legendre.