 |
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "nlohmann/json.hpp"
47 "Conditions object containing the calibrations"};
49 Gaudi::Property<std::string>
m_rtJSON{
this,
"RtJSON",
"RtRelations.json"};
50 Gaudi::Property<std::string>
m_t0JSON{
this,
"TubeT0JSON",
"TubeT0.json"};
54 Gaudi::Property<unsigned>
m_precision{
this,
"FloatPrecision", 4};
MuonVal::MuonTesterTree m_rtDumpTree
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
MuonVal::VectorBranch< unsigned short > & m_t0_tubeLayer
StatusCode dumpRtRelations(const EventContext &ctx, const RtGrouper &rtRelMap, const EventIDRange &eventRange)
writes the RT relations into the JSON & output root file
MuonVal::VectorBranch< double > & m_rt_pars
parameters of the rt-function
MuonVal::VectorBranch< double > & m_tr_pars
parameters of the tr-function
MuonVal::VectorBranch< std::string > & m_rt_stName
Station name string of the associated chambers.
Helper struct to group Mdt calibration constants which are equivalent within the target precision.
SG::ReadCondHandleKey< MuonCalib::MdtCalibDataContainer > m_readKey
std::map< Identifier, T0PerChamb > T0Grouper
MuonVal::ScalarBranch< float > & m_t0_adc
MuonVal::VectorBranch< unsigned short > & m_rt_stPhi
Station phi of the associated chamber.
MuonVal::VectorBranch< unsigned short > & m_t0_multiLayer
bool const RAWDATA *ch2 const
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Gaudi::Property< unsigned > m_whiteSpace
MuonVal::EventIDBranch m_rt_iov_end
Data mebmers to save the IOV range (End point)
MuonVal::ScalarBranch< std::string > & m_t0_stName
MuonVal::ScalarBranch< std::string > & m_tr_type
String defining the type of the tr function.
MuonVal::ScalarBranch< unsigned short > & m_t0_code
std::map< const SingleTubeCalib *, std::set< Identifier >, CalibParamSorter > T0PerChamb
MuonVal::ScalarBranch< short > & m_t0_stEta
Gaudi::Property< bool > m_savePerIOV
::StatusCode StatusCode
StatusCode definition for legacy code.
MuonVal::MuonTesterTree m_t0DumpTree
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Gaudi::Property< unsigned > m_precision
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
MuonVal::ScalarBranch< float > & m_t0_t0
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
MuonVal::VectorBranch< unsigned short > & m_t0_tube
virtual ~MdtCalibJsonDumpAlg()
std::string dump(const std::vector< double > &values) const
Branch class to dump a EventIDBase object into a MuonTesterTree format.
ScalarBranch< T > & newScalar(const std::string &name)
MuonVal::EventIDBranch m_t0_iov_end
Data mebmers to save the IOV range (End point)
MuonVal::ScalarBranch< unsigned short > & m_t0_stPhi
virtual StatusCode finalize() override final
MuonVal::VectorBranch< unsigned short > & m_rt_stMl
Multi layer of the associated chamber.
std::map< const MuonCalib::MdtRtRelation *, std::set< Identifier >, CalibParamSorter > RtGrouper
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
virtual StatusCode execute() override final
MuonVal::VectorBranch< double > & m_rt_resoPars
parameters of the rt resolution function
virtual StatusCode initialize() override final
MuonVal::EventIDBranch m_t0_iov_start
Data mebmers to save the IOV range (Start point)
MuonVal::VectorBranch< short > & m_rt_stEta
Station eta of the associated chambers.
std::string toString(const EventIDRange &range) const
Gaudi::Property< std::string > m_rtJSON
MuonVal::ScalarBranch< std::string > & m_rt_resoType
string defining the type of the rt resolution function
std::vector< EventIDRange > m_seenIDs
Gaudi::Property< std::string > m_t0JSON
MuonVal::ScalarBranch< std::string > & m_rt_type
string defining the type of the rt function
MuonVal::EventIDBranch m_rt_iov_start
Data mebmers to save the IOV range (Start point)
StatusCode dumpTubeT0s(const EventContext &ctx, const T0Grouper &t0Map, const EventIDRange &eventRange)