Public Member Functions | Public Attributes | List of all members
caf::SRVeto Class Reference

Details of processing cuts made by the veto modules. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-01/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...
 

Detailed Description

Details of processing cuts made by the veto modules.

Definition at line 12 of file SRVeto.h.

Constructor & Destructor Documentation

caf::SRVeto::SRVeto ( )

Definition at line 14 of file SRVeto.cxx.

14  :
15  ncell(0),
16  fwddist(std::numeric_limits<float>::signaling_NaN()),
17  bakdist(std::numeric_limits<float>::signaling_NaN()),
18  ratio(std::numeric_limits<float>::signaling_NaN()),
19  diry(std::numeric_limits<float>::signaling_NaN()),
20  angle(std::numeric_limits<float>::signaling_NaN()),
21  anglevar(std::numeric_limits<float>::signaling_NaN()),
22  anglevarold(std::numeric_limits<float>::signaling_NaN()),
23  passthru(std::numeric_limits<bool>::signaling_NaN()),
24  passthruold(std::numeric_limits<bool>::signaling_NaN()),
25  passangle(std::numeric_limits<bool>::signaling_NaN()),
26  passanglefirstana(std::numeric_limits<bool>::signaling_NaN()),
27  passnumicut(std::numeric_limits<bool>::signaling_NaN()),
28  keep(std::numeric_limits<bool>::signaling_NaN()),
29  keepnue(std::numeric_limits<bool>::signaling_NaN())
30  { }
bool passanglefirstana
Would this slice pass the old angle cut used for first analysis.
Definition: SRVeto.h:29
bool passthru
Would this slice pass the (fixed) through-going check?
Definition: SRVeto.h:26
bool passangle
Would this slice pass the most recent angle cut?
Definition: SRVeto.h:28
bool passthruold
Would this slice pass the (not fixed, no ratio check) through-going check?
Definition: SRVeto.h:27
float angle
Cosine of CosmicTrack with respect to the beam direction.
Definition: SRVeto.h:23
bool keep
Definition: SRVeto.h:34
bool keepnue
Does the event past nue version of veto? (see doc-db 14654)
Definition: SRVeto.h:36
float bakdist
Projected live distance to the edge projected backwards from track start.
Definition: SRVeto.h:20
float fwddist
Projected live distance to the edge projected forwards from track end.
Definition: SRVeto.h:19
int ncell
Number of hits in the slice.
Definition: SRVeto.h:18
bool passnumicut
Does this event pass the NuMI timing cuts?
Definition: SRVeto.h:32
float diry
Cosine of CosmicTrack with respect to the y-direction.
Definition: SRVeto.h:22
float anglevar
Defined as: abs(angle)*(diry+1) - new angle variable for new angle cut.
Definition: SRVeto.h:24
float ratio
Number of hits in the track relative to the slice.
Definition: SRVeto.h:21
float anglevarold
Difference of squares between beam angle and Y-direction (Also labeled CosmicVar AnglePID and AngleVa...
Definition: SRVeto.h:25
caf::SRVeto::~SRVeto ( )
virtual

Definition at line 33 of file SRVeto.cxx.

33 { }

Member Function Documentation

void caf::SRVeto::setDefault ( )
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().

36  {
37  ncell = -5;
38  fwddist = -5;
39  bakdist = -5;
40  ratio = -5;
41  diry = -5;
42  angle = -5;
43  anglevar = -5;
44  anglevarold= -5;
45  passthru = true;
46  passthruold= true;
47  passangle = true;
48  passanglefirstana = true;
49  passnumicut= false;
50  keep = true;
51  keepnue = true;
52  }
bool passanglefirstana
Would this slice pass the old angle cut used for first analysis.
Definition: SRVeto.h:29
bool passthru
Would this slice pass the (fixed) through-going check?
Definition: SRVeto.h:26
bool passangle
Would this slice pass the most recent angle cut?
Definition: SRVeto.h:28
bool passthruold
Would this slice pass the (not fixed, no ratio check) through-going check?
Definition: SRVeto.h:27
float angle
Cosine of CosmicTrack with respect to the beam direction.
Definition: SRVeto.h:23
bool keep
Definition: SRVeto.h:34
bool keepnue
Does the event past nue version of veto? (see doc-db 14654)
Definition: SRVeto.h:36
float bakdist
Projected live distance to the edge projected backwards from track start.
Definition: SRVeto.h:20
float fwddist
Projected live distance to the edge projected forwards from track end.
Definition: SRVeto.h:19
int ncell
Number of hits in the slice.
Definition: SRVeto.h:18
bool passnumicut
Does this event pass the NuMI timing cuts?
Definition: SRVeto.h:32
float diry
Cosine of CosmicTrack with respect to the y-direction.
Definition: SRVeto.h:22
float anglevar
Defined as: abs(angle)*(diry+1) - new angle variable for new angle cut.
Definition: SRVeto.h:24
float ratio
Number of hits in the track relative to the slice.
Definition: SRVeto.h:21
float anglevarold
Difference of squares between beam angle and Y-direction (Also labeled CosmicVar AnglePID and AngleVa...
Definition: SRVeto.h:25

Member Data Documentation

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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().

int caf::SRVeto::ncell
bool caf::SRVeto::passangle
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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().

bool caf::SRVeto::passnumicut
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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::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(), flat::FlatVeto::Fill(), hdf5::HDF5Veto< Tidx >::Fill(), caf::FillVetoVars(), caf::Proxy< caf::SRVeto >::operator=(), and setDefault().

float caf::SRVeto::ratio

The documentation for this class was generated from the following files: