SRJMEid.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRJMEid.h
3 // \version $Id: SRJMEid.h,v 1.4 2012-11-19 17:32:22 rocco Exp $
4 // \author $Author: rocco $
5 // \date $Date: 2012-11-19 17:32:22 $
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef SRJMEID_H
8 #define SRJMEID_H
9 
10 
11 
12 namespace caf
13 {
14  /// Output of the jmshower::NueSel module.
15  class SRJMEid
16  {
17  public:
18  SRJMEid();
19  ~SRJMEid();
20 
21  float ann; ///< ann output
22  float annE; ///< ann output, with E
23  float annEL; ///< ann output,
24  float annEPi0; ///< ann output, EPi0
25  float annEPi0EL; ///< ann output, EPi0 Elastic scattering
26  float annNoCos; ///< ann output, without cosTheta
27  float annENoCos; ///< ann output, with E without cosTheta
28  int ismuon; ///< Boolean to distinguish muons from electrons.
29 
30  ///<Below are the training variables for the EID
31  ///<These variables all use the leading (most energetic) shower in each slice
32  ///<The first 12 variables are calculating by computing the log likelihood
33  ///<that the leading shower (in both transverse and longitudinal directions)
34  ///<is an electron, and then subtracting the loglikelihood that the shower is
35  ///<another particle.
36  float dedx0; ///Plane Dedx
37  float dedx1; ///Plane Dedx
38  float dedx2; ///Plane Dedx
39  float dedx3; ///Plane Dedx
40  float dedx4; ///Plane Dedx
41  float dedx5; ///Plane Dedx
42  float eglll; ///<Electron - gamma ll for longitudinal shower
43  float egllt; ///<Electron - gamma ll for ltransverse shower
44  float emulll; ///<Electron - muon ll for longitudinal shower
45  float emullt; ///<Electron - muon ll for ltransverse shower
46  float epi0lll; ///<Electron - Pi0 ll for longitudinal shower
47  float epi0llt; ///<Electron - Pi0 ll for ltransverse shower
48  float eplll; ///<Electron - proton ll for longitudinal shower
49  float epllt; ///<Electron - proton ll for ltransverse shower
50  float enlll; ///<Electron - neutron ll for longitudinal shower
51  float enllt; ///<Electron - neutron ll for ltransverse shower
52  float epilll; ///<Electron - pion ll for longitudinal shower
53  float epillt; ///<Electron - pion ll for ltransverse shower
54  float vtxgev; ///<Energy of slice in vertex region
55  float pi0mass; ///<best pi0 mass hypothesis coming from combinations of JMShowers
56  float shwEFrac; ///<fraction of energy of leading shower out of total energy of slice
57  float gap; ///<gap from vertex to start of shower
58  float costheta; ///<cosine of track with respect to beam direction
59 
60  ///<The following variables are not used directly in the training but may be useful
61  float elll; ///<electron ll for longitudinal shower
62  float ellt; ///<electron ll for transverse shower
63  float eellll; ///<electron el ll for longitudinal shower
64  float eelllt; ///<electron el ll for transverse shower
65  float mulll; ///<muon ll for longitudinal shower
66  float mullt; ///<muon ll for transverse shower
67 
68  void setDefault();
69  };
70 
71 } // end namespace
72 
73 #endif // SRJMEID_H
74 //////////////////////////////////////////////////////////////////////////////
float annENoCos
ann output, with E without cosTheta
Definition: SRJMEid.h:27
float gap
gap from vertex to start of shower
Definition: SRJMEid.h:57
float dedx4
Plane Dedx.
Definition: SRJMEid.h:40
float ann
ann output
Definition: SRJMEid.h:21
float epi0llt
Electron - Pi0 ll for ltransverse shower.
Definition: SRJMEid.h:47
float elll
electron ll for longitudinal shower
Definition: SRJMEid.h:61
float emullt
Electron - muon ll for ltransverse shower.
Definition: SRJMEid.h:45
float eglll
Plane Dedx.
Definition: SRJMEid.h:42
float vtxgev
Energy of slice in vertex region.
Definition: SRJMEid.h:54
float epillt
Electron - pion ll for ltransverse shower.
Definition: SRJMEid.h:53
float eplll
Electron - proton ll for longitudinal shower.
Definition: SRJMEid.h:48
float epllt
Electron - proton ll for ltransverse shower.
Definition: SRJMEid.h:49
float epilll
Electron - pion ll for longitudinal shower.
Definition: SRJMEid.h:52
float dedx3
Plane Dedx.
Definition: SRJMEid.h:39
float annNoCos
ann output, without cosTheta
Definition: SRJMEid.h:26
float ellt
electron ll for transverse shower
Definition: SRJMEid.h:62
int ismuon
Boolean to distinguish muons from electrons.
Definition: SRJMEid.h:28
float annEPi0EL
ann output, EPi0 Elastic scattering
Definition: SRJMEid.h:25
float annEL
ann output,
Definition: SRJMEid.h:23
float annE
ann output, with E
Definition: SRJMEid.h:22
float dedx1
Plane Dedx.
Definition: SRJMEid.h:37
float shwEFrac
fraction of energy of leading shower out of total energy of slice
Definition: SRJMEid.h:56
float costheta
cosine of track with respect to beam direction
Definition: SRJMEid.h:58
float emulll
Electron - muon ll for longitudinal shower.
Definition: SRJMEid.h:44
float enllt
Electron - neutron ll for ltransverse shower.
Definition: SRJMEid.h:51
Output of the jmshower::NueSel module.
Definition: SRJMEid.h:15
float enlll
Electron - neutron ll for longitudinal shower.
Definition: SRJMEid.h:50
float pi0mass
best pi0 mass hypothesis coming from combinations of JMShowers
Definition: SRJMEid.h:55
float epi0lll
Electron - Pi0 ll for longitudinal shower.
Definition: SRJMEid.h:46
float eelllt
electron el ll for transverse shower
Definition: SRJMEid.h:64
float dedx0
Definition: SRJMEid.h:36
This module creates Common Analysis Files.
Definition: FileReducer.h:10
float dedx2
Plane Dedx.
Definition: SRJMEid.h:38
float egllt
Electron - gamma ll for ltransverse shower.
Definition: SRJMEid.h:43
float mullt
muon ll for transverse shower
Definition: SRJMEid.h:66
float dedx5
Plane Dedx.
Definition: SRJMEid.h:41
float annEPi0
ann output, EPi0
Definition: SRJMEid.h:24
float mulll
muon ll for longitudinal shower
Definition: SRJMEid.h:65
float eellll
electron el ll for longitudinal shower
Definition: SRJMEid.h:63
void setDefault()
Definition: SRJMEid.cxx:60