WrongSignNueSyst.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "CAFAna/Core/ISyst.h"
4 
5 namespace ana
6 {
7  // --------------------------------------------------
9  {
10  public:
11  WrongSignContamination() : ISyst("wsnu", "Wrong Sign in nubar mode") {}
12 
13  void Shift(double sigma,
14  caf::SRProxy* sr, double& weight) const override;
15  };
16 
18 
19  // --------------------------------------------------
20  class NCtest: public ISyst
21  {
22  public:
23  NCtest() : ISyst("nctest", "NCtest") {}
24 
25  void Shift(double sigma,
26  caf::SRProxy* sr, double& weight) const override;
27  };
28 
29  extern const NCtest kNCtest;
30 
31  // --------------------------------------------------
32  class Nuetest: public ISyst
33  {
34  public:
35  Nuetest() : ISyst("nuetest", "Nuetest") {}
36 
37  void Shift(double sigma,
38  caf::SRProxy* sr, double& weight) const override;
39  };
40 
41  extern const Nuetest kNuetest;
42 
43  // --------------------------------------------------
44  class Numutest: public ISyst
45  {
46  public:
47  Numutest() : ISyst("numutest", "Numutest") {}
48 
49  void Shift(double sigma,
50  caf::SRProxy* sr, double& weight) const override;
51  };
52 
53  extern const Numutest kNumutest;
54 }
55 
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
const Var weight
Proxy for caf::StandardRecord.
Definition: SRProxy.h:2126
Encapsulate code to systematically shift a caf::SRProxy.
Definition: ISyst.h:14
const WrongSignContamination kWrongSignContamination
const NCtest kNCtest
caf::StandardRecord * sr
void Shift(double sigma, caf::SRProxy *sr, double &weight) const override
Perform the systematic shift.
double sigma(TH1F *hist, double percentile)
const Numutest kNumutest
const Nuetest kNuetest