Details of processing cuts made by the veto modules. More...
#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-25/StandardRecord/SRVeto.h"
Public Member Functions | |
SRVeto () | |
virtual | ~SRVeto () |
virtual void | setDefault () |
Public Attributes | |
int | ncell |
Number of hits in the slice. More... | |
float | fwddist |
Projected live distance to the edge projected forwards from track end. More... | |
float | bakdist |
Projected live distance to the edge projected backwards from track start. More... | |
float | ratio |
Number of hits in the track relative to the slice. More... | |
float | diry |
Cosine of CosmicTrack with respect to the y-direction. More... | |
float | angle |
Cosine of CosmicTrack with respect to the beam direction. More... | |
float | anglevar |
Defined as: abs(angle)*(diry+1) - new angle variable for new angle cut. More... | |
float | anglevarold |
Difference of squares between beam angle and Y-direction (Also labeled CosmicVar AnglePID and AngleVar) - the old angle variable for old angle cut. More... | |
bool | passthru |
Would this slice pass the (fixed) through-going check? More... | |
bool | passthruold |
Would this slice pass the (not fixed, no ratio check) through-going check? More... | |
bool | passangle |
Would this slice pass the most recent angle cut? More... | |
bool | passanglefirstana |
Would this slice pass the old angle cut used for first analysis. More... | |
bool | passnumicut |
Does this event pass the NuMI timing cuts? More... | |
bool | keep |
bool | keepnue |
Does the event past nue version of veto? (see doc-db 14654) More... | |
caf::SRVeto::SRVeto | ( | ) |
Definition at line 14 of file SRVeto.cxx.
|
virtual |
Definition at line 33 of file SRVeto.cxx.
|
virtual |
Definition at line 35 of file SRVeto.cxx.
References angle, anglevar, anglevarold, bakdist, diry, fwddist, keep, keepnue, ncell, passangle, passanglefirstana, passnumicut, passthru, passthruold, and ratio.
Referenced by caf::CAFMaker::produce().
float caf::SRVeto::angle |
Cosine of CosmicTrack with respect to the beam direction.
Definition at line 23 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
float caf::SRVeto::anglevar |
Defined as: abs(angle)*(diry+1) - new angle variable for new angle cut.
Definition at line 24 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
float caf::SRVeto::anglevarold |
Difference of squares between beam angle and Y-direction (Also labeled CosmicVar AnglePID and AngleVar) - the old angle variable for old angle cut.
Definition at line 25 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
float caf::SRVeto::bakdist |
Projected live distance to the edge projected backwards from track start.
Definition at line 20 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
float caf::SRVeto::diry |
Cosine of CosmicTrack with respect to the y-direction.
Definition at line 22 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
float caf::SRVeto::fwddist |
Projected live distance to the edge projected forwards from track end.
Definition at line 19 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
bool caf::SRVeto::keep |
Boolean variable that determines whether the slice was actually kept or thrown away (Also labeled sel for selected); false if ANY cut is false (if fails through-going check, or angle cut, or has number hits < 20). It doesn't account for the numi timing cut.
Definition at line 34 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), make_dst_cosrejbdttrain(), caf::Proxy< caf::SRVeto >::operator=(), setDefault(), and trim_caf().
bool caf::SRVeto::keepnue |
Does the event past nue version of veto? (see doc-db 14654)
Definition at line 36 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
int caf::SRVeto::ncell |
Number of hits in the slice.
Definition at line 18 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
bool caf::SRVeto::passangle |
Would this slice pass the most recent angle cut?
Definition at line 28 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
bool caf::SRVeto::passanglefirstana |
Would this slice pass the old angle cut used for first analysis.
Definition at line 29 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
bool caf::SRVeto::passnumicut |
Does this event pass the NuMI timing cuts?
Definition at line 32 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
bool caf::SRVeto::passthru |
Would this slice pass the (fixed) through-going check?
Definition at line 26 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
bool caf::SRVeto::passthruold |
Would this slice pass the (not fixed, no ratio check) through-going check?
Definition at line 27 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().
float caf::SRVeto::ratio |
Number of hits in the track relative to the slice.
Definition at line 21 of file SRVeto.h.
Referenced by caf::Proxy< caf::SRVeto >::CheckEquals(), hdf5::HDF5Veto< Tidx >::Fill(), flat::Flat< caf::SRVeto >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().