|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCONDDATA_NSWERRORCALIBDATA_H
6 #define MUONCONDDATA_NSWERRORCALIBDATA_H
43 const std::vector<double>&
pars)>;
67 const std::vector<double>&
pars()
const {
return m_pars; }
96 using ErrorMap = std::unordered_map<Identifier, ErrorConstantsSet>;
Hold mappings of ranges to condition objects.
double clusterUncertainty(const Input &clustInfo) const
Calculates the cluster uncertainty.
uint16_t m_stripMin
Strip range for which the constants are valid.
Eigen::Matrix< double, 2, 1 > Vector2D
bool operator<(const NswErrorCalibData::ErrorConstants &a, const NswErrorCalibData::ErrorIdentifier &b)
std::function< double(const Input &input, const std::vector< double > &pars)> errorParametrizer
Helper struct to store different error calibrations for a certain channel range & also for seperate C...
std::vector< double > m_pars
const Muon::IMuonIdHelperSvc * m_idHelperSvc
~NswErrorCalibData()=default
CLASS_DEF(NswErrorCalibData, 118696870, 1)
static errorParametrizer getParametrizer(const std::string &funcName)
ErrorConstants(const std::string &funcName, uint8_t author, uint16_t minStrip, uint16_t maxStrip, std::vector< double > &¶meters)
NswErrorCalibData(const Muon::IMuonIdHelperSvc *idHelperSvc)
uint8_t m_clusAlgAuthor
Author of the cluster to apply the error.
Provide an interface for finding inheritance information at run time.
std::unordered_map< Identifier, ErrorConstantsSet > ErrorMap
uint16_t maxStrip() const
Returns the maximal strip of validity.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool operator<(const ErrorConstants &other) const
Class to provide easy MsgStream access and capabilities.
double clusterUncertainty(const Input &clustInfo) const
std::set< ErrorConstants, std::less<> > ErrorConstantsSet
Share the same error constants amongst several gasGaps.
uint8_t author() const
Returns the cluster author flag.
StatusCode storeConstants(const Identifier &gasGapId, ErrorConstants &&newConstants)
errorParametrizer m_evalFunc
const std::vector< double > & pars() const
uint16_t minStrip() const
Returns the minimal strip of validitiy.
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
CONDCONT_DEF(NswErrorCalibData, 134103948)