All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Variables
Cuts.cxx File Reference
#include "sbnana/SBNAna/Cuts/Cuts.h"
#include "sbnana/SBNAna/Vars/Vars.h"
#include "sbnana/SBNAna/Cuts/VolumeDefinitions.h"
#include "sbnanaobj/StandardRecord/Proxy/SRProxy.h"
#include <map>
#include <string>

Go to the source code of this file.

Namespaces

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

Variables

const SpillCut ana::kFirstEvents = kEvt < 10
 
const SpillCut ana::kFlashTrigger ([](const caf::SRSpillProxy *sr){return(sr->pass_flashtrig);})
 
const SpillCut ana::kCRTHitVetoND ([](const caf::SRSpillProxy *sr){for(auto const &crtHit:sr->crt_hits){return false;}return true;})
 
const SpillCut ana::kCRTHitVetoFD ([](const caf::SRSpillProxy *sr){for(auto const &crtHit:sr->crt_hits){auto thistime=crtHit.time-1600.;return false;}return true;})
 
const Cut ana::kFiducialVolumeND ([](const caf::SRSliceProxy *slc){return PtInVolAbsX(slc->vertex, fvndAbs);})
 
const Cut ana::kActiveVolumeND ([](const caf::SRSliceProxy *slc){return PtInVolAbsX(slc->vertex, avnd);})
 
const Cut ana::kFiducialVolumeFDCryo1 ([](const caf::SRSliceProxy *slc){return PtInVol(slc->vertex, fvfd_cryo1);})
 
const Cut ana::kFiducialVolumeFDCryo2 ([](const caf::SRSliceProxy *slc){return PtInVol(slc->vertex, fvfd_cryo2);})
 
const Cut ana::kActiveVolumeFDCryo1 ([](const caf::SRSliceProxy *slc){return PtInVol(slc->vertex, avfd_cryo1);})
 
const Cut ana::kActiveVolumeFDCryo2 ([](const caf::SRSliceProxy *slc){return PtInVol(slc->vertex, avfd_cryo2);})
 
const Cut ana::kSlcIsRecoNu ([](const caf::SRSliceProxy *slc){return!slc->is_clear_cosmic;})
 
const Cut ana::kSlcNuScoreCut ([](const caf::SRSliceProxy *slc){return(kSlcIsRecoNu(slc)&&slc->nu_score >0.4);})
 
const Cut ana::kSlcHasFlashMatch ([](const caf::SRSliceProxy *slc){return slc->fmatch.present;})
 
const Cut ana::kSlcFlashMatchCut ([](const caf::SRSliceProxy *slc){return(kSlcHasFlashMatch(slc)&&slc->fmatch.score >0 &&slc->fmatch.score< 6);})