Variables
CutVariables.h File Reference
#include "StandardRecord/Proxy/SRProxy.h"
#include "CAFAna/Core/Binning.h"
#include "CAFAna/Core/Spectrum.h"
#include "CAFAna/Core/SpectrumLoader.h"
#include "CAFAna/Core/EventList.h"
#include "CAFAna/Core/Utilities.h"
#include "CAFAna/Cuts/Cuts.h"
#include "CAFAna/Vars/Vars.h"
#include "CAFAna/Vars/TruthVars.h"
#include "3FlavorAna/Vars/NueVarsExtra.h"
#include "3FlavorAna/Vars/NumuVarsExtra.h"
#include "3FlavorAna/Cuts/NueCuts2020.h"
#include "3FlavorAna/Cuts/NumuCuts2020.h"
#include "NuXAna/Vars/NusVars.h"
#include "NuXAna/Vars/NusVarsTemp.h"
#include "NuXAna/Cuts/NusCuts20.h"
#include "NuXAna/Cuts/NusCuts.h"
#include "NuXAna/macros/Nus20/Selection/BinningDefinitions.h"
#include "NuXAna/macros/Nus20/Selection/Structs.h"

Go to the source code of this file.

Variables

std::vector< VarContainervarsFD
 
std::vector< VarContainer2Dvars2DFD
 
std::vector< VarContainer3Dvars3DFD
 
std::vector< VarContainervarsND
 
std::vector< VarContainer2Dvars2DND
 
std::vector< VarContainer3Dvars3DND = {}
 

Variable Documentation

std::vector<VarContainer2D> vars2DFD
Initial value:
= {
"kCaloEkCVNnc_looseptp" ,
"Calorimetric Energy (GeV)", "CVN Score (looseptp)",
"kCaloEkCVNnc_oldpresel",
"Calorimetric Energy (GeV)", "CVN Score (oldpresel)",
}
const Var kCaloE
Summed calorimetric energy of all hits in slice, uncorrected.
Definition: Vars.cxx:52
const ana::Binning kCVNBins
const Var kCVNnc_oldpresel
Definition: NusVars.cxx:15
const Var kCVNnc_looseptp
Definition: NusVars.cxx:14
const Binning kNCFDBinning
Definition: Binning.cxx:105

Definition at line 63 of file CutVariables.h.

Referenced by addVars(), and ApplyOscillations().

std::vector<VarContainer2D> vars2DND
Initial value:
= {
VarContainer2D(ana::kCaloE, ana::kCVNnc_looseptp , "kCaloEkCVNnc_looseptp" , "Calorimetric Energy (GeV)", "CVN Score (looseptp)", ana::kNCNDBinning, kCVNBins, {0.0}, kNeither),
VarContainer2D(ana::kCaloE, ana::kCVNnc_oldpresel, "kCaloEkCVNnc_oldpresel", "Calorimetric Energy (GeV)", "CVN Score (oldpresel)", ana::kNCNDBinning, kCVNBins, {0.0}, kNeither),
}
const Var kCaloE
Summed calorimetric energy of all hits in slice, uncorrected.
Definition: Vars.cxx:52
const ana::Binning kCVNBins
const Var kCVNnc_oldpresel
Definition: NusVars.cxx:15
const Binning kNCNDBinning
NC custom binning.
Definition: Binning.cxx:104
const Var kCVNnc_looseptp
Definition: NusVars.cxx:14

Definition at line 103 of file CutVariables.h.

Referenced by addVars(), and ApplyOscillations().

std::vector<VarContainer3D> vars3DFD
Initial value:
= {
"kCaloECVNnc_looseptpNCCosRejBDTG20",
"Calorimetric Energy (GeV)", "CVN Score (looseptp)", "Cosmic Rejection BDT (GradBoost)",
{0.0}, kNeither)
}
const Var kCaloE
Summed calorimetric energy of all hits in slice, uncorrected.
Definition: Vars.cxx:52
const ana::Binning kNCCosRejBDT20GReducedBins
const ana::Binning kCVNBins
const Var kCVNnc_looseptp
Definition: NusVars.cxx:14
const Binning kNCFDBinning
Definition: Binning.cxx:105
const Var kNCCosRejBDTG20
Definition: NusVarsTemp.h:28

Definition at line 74 of file CutVariables.h.

Referenced by addVars(), and ApplyOscillations().

std::vector<VarContainer3D> vars3DND = {}

Definition at line 109 of file CutVariables.h.

Referenced by addVars(), and ApplyOscillations().

std::vector<VarContainer> varsFD

Definition at line 28 of file CutVariables.h.

Referenced by addVars(), ApplyOscillations(), and LoopHistograms().

std::vector<VarContainer> varsND
Initial value:
= {
VarContainer(ana::kIsElastic , "kIsElastic" , "Number of Elastic Vertices" , kIsElasticBins , {1} , kLow ) ,
VarContainer(ana::kNFuzzyProng , "kNFuzzyProng" , "Number of Fuzzy Prongs" , kNFuzzyProngBins , {1} , kLow ) ,
VarContainer(ana::kNContPlanes , "kNContPlanes" , "Number of Continuous Planes" , kNContPlanesBins , {3} , kLow ) ,
VarContainer(ana::kVtxX , "kVtxX" , "Vertex x (cm)" , kNDVtxXBins , {-100 , 100} , kBoth ) ,
VarContainer(ana::kVtxY , "kVtxY" , "Vertex y (cm)" , kNDVtxYBins , {-100 , 100} , kBoth ) ,
VarContainer(ana::kVtxZ , "kVtxZ" , "Vertex z (cm)" , kNDVtxZBins , {150 , 1000} , kBoth ) ,
VarContainer(ana::kDistAllTop , "kDistAllTop" , "Minimum Prong Distance Top (cm)" , kNDDistAllTopBins , {20} , kLow ) ,
VarContainer(ana::kDistAllBottom , "kDistAllBottom" , "Minimum Prong Distance Bottom (cm)" , kNDDistAllBottomBins , {20} , kLow ) ,
VarContainer(ana::kDistAllEast , "kDistAllEast" , "Minimum Prong Distance East (cm)" , kNDDistAllEastBins , {20} , kLow ) ,
VarContainer(ana::kDistAllWest , "kDistAllWest" , "Minimum Prong Distance West (cm)" , kNDDistAllWestBins , {20} , kLow ) ,
VarContainer(ana::kDistAllFront , "kDistAllFront" , "Minimum Prong Distance Front (cm)" , kNDDistAllFrontBins , {150} , kLow ) ,
VarContainer(ana::kDistAllBack , "kDistAllBack" , "Minimum Prong Distance Back (cm)" , kNDDistAllBackBins , {50} , kLow ) ,
VarContainer(ana::kCVNnc_oldpresel , "kCVNnc_oldpresel" , "CVN score (oldpresel)" , kCVNBins , {0} , kLow ) ,
VarContainer(ana::kCVNnc_looseptp , "kCVNnc_looseptp" , "CVN Score" , kCVNBins , {0.98} , kLow ) ,
VarContainer(ana::kCaloE , "kCaloE" , "Calorimetric Energy (GeV)" , ana::kNCNDBinning , {0 , 0} , kNeither) ,
VarContainer(ana::kHitsPerPlane , "kHitsPerPlane" , "Number of Hits Per Plane" , kHitsPerPlaneBins , {0.0} , kHigh ) ,
VarContainer(ana::kNSliceHits , "kNSliceHits" , "Number of Hits Per Slice" , kNDNSliceHitsBins , {0.0} , kLow ) ,
VarContainer(ana::kPartPtp , "kPartPtp" , "Tranverse Momentum Fraction" , kPartPtpBins , {1.0} , kHigh )
}
const ana::Binning kPartPtpBins
const Var kPartPtp([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.partptp)|| std::isinf(1.*sr->sel.nuecosrej.partptp)) return-5.f;return float(sr->sel.nuecosrej.partptp);})
Definition: NusVars.h:74
const ana::Binning kNDDistAllFrontBins
const ana::Binning kNContPlanesBins
const Var kDistAllBottom([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngbottom)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngbottom);})
Distance of all showers in slice from the bottom edge of detector.
Definition: NueVars.h:33
const Var kDistAllWest([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngwest)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngwest);})
Distance of all showers in slice from the west edge of detector.
Definition: NueVars.h:36
const Var kIsElastic
Definition: NusVars.cxx:11
const Var kDistAllTop([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngtop)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngtop);})
Distance of all showers in slice from the top edge of detector.
Definition: NueVars.h:30
const Var kDistAllBack([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngback)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngback);})
Distance of all showers in slice from the back edge of detector.
Definition: NueVars.h:42
const ana::Binning kNDDistAllTopBins
const Var kNContPlanes
Definition: NusVars.cxx:13
const Var kVtxX
const ana::Binning kNDDistAllBackBins
const ana::Binning kNDDistAllEastBins
const Var kNFuzzyProng
Definition: NusVars.cxx:12
const ana::Binning kNDNSliceHitsBins
const Var kDistAllEast([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngeast)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngeast);})
Distance of all showers in slice from the east edge of detector.
Definition: NueVars.h:39
const Var kHitsPerPlane
const ana::Binning kNFuzzyProngBins
const Var kCaloE
Summed calorimetric energy of all hits in slice, uncorrected.
Definition: Vars.cxx:52
const ana::Binning kNDDistAllBottomBins
const ana::Binning kNDVtxZBins
const ana::Binning kNDVtxYBins
const Var kNSliceHits
Definition: NusVars.cxx:18
const ana::Binning kHitsPerPlaneBins
const ana::Binning kCVNBins
const Var kCVNnc_oldpresel
Definition: NusVars.cxx:15
const ana::Binning kIsElasticBins
const Binning kNCNDBinning
NC custom binning.
Definition: Binning.cxx:104
const Var kCVNnc_looseptp
Definition: NusVars.cxx:14
const Var kDistAllFront([](const caf::SRProxy *sr){if(std::isnan(1.*sr->sel.nuecosrej.distallpngfront)) return-1000.0f;return float(sr->sel.nuecosrej.distallpngfront);})
Distance of all showers in slice from the front edge of detector.
Definition: NueVars.h:45
const Var kVtxY
const Var kVtxZ
const ana::Binning kNDDistAllWestBins
const ana::Binning kNDVtxXBins

Definition at line 82 of file CutVariables.h.

Referenced by addVars(), ApplyOscillations(), and LoopHistograms().