CutFlow.h
Go to the documentation of this file.
1 // this holds the cut flow for both ND and FD selections
2 // the cuts are split into analysis cuts (FDCuts, NDCuts)
3 // and subspectra cuts (FDSubSpectra, NDSubSpectra), where
4 // the subspectra define the total, signal, and out-of-det
5 // spectra
6 
7 #pragma once
8 
9 #include "CAFAna/Core/Cut.h"
10 #include "NuXAna/Cuts/NusCuts.h"
12 
13 using namespace ana;
14 
15 const ana::Cut kCCNC([](const caf::SRProxy* sr) {
16  if (sr->mc.nnu == 0) return false;
17  return (sr->mc.nu[0].iscc) ? false : true;
18  });
19 
22 
23 std::vector<CutContainer> cutsFD {
28  CutContainer(kNus20FDCuts, "FullSelection"),
29 };
30 
31 
32 std::vector<CutContainer> cutsND {
38 };
39 
40 std::vector<CutContainer> subCutsFD {
41  CutContainer(kNoCut, "Total"),
42  CutContainer(kFDTruthSelection, "Signal", false),
43  //CutContainer(kNus20FDTrueVtxOutOfDet, "TrueVtxOutOfDet", false)
44 };
45 
46 std::vector<CutContainer> subCutsND {
47  CutContainer(kNoCut, "Total"),
48  CutContainer(kNDTruthSelection, "Signal", false),
49  //CutContainer(kNus20NDTrueVtxOutOfDet, "TrueVtxOutOfDet", false)
50 };
51 
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
const Cut kNus20FDTrueVtxOutOfDet
Definition: NusCuts20.h:186
std::vector< CutContainer > cutsFD
Definition: CutFlow.h:23
const Cut kNus20NDPreSelection
Definition: NusCuts20.h:61
std::vector< CutContainer > subCutsND
Definition: CutFlow.h:46
const Cut kNus20FDSelectionCuts
Definition: NusCuts20.h:168
Proxy for caf::StandardRecord.
Definition: SRProxy.h:2126
const ana::Cut kCCNC([](const caf::SRProxy *sr){if(sr->mc.nnu==0) return false;return(sr->mc.nu[0].iscc)?false:true;})
caf::Proxy< std::vector< caf::SRNeutrino > > nu
Definition: SRProxy.h:618
const ana::Cut kNDTruthSelection
Definition: CutFlow.h:20
caf::Proxy< short int > nnu
Definition: SRProxy.h:617
std::vector< CutContainer > subCutsFD
Definition: CutFlow.h:40
const Cut kNus20QualityCuts
Definition: NusCuts20.h:41
const Cut kNus20NDTrueVtxOutOfDet
Definition: NusCuts20.h:112
std::vector< CutContainer > cutsND
Definition: CutFlow.h:32
const Cut kNus20NDCuts
Definition: NusCuts20.h:102
const Cut kNus20NDFiducialCuts
Definition: NusCuts20.h:88
const Cut kNus20FDPreSelection
Definition: NusCuts20.h:138
caf::StandardRecord * sr
caf::Proxy< caf::SRTruthBranch > mc
Definition: SRProxy.h:2138
const Cut kNus20NDVtxPosCut
Definition: NusCuts20.h:71
const ana::Cut kFDTruthSelection
Definition: CutFlow.h:21
const Cut kNus20FDCuts
Definition: NusCuts20.h:174
const Cut kNoCut
The simplest possible cut: pass everything, used as a default.
Definition: Cut.h:109
const Cut kNus20FDMinSliceDistCut
Definition: NusCuts20.h:153