DummySystStorage.cxx
Go to the documentation of this file.
3 
4 namespace ana
5 {
6 
7  const DummyAnaSyst kAnaRelativeCalibSyst("RelativeCalib","RelCalib");
8  const DummyAnaSyst kAnaCalibrationSyst("Calibration","AbsCalib");
9  const DummyAnaSyst kAnaCalibShapeSyst("CalibShape","CalibShape");
10  const DummyAnaSyst kAnaCalibDriftSyst("CalibDrift","CalibDrift");
11  const DummyAnaSyst kAnaLightlevelSyst("Lightlevel","Lightlevel");
12  const DummyAnaSyst kAnaLightlevelFDSyst("Light_Level_FD","Light_Level_FD");
13  const DummyAnaSyst kAnaLightlevelNDSyst("Light_Level_ND","Light_Level_ND");
14  const DummyAnaSyst kAnaCherenkovSyst("Cherenkov","Cherenkov");
15  const DummyAnaSyst kAna2018NormFHC("NormFHC2018","FHC. Norm.");
16  const DummyAnaSyst kAna2018NormRHC("NormRHC2018","RHC. Norm.");
17  const DummyAnaSyst kAna2020NormFHC("NormFHC2020","FHC. Norm.");
18  const DummyAnaSyst kAna2020NormRHC("NormRHC2020","RHC. Norm.");
19  const DummyAnaSyst kAna2020NormHornCorr("NormHornCorr","HornCorr Norm.");
20 
21  const DummyAnaSyst kSummedSyst("SummedSyst", "Summed Syst.");
22 
23 
24  std::vector<int> GetDummyShifts(const ISyst* s)
25  {
26 
27  if(s == &kAnaCalibrationSyst) return {-1, 0, +1};
28 
29  if(s == &kAnaRelativeCalibSyst) return {-2, 0, +2};
30 
31  if(s == &kAnaCalibShapeSyst) return {0, +1};
32 
33  if(s == &kAnaCalibDriftSyst) return {-2, -1, 0, +1};
34 
35  if(s == &kAnaLightlevelSyst) return {-1, 0, +1};
36 
37  if(s == &kAnaLightlevelFDSyst) return {-1, 0, +1};
38 
39  if(s == &kAnaLightlevelNDSyst) return {-1, 0, +1};
40 
41  if(s == &kAnaCherenkovSyst) return {-2, -1, 0, +1};
42 
43  if(s == &kWrongSignScale ||
44  s == &kWrongSignScale100) return {-1, 0, +1};
45 
46  if(s == &kWrongSignEnergyBin ||
47  s == &kWrongSignEnergyBinRHC) return {-1, 0, +1};
48 
49  if(s == &kAna2018NormRHC ||
50  s == &kAna2018NormFHC ) return {0, +1};
51 
52  if(s == &kAna2020NormRHC ||
53  s == &kAna2020NormFHC ||
54  s == &kAna2020NormHornCorr ) return {0, +1};
55 
56  // Otherwise this is a normal syst
57  return {-2, -1, 0, +1, +2};
58 
59  }
60 
61 
62 }
const DummyAnaSyst kAna2020NormFHC("NormFHC2020","FHC. Norm.")
const WrongSignScale kWrongSignScale
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
const WrongSignEnergyBinRHC kWrongSignEnergyBinRHC
const DummyAnaSyst kAnaLightlevelFDSyst("Light_Level_FD","Light_Level_FD")
const DummyAnaSyst kAna2020NormHornCorr("NormHornCorr","HornCorr Norm.")
std::vector< int > GetDummyShifts(const ISyst *s)
const DummyAnaSyst kAna2020NormRHC("NormRHC2020","RHC. Norm.")
const DummyAnaSyst kAnaRelativeCalibSyst("RelativeCalib","RelCalib")
Encapsulate code to systematically shift a caf::SRProxy.
Definition: ISyst.h:14
const DummyAnaSyst kAnaLightlevelSyst("Lightlevel","Lightlevel")
const XML_Char * s
Definition: expat.h:262
const DummyAnaSyst kAnaCalibrationSyst("Calibration","AbsCalib")
const DummyAnaSyst kAnaCherenkovSyst("Cherenkov","Cherenkov")
const DummyAnaSyst kSummedSyst("SummedSyst","Summed Syst.")
const WrongSignScale100 kWrongSignScale100
const DummyAnaSyst kAna2018NormRHC("NormRHC2018","RHC. Norm.")
const WrongSignEnergyBin kWrongSignEnergyBin
const DummyAnaSyst kAnaLightlevelNDSyst("Light_Level_ND","Light_Level_ND")
const DummyAnaSyst kAnaCalibDriftSyst("CalibDrift","CalibDrift")
const DummyAnaSyst kAna2018NormFHC("NormFHC2018","FHC. Norm.")
const DummyAnaSyst kAnaCalibShapeSyst("CalibShape","CalibShape")