3FlavorAna2020Systs.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "CAFAna/Core/ISyst.h"
5 
6 #include <vector>
7 
8 namespace ana
9 {
10 
12  enum class BeamType2020 {kFHC, kRHC, kBoth};
13 
15 
16  void Add3FlavorAna2020XSecSysts(std::vector<const ISyst*> &systs,
18  bool smallgenie = true);
19 
20  void Add3FlavorAna2020BeamSysts (std::vector<const ISyst*> &systs,
22 
23  void Add3FlavorAna2020CalibSysts( std::vector<const ISyst*>& systs );
24  void Add3FlavorAna2020LightSysts( std::vector<const ISyst*>& systs );
25  void Add3FlavorAna2020FileSysts ( std::vector<const ISyst*>& systs );
26 
28  std::vector<const ISyst*> &systs,
30 
32  std::vector<const ISyst*> &systs,
33  const bool ptExtrap = true );
34 
35  void Add3FlavorAna2020NeutronSysts( std::vector<const ISyst*> &systs );
36 
38  std::vector<const ISyst*> &systs,
41  const bool ptExtrap = true );
42 
44  std::vector<const ISyst*> &systs,
47 
49  std::vector<const ISyst*> &systs,
52  const bool ptExtrap = true ); // for nue acceptance sytstematic
53 
55  std::vector<const ISyst*> &systs,
57 
59  std::vector<const ISyst*> &systs,
61 
63  std::vector<const ISyst*> &systs,
66  const bool ptExtrap = true ); // for nue acceptance sytstematic
67 
68  std::vector<const ISyst *> get3FlavorAna2020LargeXsecSysts(
70  std::vector<const ISyst *> get3FlavorAna2020SmallXsecSysts(
74 
75 //////////////////////////////////////////////////////////////////////
76 
77  std::vector<const ISyst*> get3FlavorAna2020AllSysts(
79  const bool smallgenie = true,
81  const bool isFit = false, //fit or syst loading? some systs are not in files (like rock)
82  const bool ptExtrap = true ); // for nue acceptance sytstematic
83 
84 
85  std::vector<const ISyst*> get3FlavorAna2020AllCPTSysts(
87  const bool smallgenie = true,
89  const bool isFit = false, //fit or syst loading? some systs are not in files (like rock)
90  const bool ptExtrap = true ); // for nue acceptance sytstematic
91 
92 //////////////////////////////////////////////////////////////////////
93 
94  std::vector<const ISyst *> getAna2020NueOnly( const BeamType2020 beam, const bool ptExtrap );
95  std::vector<const ISyst *> getAna2020NumuOnly( const BeamType2020 beam );
96 } // namespace
std::vector< const ISyst * > get3FlavorAna2020SmallXsecSysts(const EAnaType2020 ana)
Generic way to add systematics in quadrature.
Definition: SummedSysts.h:12
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
std::vector< SystGroupDef > systs
Definition: syst_header.h:385
void AddNonLoadable2020Systs(std::vector< const ISyst * > &systs, const EAnaType2020 ana)
void Add3FlavorAna2020NeutronSysts(std::vector< const ISyst * > &systs)
void Add3FlavorAna2020FileSysts(std::vector< const ISyst * > &systs)
void Add3FlavorAna2020MichelTagSysts(std::vector< const ISyst * > &systs, const EAnaType2020 ana, const BeamType2020 beam)
void Add3FlavorAna2020OtherSysts(std::vector< const ISyst * > &systs, const EAnaType2020 ana, const BeamType2020 beam, const bool ptExtrap)
std::vector< const ISyst * > getAna2020NueOnly(const BeamType2020 beam, const bool ptExtrap)
void Add3FlavorAna2020LeptonAngleSysts(std::vector< const ISyst * > &systs, const bool ptExtrap)
void Add3FlavorAna2020LightSysts(std::vector< const ISyst * > &systs)
void Add3FlavorAna2020NueAcceptSysts(std::vector< const ISyst * > &systs, const EAnaType2020 ana, const BeamType2020 beam, const bool ptExtrap)
std::string AnaTypeToString(const EAnaType2020 ana)
void Add3FlavorAna2020NormSysts(std::vector< const ISyst * > &systs, const BeamType2020 beam)
void Add3FlavorAna2020MuEnergySysts(std::vector< const ISyst * > &systs, const EAnaType2020 ana)
std::vector< const ISyst * > get3FlavorAna2020LargeXsecSysts(const EAnaType2020 ana)
void Add3FlavorAna2020NotCorrelSysts(std::vector< const ISyst * > &systs, const EAnaType2020 ana, const BeamType2020 beam, const bool ptExtrap)
void Add3FlavorAna2020XSecSysts(std::vector< const ISyst * > &systs, const EAnaType2020 ana, bool smallgenie)
const SummedSyst * get3FlavorAna2020SummedSmallXsecSysts(const EAnaType2020 ana)
std::vector< const ISyst * > get3FlavorAna2020AllSysts(const EAnaType2020 ana, const bool smallgenie, const BeamType2020 beam, const bool isFit, const bool ptExtrap)
void Add3FlavorAna2020BeamSysts(std::vector< const ISyst * > &systs, const EAnaType2020 ana)
std::vector< const ISyst * > get3FlavorAna2020AllCPTSysts(const EAnaType2020 ana, const bool smallgenie, const BeamType2020 beam, const bool isFit, const bool ptExtrap)
void Add3FlavorAna2020CalibSysts(std::vector< const ISyst * > &systs)
std::vector< const ISyst * > getAna2020NumuOnly(const BeamType2020 beam)
enum BeamMode string