CAFCutter.h
Go to the documentation of this file.
1 /////////////////////////////////////////////////////////////////////////
2 /// \brief Class to make all of the CAFCuts for the RecoValidation
3 /// modules.
4 /// \authors mbaird42@indiana.edu
5 /// \date 2017/02/14
6 /////////////////////////////////////////////////////////////////////////
7 
8 #ifndef RECOVALID_CAFCUTTER_H
9 #define RECOVALID_CAFCUTTER_H
10 
11 namespace caf{class StandardRecord;}
12 
13 #ifndef __GCCXML__
14 namespace recovalid {
15 
16  //==================================================//
17  //
18  // Note on cut types listed below:
19  // Cut1 = quality
20  // Cut2 = quality && containment
21  // Cut3 = quality && containment && event selection
22  //
23  //==================================================//
24 
25  enum cut_type{
26  kTruth = 0,
36  kNDnueCut2 = 10,
37  kNDnueCut3 = 11,
38  kFDnueCut1 = 12,
39  kFDnueCut2 = 13,
40  kFDnueCut3 = 14,
41  kNDnusCut1 = 15,
42  kNDnusCut2 = 16,
43  kNDnusCut3 = 17,
44  kFDnusCut1 = 18,
45  kFDnusCut2 = 19,
47  };
48 
49 }
50 #endif
51 
52 
53 
54 namespace recovalid {
55 
56  /// Helper class for Reco Validation modules
57 
58  class CAFCutter {
59 
60  public:
61 
62  // member functions
63  CAFCutter();
64  ~CAFCutter();
65 
66  // the cutting function...
67  bool passCuts(int cut, const caf::StandardRecord *sr);
68 
69  };
70 }
71 
72 #endif
73 /////////////////////////////////////////////////////////////////////////
Class to help Reco Validation modules make CAF cuts.
Definition: CAFCutter.cxx:26
caf::StandardRecord * sr
The StandardRecord is the primary top-level object in the Common Analysis File trees.
const Cut cut
Definition: exporter_fd.C:30
Helper class for Reco Validation modules.
Definition: CAFCutter.h:58
This module creates Common Analysis Files.
Definition: FileReducer.h:10