JointAna2018Systs.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 
13 
15 
16  void AddJointAna2018XSecSysts(std::vector<const ISyst*> &systs,
17  const EAnaType2018 ana = kJointAna2018,
18  bool smallgenie = true);
19 
20  void AddJointAna2018BeamSysts (std::vector<const ISyst*> &systs,
21  const EAnaType2018 ana = kJointAna2018);
22 
23  void AddJointAna2018FileSysts (std::vector<const ISyst*> &systs,
24  const EAnaType2018 ana = kJointAna2018, const BeamType2018 beam = kBoth);
25 
26  void AddJointAna2018NormSysts(std::vector<const ISyst*> &systs,
27  const EAnaType2018 ana = kJointAna2018);
28 
29  void AddJointAna2018OtherSysts(std::vector<const ISyst*> &systs,
30  const EAnaType2018 ana = kJointAna2018, const BeamType2018 beam = kBoth);
31 
32  void AddJointAna2018NotCorrelSysts(std::vector<const ISyst*> &systs,
33  const EAnaType2018 ana = kJointAna2018, const BeamType2018 beam = kBoth);
34 
35  void AddNonLoadable2018Systs(std::vector<const ISyst*> &systs,
36  const EAnaType2018 ana = kJointAna2018);
37 
38  void AddWrongSignSysts(std::vector<const ISyst*> &systs,
39  const EAnaType2018 ana = kJointAna2018);
40 
41  std::vector<const ISyst *> getAna2018LargeXsecSysts(
42  const EAnaType2018 ana = kJointAna2018);
43  std::vector<const ISyst *> getAna2018SmallXsecSysts(
44  const EAnaType2018 ana = kJointAna2018);
46  const EAnaType2018 ana = kJointAna2018);
47 
48 //////////////////////////////////////////////////////////////////////
49 
50  std::vector<const ISyst*> getAllAna2018Systs(
51  const EAnaType2018 ana = kJointAna2018, const bool smallgenie = true, const BeamType2018 beam = kBoth, bool isFit = false); //fit or syst loading? some systs are not in files (like rock)
52 
53 
54  std::vector<const ISyst*> getAllCPTSysts
55  (const EAnaType2018 ana = kJointAna2018, const bool smallgenie = true, const BeamType2018 beam = kBoth, bool isFit = false);
56 
57 //////////////////////////////////////////////////////////////////////
58 
59  std::vector<const ISyst *> getAna2018NueOnly( const BeamType2018 beam);
60  std::vector<const ISyst *> getAna2018NumuOnly( const BeamType2018 beam);
61 
62 
63 } // namespace
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
const SummedSyst * getAna2018SummedSmallXsecSysts(const EAnaType2018 ana)
std::vector< const ISyst * > getAna2018NueOnly(const BeamType2018 beam)
void AddJointAna2018NormSysts(std::vector< const ISyst * > &systs, const EAnaType2018 ana=kJointAna2018)
void AddJointAna2018BeamSysts(std::vector< const ISyst * > &systs, const EAnaType2018 ana)
void AddJointAna2018NotCorrelSysts(std::vector< const ISyst * > &systs, const EAnaType2018 ana, const BeamType2018 beam)
std::vector< const ISyst * > getAllAna2018Systs(const EAnaType2018 ana, const bool smallgenie, const BeamType2018 beam, bool isFit)
std::vector< const ISyst * > getAna2018SmallXsecSysts(const EAnaType2018 ana)
void AddJointAna2018FileSysts(std::vector< const ISyst * > &systs, const EAnaType2018 ana, const BeamType2018 beam)
std::vector< const ISyst * > getAna2018LargeXsecSysts(const EAnaType2018 ana)
std::string AnaTypeToString(const EAnaType2020 ana)
void AddWrongSignSysts(std::vector< const ISyst * > &systs, const EAnaType2018 ana)
void AddNonLoadable2018Systs(std::vector< const ISyst * > &systs, const EAnaType2018 ana)
void AddJointAna2018OtherSysts(std::vector< const ISyst * > &systs, const EAnaType2018 ana, const BeamType2018 beam)
void AddJointAna2018XSecSysts(std::vector< const ISyst * > &systs, const EAnaType2018 ana, bool smallgenie)
std::vector< const ISyst * > getAllCPTSysts(const EAnaType2018 ana, const bool smallgenie, const BeamType2018 beam, bool isFit)
std::vector< const ISyst * > getAna2018NumuOnly(const BeamType2018 beam)
enum BeamMode string