ATLAS Offline Software
Loading...
Searching...
No Matches
mmCTPClusterCalibData.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONCONDDATA_MMCTPCLUSTERCALIBDATA_H
6#define MUONCONDDATA_MMCTPCLUSTERCALIBDATA_H
7
8
9// Athena includes
16
17namespace Muon{
19 public:
20
22 public:
23 CTPParameters() = default;
24 CTPParameters(std::array<double, 2>&& pars);
25 CTPParameters(CTPParameters&& other) noexcept : m_pars(std::move(other.m_pars)) {}
27
28 const std::array<double, 2>& pars() const { return m_pars; }
29
30 private:
31 std::array<double, 2> m_pars{0., 0.};
32
33 };
34
37
38 StatusCode storeConstants(const Identifier& gasGapId, CTPParameters&& newConstants);
39 double getCTPCorrectedDriftVelocity(const Identifier& identifier, const double theta) const;
40
41 private:
43 using parameterMap = std::unordered_map<Identifier, CTPParameters>;
45};
46
47} // end for Muon namespace
48
49
52
53#endif
Scalar theta() const
theta method
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
Provide an interface for finding inheritance information at run time.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
CTPParameters(CTPParameters &&other) noexcept
const std::array< double, 2 > & pars() const
CTPParameters & operator=(CTPParameters &&other)=default
double getCTPCorrectedDriftVelocity(const Identifier &identifier, const double theta) const
StatusCode storeConstants(const Identifier &gasGapId, CTPParameters &&newConstants)
std::unordered_map< Identifier, CTPParameters > parameterMap
const Muon::IMuonIdHelperSvc * m_idHelperSvc
mmCTPClusterCalibData(const Muon::IMuonIdHelperSvc *idHelperSvc)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.