SRVeto.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRVeto.h
3 // \author $Author: Fite $
4 // \date $Date: 2014-08-06 09:11:00 $
5 ////////////////////////////////////////////////////////////////////////
6 #ifndef SRVETO_H
7 #define SRVETO_H
8 
9 namespace caf
10 {
11  /// Details of processing cuts made by the veto modules
12  class SRVeto
13  {
14  public:
15  SRVeto();
16  virtual ~SRVeto();
17 
18  int ncell; ///<Number of hits in the slice
19  float fwddist; ///<Projected live distance to the edge projected forwards from track end
20  float bakdist; ///<Projected live distance to the edge projected backwards from track start
21  float ratio; ///<Number of hits in the track relative to the slice
22  float diry; ///<Cosine of CosmicTrack with respect to the y-direction
23  float angle; ///<Cosine of CosmicTrack with respect to the beam direction
24  float anglevar; ///<Defined as: abs(angle)*(diry+1) - new angle variable for new angle cut
25  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
26  bool passthru; ///<Would this slice pass the (fixed) through-going check?
27  bool passthruold;///<Would this slice pass the (not fixed, no ratio check) through-going check?
28  bool passangle; ///<Would this slice pass the most recent angle cut?
29  bool passanglefirstana;///<Would this slice pass the old angle cut used for first analysis
30 
31  /// Does this event pass the NuMI timing cuts?
33 
34  bool 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.
35  /// Does the event past nue version of veto? (see doc-db 14654)
36  bool keepnue;
37 
38  virtual void setDefault();
39 
40  };
41 
42 } // end namespace
43 
44 #endif // SRVETO_H
45 //////////////////////////////////////////////////////////////////////////////
bool passanglefirstana
Would this slice pass the old angle cut used for first analysis.
Definition: SRVeto.h:29
Details of processing cuts made by the veto modules.
Definition: SRVeto.h:12
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
virtual ~SRVeto()
Definition: SRVeto.cxx:33
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
virtual void setDefault()
Definition: SRVeto.cxx:35
float anglevar
Defined as: abs(angle)*(diry+1) - new angle variable for new angle cut.
Definition: SRVeto.h:24
This module creates Common Analysis Files.
Definition: FileReducer.h:10
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