#include <cmath>
#include <iostream>
#include "sbnana/SBNAna/Cuts/NumuCutsSBND202106.h"
#include "sbnana/SBNAna/Vars/NumuVarsSBND202106.h"
#include "sbnanaobj/StandardRecord/Proxy/SRProxy.h"
#include <cassert>
Go to the source code of this file.
Namespaces | |
ana | |
Oscillation analysis framework, runs over CAF files outside of ART. | |
Variables | |
const Cut | ana::kInFV ([](const caf::SRSliceProxy *slc){return(slc->vertex.x >(-199.15+10)&&slc->vertex.x< (199.15-10)&&slc->vertex.y >(-200.+10)&&slc->vertex.y< (200.-10)&&slc->vertex.z >(0.0+10)&&slc->vertex.z< (500.-50));}) |
const Cut | ana::kSlcFlashMatchTimeCut ([](const caf::SRSliceProxy *slc){if(std::isnan(slc->fmatch.time)) return false;bool InBeam=(slc->fmatch.time > 0.&&slc->fmatch.time< 1.800);return(InBeam);}) |
const Cut | ana::kSlcFlashMatchScoreCut ([](const caf::SRSliceProxy *slc){return(slc->fmatch.score< 7);}) |
const Cut | ana::kHasPrimaryMuonTrk ([](const caf::SRSliceProxy *slc){int ptrkid=kPrimaryMuonTrkIdx(slc);double ptrkrecop=kPrimaryMuonTrkP(slc);return(ptrkid!=-1 &&!isnan(ptrkrecop)&&ptrkrecop > 0.&&ptrkrecop< 7.5);}) |
const Cut | ana::kCRTTrackAngleCut ([](const caf::SRSliceProxy *slc){int ptrkid=kPrimaryMuonTrkIdx(slc);const caf::SRTrackProxy &ptrk=slc->reco.trk[ptrkid];return(isnan(ptrk.crttrack.angle)||ptrk.crttrack.angle > 0.05);}) |
const Cut | ana::kCRTHitDistanceCut ([](const caf::SRSliceProxy *slc){int ptrkid=kPrimaryMuonTrkIdx(slc);const caf::SRCRTHitMatchProxy &crthit=slc->reco.trk[ptrkid].crthit;if(std::isnan(crthit.hit.time)||std::isnan(crthit.distance)) return true;return crthit.distance > 5||(crthit.hit.time > 0.&&crthit.hit.time< 1.800);}) |