|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CALOUTILS_CALOLCCOEFFHELPER_H
6 #define CALOUTILS_CALOLCCOEFFHELPER_H
34 if(dimensionName ==
"DIMC_SIDE") {
36 }
else if(dimensionName ==
"DIMC_ETA") {
38 }
else if(dimensionName ==
"DIMC_PHI") {
40 }
else if(dimensionName ==
"DIMC_ENER") {
42 }
else if(dimensionName ==
"DIMC_EDENS") {
44 }
else if(dimensionName ==
"DIMC_LAMBDA") {
47 }
else if(dimensionName ==
"DIMW_SIDE") {
49 }
else if(dimensionName ==
"DIMW_ETA") {
51 }
else if(dimensionName ==
"DIMW_PHI") {
53 }
else if(dimensionName ==
"DIMW_ENER") {
55 }
else if(dimensionName ==
"DIMW_EDENS") {
58 }
else if(dimensionName ==
"DIMO_SIDE") {
60 }
else if(dimensionName ==
"DIMO_PHI") {
62 }
else if(dimensionName ==
"DIMO_ENER") {
64 }
else if(dimensionName ==
"DIMO_ETA") {
66 }
else if(dimensionName ==
"DIMO_LAMBDA") {
69 }
else if(dimensionName ==
"DIMD_EMFRAC") {
71 }
else if(dimensionName ==
"DIMD_SIDE") {
73 }
else if(dimensionName ==
"DIMD_ETA") {
75 }
else if(dimensionName ==
"DIMD_PHI") {
77 }
else if(dimensionName ==
"DIMD_ENER") {
79 }
else if(dimensionName ==
"DIMD_LAMBDA") {
89 static std::optional<CaloLocalHadCoeff::LocalHadDimension>
parse_dim(
const std::string &sLine);
static const CaloLocalHadCoeff::LocalHadArea * getAreaFromName(const CaloLocalHadCoeff *m_coeff, const std::string &sname, int &m_indx)
static CaloLocalHadDefs::LocalHadDimensionId getDimensionId(const std::string &dimensionName)
static std::optional< CaloLocalHadCoeff > InitDataFromFile(const char *fname)
virtual ~CaloLCCoeffHelper()
LocalHadDimensionId
enums to identify user dimensions id number DIMC_* - classification, DIMW_*-weighting,...
std::vector< float > LocalHadCoeff
Correction parameters for one general bin.
Hold binned correction data for local hadronic calibration procedure.
static bool Interpolate(const CaloLocalHadCoeff *m_data, const unsigned int n_area, std::vector< float > &x, CaloLocalHadCoeff::LocalHadCoeff &pars, const std::vector< int > &dim, double xfit=0.)
Definition of correction area.
static std::optional< CaloLocalHadCoeff::LocalHadDimension > parse_dim(const std::string &sLine)
static void PrintData(CaloLocalHadCoeff *m_data, std::ostream &fout)