SRContain.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRContain.h
3 // \author $Author: bays $
4 // \date $Date: 2014-09-22 14:11:00 $
5 ////////////////////////////////////////////////////////////////////////
6 #ifndef SRCONTAIN_H
7 #define SRCONTAIN_H
8 
9 namespace caf
10 {
11  /// Containment variables
12  class SRContain
13  {
14  public:
15  SRContain();
16  virtual ~SRContain();
17 
18  bool numucontain; ///< is this contained by Numu Standards? (can use as general containment)
19  bool numucontainSA; ///< is this contained by second analysis Numu Standards?
20 
21  float missE; ///< sum of energy of particles that leave detector. example cut: missE/trueE > 0.01 is truly uncontained
22 
23  int nplanestofront; ///< number of planes between the front of the detector (configuration dependent) and hit with the smallest Z position
24  int nplanestoback; ///< number of planes between the back of the detector (configuration dependent) and hit with the largest Z position
25 
26  float vtxdist; ///< shortest distance to wall from primary Kalman track start position (proxy for vertex)
27  float enddist; ///< shortest distance to wall from primary Kalman track end position
28 
29  float cosfwddist; ///< cosmictrack projected distance (cm) from end point forwards to det edge
30  int cosfwdcell; ///< cosmictrack projected # cells from end point forwards to det edge
31  int cosfwdcellnd; ///< cosmictrack projected # cells from end point forwards to det edge, including muon catcher, ND only
32  float cosfwdair; ///< for cosmictrack projected distance forwards how much is through air (ND only, NYI)
33  float cosfwdsteel; ///< for cosmictrack projected distance forwards, how much is through steel (ND only, currently is just distance in muon catcher, cells and all)
34  float cosbakdist; ///< cosmictrack projected distance (cm) from start point backwards to det edge
35  int cosbakcell; ///< cosmictrack projected # cells from start point backwards to det edge
36  int cosbakcellnd; ///< cosmictrack projected # cells from start point backwards to det edge, including muon catcher, ND only
37  float cosbakair; ///< for cosmictrack projected distance backwards how much is through air (ND only, NYI)
38  float cosbaksteel; ///< for cosmictrack projected distance backwards, how much is through steel (ND only, currently is just distance in muon catcher, cells and all)
39  float kalfwddist; ///< Kalmantrack projected distance (cm) from end point forwards to det edge
40  int kalfwdcell; ///< Kalmantrack projected # cells from end point forwards to det edge
41  int kalfwdcellnd; ///< Kalmantrack projected # cells from end point forwards to det edge, including muon catcher, ND only
42  float kalfwdair; ///< for Kalmantrack projected distance forwards how much is through air (ND only, NYI)
43  float kalfwdsteel; ///< for Kalmantrack projected distance forwards, how much is through steel (ND only, currently is just distance in muon catcher, cells and all)
44  float kalbakdist; ///< Kalmantrack projected distance (cm) from start point backwards to det edge
45  int kalbakcell; ///< Kalmantrack projected # cells from start point backwards to det edge
46  int kalbakcellnd; ///< Kalmantrack projected # cells from start point backwards to det edge, including muon catcher, ND only
47  float kalbakair; ///< for Kalmantrack projected distance backwards how much is through air (ND only, NYI)
48  float kalbaksteel; ///< for Kalmantrack projected distance backwards, how much is through steel (ND only, currently is just distance in muon catcher, cells and all)
49  float cosyposattrans; ///< Y position of cosmic track at transition (ND only, use to check if went through air gap)
50  float kalyposattrans; ///< Y position of Kalman track and transition (ND only, use to check if went through air gap)
51 
52  float xmin2; ///< x position of hit second closest to edge in -X dimension (slc.boxmin.fX gives first closest)
53  float ymin2; ///< y position of hit second closest to edge in -Y dimension (slc.boxmin.fY gives first closest)
54  float zmin2; ///< Z position of hit second closest to edge in -Z dimension (slc.boxmin.fZ gives first closest)
55  float xmax2; ///< x position of hit second closest to edge in +X dimension (slc.boxmax.fX gives first closest)
56  float ymax2; ///< y position of hit second closest to edge in +Y dimension (slc.boxmax.fY gives first closest)
57  float zmax2; ///< z position of hit second closest to edge in +Z dimension (slc.boxmax.fZ gives first closest)
58 
59  float xmint; ///< x position of hit closest to edge in -X dimension that has > 100 photoelectons (TODO: use pecorr)
60  float ymint; ///< y position of hit closest to edge in -Y dimension that has > 100 photoelectons (TODO: use pecorr)
61  float zmint; ///< z position of hit closest to edge in -Z dimension that has > 100 photoelectons (TODO: use pecorr)
62  float xmaxt; ///< x position of hit closest to edge in +X dimension that has > 100 photoelectons (TODO: use pecorr)
63  float ymaxt; ///< y position of hit closest to edge in +Y dimension that has > 100 photoelectons (TODO: use pecorr)
64  float zmaxt; ///< z position of hit closest to edge in +Z dimension that has > 100 photoelectons (TODO: use pecorr)
65 
66  virtual void setDefault();
67 
68  };
69 
70 } // end namespace
71 
72 #endif // SRCONTAIN_H
73 ////////////////////////////////////////////////////////////////////////////
int cosfwdcell
cosmictrack projected # cells from end point forwards to det edge
Definition: SRContain.h:30
float missE
sum of energy of particles that leave detector. example cut: missE/trueE > 0.01 is truly uncontained ...
Definition: SRContain.h:21
float ymaxt
y position of hit closest to edge in +Y dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:63
float cosyposattrans
Y position of cosmic track at transition (ND only, use to check if went through air gap) ...
Definition: SRContain.h:49
float kalyposattrans
Y position of Kalman track and transition (ND only, use to check if went through air gap) ...
Definition: SRContain.h:50
float zmaxt
z position of hit closest to edge in +Z dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:64
float xmint
x position of hit closest to edge in -X dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:59
bool numucontainSA
is this contained by second analysis Numu Standards?
Definition: SRContain.h:19
float vtxdist
shortest distance to wall from primary Kalman track start position (proxy for vertex) ...
Definition: SRContain.h:26
int cosbakcell
cosmictrack projected # cells from start point backwards to det edge
Definition: SRContain.h:35
float kalfwdair
for Kalmantrack projected distance forwards how much is through air (ND only, NYI) ...
Definition: SRContain.h:42
int kalbakcellnd
Kalmantrack projected # cells from start point backwards to det edge, including muon catcher...
Definition: SRContain.h:46
float zmint
z position of hit closest to edge in -Z dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:61
float kalfwdsteel
for Kalmantrack projected distance forwards, how much is through steel (ND only, currently is just di...
Definition: SRContain.h:43
float xmin2
x position of hit second closest to edge in -X dimension (slc.boxmin.fX gives first closest) ...
Definition: SRContain.h:52
float xmax2
x position of hit second closest to edge in +X dimension (slc.boxmax.fX gives first closest) ...
Definition: SRContain.h:55
float kalfwddist
Kalmantrack projected distance (cm) from end point forwards to det edge.
Definition: SRContain.h:39
float zmax2
z position of hit second closest to edge in +Z dimension (slc.boxmax.fZ gives first closest) ...
Definition: SRContain.h:57
float cosbakdist
cosmictrack projected distance (cm) from start point backwards to det edge
Definition: SRContain.h:34
int kalfwdcellnd
Kalmantrack projected # cells from end point forwards to det edge, including muon catcher...
Definition: SRContain.h:41
bool numucontain
is this contained by Numu Standards? (can use as general containment)
Definition: SRContain.h:18
float cosfwddist
cosmictrack projected distance (cm) from end point forwards to det edge
Definition: SRContain.h:29
int cosfwdcellnd
cosmictrack projected # cells from end point forwards to det edge, including muon catcher...
Definition: SRContain.h:31
float cosfwdair
for cosmictrack projected distance forwards how much is through air (ND only, NYI) ...
Definition: SRContain.h:32
float cosfwdsteel
for cosmictrack projected distance forwards, how much is through steel (ND only, currently is just di...
Definition: SRContain.h:33
int nplanestoback
number of planes between the back of the detector (configuration dependent) and hit with the largest ...
Definition: SRContain.h:24
float kalbaksteel
for Kalmantrack projected distance backwards, how much is through steel (ND only, currently is just d...
Definition: SRContain.h:48
float ymint
y position of hit closest to edge in -Y dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:60
virtual ~SRContain()
Definition: SRContain.cxx:60
float xmaxt
x position of hit closest to edge in +X dimension that has > 100 photoelectons (TODO: use pecorr) ...
Definition: SRContain.h:62
float cosbaksteel
for cosmictrack projected distance backwards, how much is through steel (ND only, currently is just d...
Definition: SRContain.h:38
int kalfwdcell
Kalmantrack projected # cells from end point forwards to det edge.
Definition: SRContain.h:40
virtual void setDefault()
Definition: SRContain.cxx:62
Containment variables.
Definition: SRContain.h:12
float enddist
shortest distance to wall from primary Kalman track end position
Definition: SRContain.h:27
float ymax2
y position of hit second closest to edge in +Y dimension (slc.boxmax.fY gives first closest) ...
Definition: SRContain.h:56
float ymin2
y position of hit second closest to edge in -Y dimension (slc.boxmin.fY gives first closest) ...
Definition: SRContain.h:53
int kalbakcell
Kalmantrack projected # cells from start point backwards to det edge.
Definition: SRContain.h:45
int nplanestofront
number of planes between the front of the detector (configuration dependent) and hit with the smalles...
Definition: SRContain.h:23
This module creates Common Analysis Files.
Definition: FileReducer.h:10
float kalbakdist
Kalmantrack projected distance (cm) from start point backwards to det edge.
Definition: SRContain.h:44
float cosbakair
for cosmictrack projected distance backwards how much is through air (ND only, NYI) ...
Definition: SRContain.h:37
float zmin2
Z position of hit second closest to edge in -Z dimension (slc.boxmin.fZ gives first closest) ...
Definition: SRContain.h:54
int cosbakcellnd
cosmictrack projected # cells from start point backwards to det edge, including muon catcher...
Definition: SRContain.h:36
float kalbakair
for Kalmantrack projected distance backwards how much is through air (ND only, NYI) ...
Definition: SRContain.h:47