40 name (TString(settings.GetValue(compPrefix+
"Name",
"")).ReplaceAll(
"MCTYPE",MCtype)),
41 param (settings.GetValue(compPrefix+
"Param",
"")),
42 massDefStr (settings.GetValue(compPrefix+
"MassDef",
"")),
43 scale (settings.GetValue(compPrefix+
"Scale",
"FourVec")),
44 topologyStr (settings.GetValue(compPrefix+
"Topology",
"")),
45 interpolStr (settings.GetValue(compPrefix+
"Interp",
"true")),
46 special (settings.GetValue(compPrefix+
"Special",
"")),
47 uncNameList (TString(settings.GetValue(compPrefix+
"Hists",
"")).ReplaceAll(
"MCTYPE",MCtype)),
48 validName (TString(settings.GetValue(compPrefix+
"VHist",
"")).ReplaceAll(
"MCTYPE",MCtype)),
49 subCompList (TString(settings.GetValue(compPrefix+
"SubComp",
"")).ReplaceAll(
"MCTYPE",MCtype)),
50 splitNum (settings.GetValue(compPrefix+
"Split",0)),
51 groupNum (settings.GetValue(compPrefix+
"Group",0)),
52 combMassStr (settings.GetValue(compPrefix+
"CombMassType",
"")),
53 caloMassTerm(settings.GetValue(compPrefix+
"CaloMassTerm",
"")),
54 TAMassTerm (settings.GetValue(compPrefix+
"TAMassTerm",
"")),
55 caloMassDef (settings.GetValue(compPrefix+
"CaloMassDef",
"")),
56 TAMassDef (settings.GetValue(compPrefix+
"TAMassDef",
"")),
57 truthLabelStr (settings.GetValue(compPrefix+
"TruthLabels",
"")),
60 LargeRJetTruthLabelName (settings.GetValue(compPrefix+
"LargeRJetTruthLabelName",
"R10TruthLabel_R21Consolidated")),
63 ResultName (settings.GetValue(compPrefix+
"ResultName",
"")),
71 isSpecial ((!
special.CompareTo(
"true",TString::kIgnoreCase)) || (!
special.CompareTo(
"yes",TString::kIgnoreCase))),
81 TString LargeRJetTruthLabelStrOld (settings.GetValue(compPrefix+
"FatjetTruthLabels",
""));
82 TString LargeRJetTruthLabelStrNew = settings.GetValue(compPrefix+
"LargeRJetTruthLabels",
"");
83 if (LargeRJetTruthLabelStrOld !=
"" && LargeRJetTruthLabelStrNew !=
"")
84 throw std::runtime_error(
"ERROR: double-specification of the LargeRJetTruthLabels/FatjetTruthLabels property");
85 else if (LargeRJetTruthLabelStrNew !=
"")
97 throw std::runtime_error(Form(
"ERROR: Unable to convert specified LargeRJetTruthLabel to a recognized enum value, please check the configuration file for mistakes: %s",aVal.Data()));
107 throw std::runtime_error(Form(
"ERROR: Unable to convert specified LargeRJetTruthLabelForSF to a recognized enum value, please check the configuration file for mistakes: %s",aVal.Data()));
137 name (TString(settings.GetValue(groupPrefix+
"Name",
"")).ReplaceAll(
"MCTYPE",MCtype)),
138 desc (settings.GetValue(groupPrefix+
"Desc",
"")),
139 cat (settings.GetValue(groupPrefix+
"Type",
"")),
140 corr (settings.GetValue(groupPrefix+
"Corr",
"")),
141 isRed (settings.GetValue(groupPrefix+
"Reducible",
"true")),
142 groupNum (settings.GetValue(groupPrefix+
"Group",0)),
143 subgroupNum (settings.GetValue(groupPrefix+
"SubGroup",0)),
288 const TString NOPREFIX =
"NOPREFIX_";
293 if (
m_gInfo->name.BeginsWith(NOPREFIX))
297 else if (!
m_gInfo->name.BeginsWith(prefix,TString::kIgnoreCase))
300 else if (!
m_gInfo->name.BeginsWith(prefix))
301 m_gInfo->name.Replace(0,prefix.Length(),prefix);