27 : energyScale(energyScaleVal),
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",
"")),
58 constrainZresponseStr (settings.GetValue(compPrefix+
"ConstrainZresponse",
"")),
59 constrainZresponseFunc (settings.GetValue(compPrefix+
"ConstrainZresponseFunc",
"")),
60 LargeRJetTruthLabelName (settings.GetValue(compPrefix+
"LargeRJetTruthLabelName",
"R10TruthLabel_R21Consolidated")),
61 LargeRJetTruthLabelsForSFstr (settings.GetValue(compPrefix+
"LargeRJetTruthLabelForSF",
"")),
62 RegionForSFstr (settings.GetValue(compPrefix+
"RegionForSF",
"")),
63 ResultName (settings.GetValue(compPrefix+
"ResultName",
"")),
71 isSpecial ((!special.CompareTo(
"true",TString::kIgnoreCase)) || (!special.CompareTo(
"yes",TString::kIgnoreCase))),
79 constrainZresponse ((!constrainZresponseStr.CompareTo(
"true",TString::kIgnoreCase)) || (!constrainZresponseStr.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)),
161 :
asg::AsgMessaging(
"")
173 :
asg::AsgMessaging(confPrefix.
Data())
175 , m_confPrefix(confPrefix)
177 , m_energyScale(energyScaleVal)
193 return StatusCode::FAILURE;
200 return StatusCode::FAILURE;
207 return StatusCode::FAILURE;
211 return StatusCode::SUCCESS;
288 const TString NOPREFIX =
"NOPREFIX_";
317 for (
size_t iSubComp = 0; iSubComp <
m_cInfo->
subComps.size(); ++iSubComp)