NueCCIncBins.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "CAFAna/Core/Binning.h"
4 #include "CAFAna/Vars/Vars.h"
5 
6 namespace ana
7 {
8  namespace nueccinc{
9  ////////////////////////////////////////////////////////////////////
10  ////////////////////////////////////////////////////////////////////
11  //Analysis Binning
12  ////////////////////////////////////////////////////////////////////
13  ////////////////////////////////////////////////////////////////////
14 
15  //Neutrino Energy Bins
16  const std::vector<double> enuedges{0,1.0,1.50,1.8,2.1,2.4,
17  2.7,3.0,3.5,4,4.5,5,5.5,6,120};
19 
20  //Electron Energy Bins
21  const std::vector<double> eelecedges{0,1,1.4,1.65,2.0,2.5,3.0,3.5,
22  4.1,4.7,6.0,120};
24 
25  //Cos Theta Bins
26  const std::vector<double> angedges{-1,0.50,0.85,0.90,0.94,0.97,1.001};
28 
29  //Q2 Bins
30  const std::vector<double> q2edges{0,0.075,0.15,0.225,0.3,0.4,0.5,0.75,
31  1.00,2.0,120};
33 
34 
35  const std::vector<double> pidedges{0,0.075,0.15,0.225,0.3,0.375,0.45,
36  0.525,0.6,0.7,0.725,0.75,0.775,0.8,0.825,0.85,0.875,0.9,0.925,
37  0.95,0.975,1.0};
39 
40  const Binning pidbinslid = Binning::Simple(21,-0.01,1.01);
41  //const Binning pidbins_electronid = Binning::Simple(21,-0.5,0.7);
42 
43 
44 
45 
46  const std::vector<double> electronid_edges =
47  {-0.4,-0.2,-0.15,-0.10,-0.05,-0.00,0.05,0.10,0.15,0.20,0.236,0.272,
48  0.308,0.344,0.38,0.416,0.452,0.488,0.524,0.560,0.60};
49  const std::vector<double> electronid_edges_new =
50  {-0.4, -0.238, -0.186, -0.133, -0.081, -0.029, 0.024,
51  0.076, 0.129, 0.181, 0.233, 0.286,0.338,0.390,0.443,0.495,0.548,0.60};
52 
53  const std::vector<double> electronid_new_edges =
54  {-0.6,-0.3,-0.2,-0.13,-0.07,0,0.07,0.14,0.21,0.28,0.35,0.42,0.6};
55  const Binning pidbins_electronid = Binning::Custom(electronid_new_edges);
56 
57 
58  const Binning pidbins_electronid_old= Binning::Custom(electronid_edges_new);
59 
60  //const Binning pidbins_electronid = Binning::Simple(21,-0.35,0.6);
61 
62  //Custom Binning For Electron E Vs CosTheta, 2D
64  costhetabins.NBins(),
65  0,
66  eelecbins.NBins()*
67  costhetabins.NBins());
68 
69  //Custom Binning For Neutrino Energy vs Electron E Vs CosTheta , 3D
71  costhetabins.NBins()*
72  enubins.NBins(),
73  0,
74  eelecbins.NBins()*
75  costhetabins.NBins()*
76  enubins.NBins());
77 
78  }//end namespace nueccinc
79 }
const Binning pidbinslid
Definition: NueCCIncBins.h:40
const Binning enubins
Definition: NueCCIncBins.h:18
Represent the binning of a Spectrum&#39;s x-axis.
Definition: Binning.h:16
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
const std::vector< double > enuedges
Definition: NueCCIncBins.h:16
const std::vector< double > electronid_new_edges
Definition: NueCCIncBins.h:53
const Binning eelecbins
Definition: NueCCIncBins.h:23
const Binning pidbins
Definition: NueCCIncBins.h:38
const std::vector< double > electronid_edges_new
Definition: NueCCIncBins.h:49
const std::vector< double > q2edges
Definition: NueCCIncBins.h:30
const std::vector< double > electronid_edges
Definition: NueCCIncBins.h:46
const Binning double_diff_bins
Definition: NueCCIncBins.h:63
const Binning costhetabins
Definition: NueCCIncBins.h:27
static Binning Custom(const std::vector< double > &edges)
Definition: Binning.cxx:145
const Binning pidbins_electronid_old
Definition: NueCCIncBins.h:58
const Binning three_d_bins
Definition: NueCCIncBins.h:70
const std::vector< double > eelecedges
Definition: NueCCIncBins.h:21
int NBins() const
Definition: Binning.h:29
const std::vector< double > pidedges
Definition: NueCCIncBins.h:35
const std::vector< double > angedges
Definition: NueCCIncBins.h:26
static Binning Simple(int n, double lo, double hi, const std::vector< std::string > &labels={})
Definition: Binning.cxx:107
const Binning q2bins
Definition: NueCCIncBins.h:32
const Binning pidbins_electronid
Definition: NueCCIncBins.h:55