NumubarCCIncVars.h
Go to the documentation of this file.
1 /*
2  * Numu bar CC inclusive analysis will reuse whatever is already defined in
3  * the numu CC inclusive analysis. Only Vars and Cuts that are specific to
4  * numu bar are defined here.
5  */
6 
7 #pragma once
8 
9 #include "CAFAna/Core/Var.h"
13 
15 
18 float _OTHER_RETURN_VALUE = -10.f;
19 
20 namespace ana { namespace xsec { namespace numubarcc
21 {
22  extern const Var kLongestTrack;
23  // Including CAFAna/Vars/XSecTunes.h before runtime breaks the build. Some bizarre change that didn't propogate.
24  // const ana::NuTruthVar xsec_wgt_ST = ana::kXSecCVWgt2020_NT;
25  // const ana::Var xsec_wgt = ana::VarFromNuTruthVar(xsec_wgt_ST, 1);
26  // const ana::NuTruthVar flux_wgt_ST = ana::kPPFXFluxCVWgtST;
27  // const ana::Var flux_wgt = ana::VarFromNuTruthVar(flux_wgt_ST, 1);
28  // const ana::NuTruthVar std_wgt_ST = flux_wgt_ST*xsec_wgt_ST;
29  // const ana::Var std_wgt = ana::VarFromNuTruthVar(std_wgt_ST, 1);
30 } } }//end of namespace
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
const Var kLongestTrack([](const caf::SRProxy *sr){if(sr->trk.kalman.ntracks==0) return 0.f;auto idx=sr->trk.kalman.idxlongest;return float(sr->trk.kalman.tracks[idx].len);})
Double_t xsec[nknots]
Definition: testXsec.C:47
float _TRACK_INVALID_RETURN_VALUE
float _OTHER_RETURN_VALUE
float _DEFAULT_RETURN_VALUE_