NusVarsTemp.h
Go to the documentation of this file.
1 #pragma once
2 
3 // Vars used in Nus analysis Data/MC and validation
4 // No duplicates, please
5 #include "CAFAna/Core/Var.h"
6 
7 namespace ana
8 {
9  // --------------------------------------------------------
10  // NCCosRej TMVA calculated on-the-fly whilst it doesn't
11  // exist in CAFs
12  // --------------------------------------------------------
13 
14  //-------------------------------------------
15  // 2020 implementations
16  //-------------------------------------------
17 
18  // BTDG (gradient boost) implementation
20  {
21  public:
23  float operator() (const caf::SRProxy* sr) const;
24  protected:
25  void InitTMVA() const;
26  };
27 
29 
30  //--------------------------------------------
31  // old implementations
32  //--------------------------------------------
33 
35  {
36  public:
38  float operator() (const caf::SRProxy* sr) const;
39  protected:
40  void InitTMVA() const;
41  };
42 
44 
45 
46  //BDT used for 2017 NC Analysis.
47  //
49  {
50  public:
52  float operator() (const caf::SRProxy* sr) const;
53  protected:
54  void InitTMVA() const;
55  };
56 
58 
59 
60 
61  //BDT for with cosmic data period-1 trained
63  {
64  public:
66  float operator() (const caf::SRProxy* sr) const;
67  protected:
68  void InitTMVA() const;
69  };
70 
72 
73 
74  //BDT for with cosmic data period-2 trained
76  {
77  public:
79  float operator() (const caf::SRProxy* sr) const;
80  protected:
81  void InitTMVA() const;
82  };
83 
85 
86 
87  //BDT for with cosmic data period-3 and 5 trained
89  {
90  public:
92  float operator() (const caf::SRProxy* sr) const;
93  protected:
94  void InitTMVA() const;
95  };
97 
98 
99 
100 
101  //BDT for with cosmic data period-4 and 6 trained (RHC)
103  {
104  public:
106  float operator() (const caf::SRProxy* sr) const;
107  protected:
108  void InitTMVA() const;
109  };
111 
112  // Keras-based NCCosRej
114  {
115  public:
117  float operator() (const caf::SRProxy* sr) const;
118  protected:
119  void InitKeras() const;
120  };
121 
123 
124 }//namespace
const Var kNCCosRejAltp4_6
Definition: NusVarsTemp.h:110
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
Proxy for caf::StandardRecord.
Definition: SRProxy.h:2126
const Var kNCCosRejAltp3_5
Definition: NusVarsTemp.h:96
float operator()(const caf::SRProxy *sr) const
Definition: NusVarsTemp.cxx:56
_Var< caf::SRProxy > Var
Representation of a variable to be retrieved from a caf::StandardRecord object.
Definition: Var.h:74
const Var kNCCosRejAlt
Definition: NusVarsTemp.h:57
const Var kNCCosRejKerasAlt
Definition: NusVarsTemp.h:122
caf::StandardRecord * sr
const Var kNCCosRejAltp2
Definition: NusVarsTemp.h:84
const Var kNCCosRejAltp1
Definition: NusVarsTemp.h:71
const Var kNCCosRejBDTG20
Definition: NusVarsTemp.h:28
const Var kNCCosRejGAlt
Definition: NusVarsTemp.h:43