11 namespace CalibInitializer {
15 std::map<SagittaCorrection, std::shared_ptr<CalibContainer>> calibMap;
17 std::string
path =
"MuonMomentumCorrections/" + recommendationPath +
"/sagittaBias/" +
MCP::toString(dataYear) +
"/";
21 if(correctionType ==
"data")
23 path += trackType +
"_data.root";
28 else if(correctionType ==
"mc")
30 path += trackType +
"_mc.root";
35 throw std::invalid_argument(
"Cannot recognize saggita correction type: " + correctionType);
42 std::map<ScaleResCorrection, std::shared_ptr<CalibContainer>> calibMap;
45 std::string
path =
"MuonMomentumCorrections/" + recommendationPath +
"/ScaleAndSmear/" +
MCP::toString(dataYear) +
"/";
48 path += trackType +
".root";
59 std::map<MST_Categories, std::shared_ptr<CalibContainer>>
createHighpTCorrMap(
DataYear dataYear,
const std::string&
type,
const std::string& recommendationPath,
const std::string& param)
61 std::map<MST_Categories, std::shared_ptr<CalibContainer>> calibMap;
62 std::string
path =
"MuonMomentumCorrections/" + recommendationPath +
"/ScaleAndSmear/" +
MCP::toString(dataYear) +
"/ExtraHighPt_"+
type+
"_muons.root";
75 std::map<ExpectedResParam, std::shared_ptr<CalibContainer>> calibMap;
76 std::string
path =
"MuonMomentumCorrections/" + recommendationPath +
"/ScaleAndSmear/" +
MCP::toString(dataYear) +
"/MC_values_muons.root";