All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Variables
CAFAna/Cuts/TruthCuts.cxx File Reference
#include "sbnana/CAFAna/Cuts/TruthCuts.h"
#include "sbnanaobj/StandardRecord/Proxy/SRProxy.h"

Go to the source code of this file.

Namespaces

 ana
 Oscillation analysis framework, runs over CAF files outside of ART.
 

Variables

const Cut ana::kHasMatchedNu ([](const caf::SRSliceProxy *slc){return slc->truth.index >=0;})
 
const Cut ana::kIsNC ([](const caf::SRSliceProxy *slc){return kHasMatchedNu(slc)&&slc->truth.isnc;})
 Is this a Neutral Current event? More...
 
const Cut ana::kIsCC ([](const caf::SRSliceProxy *slc){return kHasMatchedNu(slc)&&slc->truth.iscc;})
 
const Cut ana::kIsAntiNu ([](const caf::SRSliceProxy *slc){return kHasMatchedNu(slc)&&slc->truth.pdg< 0;})
 Is this truly an antineutrino? More...