5 #include "CAFAna/Core/Var.h" 19 std::map<std::string, std::vector<std::string> > shiftLabels;
22 shiftLabels[
"BeamHornCurrent"] = std::vector<std::string>();
23 shiftLabels[
"BeamSpotSize"] = std::vector<std::string>();
24 shiftLabels[
"BeamposX"] = std::vector<std::string>();
25 shiftLabels[
"BeamposY"] = std::vector<std::string>();
26 shiftLabels[
"BeamH1PosX"] = std::vector<std::string>();
27 shiftLabels[
"BeamH1PosY"] = std::vector<std::string>();
28 shiftLabels[
"BeamH2PosX"] = std::vector<std::string>();
29 shiftLabels[
"BeamH2PosY"] = std::vector<std::string>();
30 shiftLabels[
"TargetPosZ"] = std::vector<std::string>();
31 shiftLabels[
"BeamExp"] = std::vector<std::string>();
32 shiftLabels[
"HornWater"] = std::vector<std::string>();
36 shiftLabels[
"BeamHornCurrent"].push_back(
"2kA");
37 shiftLabels[
"BeamHornCurrent"].push_back(
"Horn Current");
38 shiftLabels[
"BeamSpotSize"] .push_back(
"0.2mmBeamSpotSize");
39 shiftLabels[
"BeamSpotSize"] .push_back(
"Spot Size");
40 shiftLabels[
"BeamposX"] .push_back(
"1mmBeamShiftX");
41 shiftLabels[
"BeamposX"] .push_back(
"Beam Position X");
42 shiftLabels[
"BeamposY"] .push_back(
"1mmBeamShiftY");
43 shiftLabels[
"BeamposY"] .push_back(
"Beam Position Y");
44 shiftLabels[
"BeamH1PosX"] .push_back(
"3mmHorn1X");
45 shiftLabels[
"BeamH1PosX"] .push_back(
"Horn 1 X Position");
46 shiftLabels[
"BeamH1PosY"] .push_back(
"3mmHorn1Y");
47 shiftLabels[
"BeamH1PosY"] .push_back(
"Horn 1 Y Position");
48 shiftLabels[
"BeamH2PosX"] .push_back(
"3mmHorn2X");
49 shiftLabels[
"BeamH2PosX"] .push_back(
"Horn 2 X Position");
50 shiftLabels[
"BeamH2PosY"] .push_back(
"3mmHorn2Y");
51 shiftLabels[
"BeamH2PosY"] .push_back(
"Horn 2 Y Position");
52 shiftLabels[
"TargetPosZ"] .push_back(
"7mmTargetZ");
53 shiftLabels[
"TargetPosZ"] .push_back(
"Target Z position");
54 shiftLabels[
"BeamExp"] .push_back(
"Magnetic Field in Decay Pipe");
55 shiftLabels[
"BeamExp"] .push_back(
"Magnet Field in Decay Pipe");
56 shiftLabels[
"HornWater"] .push_back(
"1mmHornWater");
57 shiftLabels[
"HornWater"] .push_back(
"New Horn Geometry and 1mm water");
68 std::vector<Var> ppfxFluxUnivWgts;
70 for (
unsigned int UnivIdx = 0; UnivIdx < 100; UnivIdx++) {
79 ppfxFluxUnivWgts.push_back(ppfxFluxUnivWgt);
83 return ppfxFluxUnivWgts;
90 std::map<std::string, rwgt::ReweightLabel_t> shiftlabels;
93 shiftlabels[
"ReweightMaNCEL"] = rwgt::fReweightMaNCEL;
95 shiftlabels[
"ReweightEtaNCEL"] = rwgt::fReweightEtaNCEL;
99 shiftlabels[
"ReweightVecCCQEshape"] = rwgt::fReweightVecCCQEshape;
101 shiftlabels[
"ReweightMaCCRES"] = rwgt::fReweightMaCCRES;
103 shiftlabels[
"ReweightMvCCRES"] = rwgt::fReweightMvCCRES;
105 shiftlabels[
"ReweightMaNCRES"] = rwgt::fReweightMaNCRES;
107 shiftlabels[
"ReweightMvNCRES"] = rwgt::fReweightMvNCRES;
111 shiftlabels[
"ReweightMaCOHpi"] = rwgt::fReweightMaCOHpi;
113 shiftlabels[
"ReweightR0COHpi"] = rwgt::fReweightR0COHpi;
115 shiftlabels[
"ReweightAhtBY"] = rwgt::fReweightAhtBY;
117 shiftlabels[
"ReweightBhtBY"] = rwgt::fReweightBhtBY;
119 shiftlabels[
"ReweightCV1uBY"] = rwgt::fReweightCV1uBY;
121 shiftlabels[
"ReweightCV2uBY"] = rwgt::fReweightCV2uBY;
131 shiftlabels[
"ReweightNormDISCC"] = rwgt::fReweightNormDISCC;
133 shiftlabels[
"ReweightRnubarnuCC"] = rwgt::fReweightRnubarnuCC;
135 shiftlabels[
"ReweightDISNuclMod"] = rwgt::fReweightDISNuclMod;
139 shiftlabels[
"ReweightNC"] = rwgt::fReweightNC;
143 shiftlabels[
"ReweightAGKY_xF1pi"] = rwgt::fReweightAGKY_xF1pi;
145 shiftlabels[
"ReweightAGKY_pT1pi"] = rwgt::fReweightAGKY_pT1pi;
147 shiftlabels[
"ReweightFormZone"] = rwgt::fReweightFormZone;
156 shiftlabels[
"ReweightMFP_pi"] = rwgt::fReweightMFP_pi;
158 shiftlabels[
"ReweightMFP_N"] = rwgt::fReweightMFP_N;
160 shiftlabels[
"ReweightFrCEx_pi"] = rwgt::fReweightFrCEx_pi;
164 shiftlabels[
"ReweightFrInel_pi"] = rwgt::fReweightFrInel_pi;
166 shiftlabels[
"ReweightFrAbs_pi"] = rwgt::fReweightFrAbs_pi;
168 shiftlabels[
"ReweightFrPiProd_pi"] = rwgt::fReweightFrPiProd_pi;
170 shiftlabels[
"ReweightFrCEx_N"] = rwgt::fReweightFrCEx_N;
174 shiftlabels[
"ReweightFrInel_N"] = rwgt::fReweightFrInel_N;
176 shiftlabels[
"ReweightFrAbs_N"] = rwgt::fReweightFrAbs_N;
178 shiftlabels[
"ReweightFrPiProd_N"] = rwgt::fReweightFrPiProd_N;
179 shiftlabels[
"ReweightCCQEPauliSupViaKF"] = rwgt::fReweightCCQEPauliSupViaKF;
180 shiftlabels[
"ReweightCCQEMomDistroFGtoSF"] = rwgt::fReweightCCQEMomDistroFGtoSF;
182 shiftlabels[
"ReweightBR1gamma"] = rwgt::fReweightBR1gamma;
184 shiftlabels[
"ReweightBR1eta"] = rwgt::fReweightBR1eta;
186 shiftlabels[
"ReweightTheta_Delta2Npi"] = rwgt::fReweightTheta_Delta2Npi;
198 std::map<std::string, const ISyst*> shiftlabels;
203 shiftlabels[
"PD3_MAQAGenieReducedSyst2018"] = AllSyst.at(0);
204 shiftlabels[
"PD3_RPACCQEEnhSyst2018"] = AllSyst.at(1);
205 shiftlabels[
"PD3_RPACCQESuppSyst2018"] = AllSyst.at(2);
206 shiftlabels[
"PD3_RPARESSyst2018"] = AllSyst.at(3);
207 shiftlabels[
"PD3_MECEShapeSyst2018Nu"] = AllSyst.at(4);
209 shiftlabels[
"PD3_MECEShapeSyst2018AntiNu"] = AllSyst.at(5);
210 shiftlabels[
"PD3_MECEnuShapeSyst2018Nu"] = AllSyst.at(6);
212 shiftlabels[
"PD3_MECEnuShapeSyst2018AntiNu"] = AllSyst.at(7);
213 shiftlabels[
"PD3_MECInitStateNPFracSyst2018Nu"] = AllSyst.at(8);
214 shiftlabels[
"PD3_MECInitStateNPFracSyst2018AntiNu"] = AllSyst.at(9);
215 shiftlabels[
"PD3_DISvpCC0pi"] = AllSyst.at(10);
216 shiftlabels[
"PD3_DISvpCC1pi"] = AllSyst.at(11);
217 shiftlabels[
"PD3_DISvpCC2pi"] = AllSyst.at(12);
218 shiftlabels[
"PD3_DISvpCC3pi"] = AllSyst.at(13);
219 shiftlabels[
"PD3_DISvpNC0pi"] = AllSyst.at(14);
220 shiftlabels[
"PD3_DISvpNC1pi"] = AllSyst.at(15);
221 shiftlabels[
"PD3_DISvpNC2pi"] = AllSyst.at(16);
222 shiftlabels[
"PD3_DISvpNC3pi"] = AllSyst.at(17);
223 shiftlabels[
"PD3_DISvnCC0pi"] = AllSyst.at(18);
224 shiftlabels[
"PD3_DISvnCC1pi"] = AllSyst.at(19);
225 shiftlabels[
"PD3_DISvnCC2pi"] = AllSyst.at(20);
226 shiftlabels[
"PD3_DISvnCC3pi"] = AllSyst.at(21);
227 shiftlabels[
"PD3_DISvnNC0pi"] = AllSyst.at(22);
228 shiftlabels[
"PD3_DISvnNC1pi"] = AllSyst.at(23);
229 shiftlabels[
"PD3_DISvnNC2pi"] = AllSyst.at(24);
230 shiftlabels[
"PD3_DISvnNC3pi"] = AllSyst.at(25);
231 shiftlabels[
"PD3_DISvbarpCC0pi"] = AllSyst.at(26);
232 shiftlabels[
"PD3_DISvbarpCC1pi"] = AllSyst.at(27);
233 shiftlabels[
"PD3_DISvbarpCC2pi"] = AllSyst.at(28);
234 shiftlabels[
"PD3_DISvbarpCC3pi"] = AllSyst.at(29);
235 shiftlabels[
"PD3_DISvbarpNC0pi"] = AllSyst.at(30);
236 shiftlabels[
"PD3_DISvbarpNC1pi"] = AllSyst.at(31);
237 shiftlabels[
"PD3_DISvbarpNC2pi"] = AllSyst.at(32);
238 shiftlabels[
"PD3_DISvbarpNC3pi"] = AllSyst.at(33);
239 shiftlabels[
"PD3_DISvbarnCC0pi"] = AllSyst.at(34);
240 shiftlabels[
"PD3_DISvbarnCC1pi"] = AllSyst.at(35);
241 shiftlabels[
"PD3_DISvbarnCC2pi"] = AllSyst.at(36);
242 shiftlabels[
"PD3_DISvbarnCC3pi"] = AllSyst.at(37);
243 shiftlabels[
"PD3_DISvbarnNC0pi"] = AllSyst.at(38);
244 shiftlabels[
"PD3_DISvbarnNC1pi"] = AllSyst.at(39);
245 shiftlabels[
"PD3_DISvbarnNC2pi"] = AllSyst.at(40);
246 shiftlabels[
"PD3_DISvbarnNC3pi"] = AllSyst.at(41);
247 shiftlabels[
"PD3_RadCorrNue"] = AllSyst.at(42);
248 shiftlabels[
"PD3_RadCorrNuebar"] = AllSyst.at(43);
249 shiftlabels[
"PD3_k2ndClassCurr"] = AllSyst.at(44);
caf::Proxy< std::vector< float > > vuniv
Cuts and Vars for the 2020 FD DiF Study.
std::vector< const ISyst * > getAllXsecSysts_2018()
Get master XSec syst list for 2018 analyses.
Proxy for caf::SRNeutrino.
std::map< std::string, rwgt::ReweightLabel_t > GetGENIEShiftLabels()
caf::Proxy< caf::SRMCReweight > rwgt
caf::Proxy< caf::SRFluxWeights > ppfx
std::vector< Var > GetPPFXFluxWeights()
std::map< std::string, const ISyst * > GetXSecShiftLabels()
Var VarFromNuTruthVar(const NuTruthVar &stv, double _default)
std::map< std::string, std::vector< std::string > > GetBeamTranspShiftLabels()
Template for Var and SpillVar.