NuebarCCIncBins.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 #include "CAFAna/Core/HistAxis.h"
6 
7 namespace nuebarccinc
8 {
9  ////////////////////////////////////////////////////////////////////
10  //Analysis Binning
11  ////////////////////////////////////////////////////////////////////
12  const std::vector<double> enuedges{0,1.0,1.50,1.8,2.1,2.4,
13  2.7,3.0,3.5,4,4.5,5,5.5,6,120};
15 
16  //Electron Energy Bins
17  const std::vector<double> eelecedges{0,1,1.4,1.65,2.0,2.5,3.0,3.5,
18  4.1,4.7,6.0,120};
20 
21  //Cos Theta Bins
22  const std::vector<double> angedges{-1,0.50,0.85,0.90,0.94,0.97,1.001};
24 
25  //Q2 Bins
26  const std::vector<double> q2edges{0,0.075,0.15,0.225,0.3,0.4,0.5,0.75,
27  1.00,2.0,120};
29 
30  const std::vector<double> pidedges{0,0.075,0.15,0.225,0.3,0.375,0.45,0.525,0.6,0.7,0.725,0.75,0.775,0.8,0.825,0.85,0.875,0.9,0.925,0.95,0.975,1.0};
32 
33  // electron ID
34  const std::vector<double> electronid_edges =
35  {-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};
37 
38  //Custom Binning For Electron E Vs CosTheta, 2D
40  costhetabins.NBins(),
41  0,
42  eelecbins.NBins()*
43  costhetabins.NBins());
44 
45  //Custom Binning For Neutrino Energy vs Electron E Vs CosTheta , 3D
47  costhetabins.NBins()*
48  enubins.NBins(),
49  0,
50  eelecbins.NBins()*
51  costhetabins.NBins()*
52  enubins.NBins());
53 
54 }
const std::vector< double > angedges
const std::vector< double > eelecedges
Represent the binning of a Spectrum&#39;s x-axis.
Definition: Binning.h:16
const ana::Binning three_d_bins
const ana::Binning eelecbins
const ana::Binning costhetabins
const std::vector< double > enuedges
const ana::Binning pidbins
const std::vector< double > pidedges
const ana::Binning double_diff_bins
static Binning Custom(const std::vector< double > &edges)
Definition: Binning.cxx:145
const ana::Binning enubins
const ana::Binning pidbins_electronid
int NBins() const
Definition: Binning.h:29
const ana::Binning q2bins
static Binning Simple(int n, double lo, double hi, const std::vector< std::string > &labels={})
Definition: Binning.cxx:107
const std::vector< double > q2edges
const std::vector< double > electronid_edges