SRSLid.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRSLid.h
3 // \brief This class contains the LID pid iformation for a shower.
4 // \version $Id: SRLid.h,v 1.4 2012-11-19 17:32:22 rocco Exp $
5 // \author $Author: rocco $
6 // \date $Date: 2012-11-19 17:32:22 $
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef SRSLID_H
9 #define SRSLID_H
10 
11 
12 
13 namespace caf
14 {
15  /// This class contains the LID pid information for a shower (slid::ShowerLID objects).
16  class SRSLid
17  {
18  public:
19  SRSLid();
20  ~SRSLid();
21 
22  float ann; ///< ann output
23  float anne; ///< ann with energy output
24  float annepi0; ///< e/pi0 PID for oscillation analysis
25  float annecos; ///< e/cos PID for oscillation analysis
26  int ismuon; ///< Boolean to distinguish muons from electrons.
27 
28  /// \name LID training variables
29  ///
30  /// These variables all use the leading (most energetic) shower in each
31  /// slice The first 12 variables are calculating by computing the log
32  /// likelihood that the leading shower (in both transverse and
33  /// longitudinal directions) is an electron, and then subtracting the
34  /// loglikelihood that the shower is another particle.
35  //@{
36  float eglll; ///<Electron - gamma LL for longitudinal shower
37  float egllt; ///<Electron - gamma LL for transverse shower
38  float emulll; ///<Electron - muon LL for longitudinal shower
39  float emullt; ///<Electron - muon LL for transverse shower
40  float epi0lll; ///<Electron - Pi0 LL for longitudinal shower
41  float epi0llt; ///<Electron - Pi0 LL for transverse shower
42  float eplll; ///<Electron - proton LL for longitudinal shower
43  float epllt; ///<Electron - proton LL for transverse shower
44  float enlll; ///<Electron - neutron LL for longitudinal shower
45  float enllt; ///<Electron - neutron LL for transverse shower
46  float epilll; ///<Electron - pion LL for longitudinal shower
47  float epillt; ///<Electron - pion LL for transverse shower
48  float vtxgev; ///<Energy of slice in vertex region
49  float pi0mass; ///<best pi0 mass hypothesis coming from combinations of JMShowers
50  float shwEFrac; ///<fraction of energy of leading shower out of total energy of slice
51  float gap; ///<gap from vertex to start of shower
52  float costheta; ///<cosine of track with respect to beam direction
53  //@}
54 
55  /// \name Variables not directly used in the training
56  //@{
57  float invglll; ///<photon LL for longitudinal shower, assuming shower started at opposite end
58  float elll; ///<Electron LL for longitudinal shower
59  float ellt; ///<Electron LL for transverse shower
60  float mulll; ///<Muon LL for longitudinal shower
61  float mullt; ///<Muon LL for transverse shower
62  //@}
63 
64  /// \name Plane dedx for e/photon/pi0 identification
65  //@{
66  float dedx0;
67  float dedx1;
68  float dedx2;
69  float dedx3;
70  float dedx4;
71  float dedx5;
72  //@}
73 
74  /// \name dE/dx for e/cos pid
75  //@{
76  float dedxp0c0;
77  float dedxp0c1;
78  float dedxp1c0;
79  float dedxp1c1;
80  float dedxp2c0;
81  float dedxp2c1;
82  float dedxp3c0;
83  float dedxp3c1;
84  float dedxp4c0;
85  float dedxp4c1;
86  float dedxp5c0;
87  float dedxp5c1;
88  //@}
89 
90  void setDefault();
91  };
92 
93 } // end namespace
94 
95 #endif // SRSLID_H
96 //////////////////////////////////////////////////////////////////////////////
int ismuon
Boolean to distinguish muons from electrons.
Definition: SRSLid.h:26
float dedxp1c1
Definition: SRSLid.h:79
float dedxp4c1
Definition: SRSLid.h:85
float enllt
Electron - neutron LL for transverse shower.
Definition: SRSLid.h:45
float anne
ann with energy output
Definition: SRSLid.h:23
float shwEFrac
fraction of energy of leading shower out of total energy of slice
Definition: SRSLid.h:50
float ann
ann output
Definition: SRSLid.h:22
float dedx1
Definition: SRSLid.h:67
float dedxp0c1
Definition: SRSLid.h:77
float eplll
Electron - proton LL for longitudinal shower.
Definition: SRSLid.h:42
float dedxp3c0
Definition: SRSLid.h:82
float ellt
Electron LL for transverse shower.
Definition: SRSLid.h:59
float dedxp5c1
Definition: SRSLid.h:87
float dedxp0c0
Definition: SRSLid.h:76
float annepi0
e/pi0 PID for oscillation analysis
Definition: SRSLid.h:24
float costheta
cosine of track with respect to beam direction
Definition: SRSLid.h:52
float emulll
Electron - muon LL for longitudinal shower.
Definition: SRSLid.h:38
float invglll
photon LL for longitudinal shower, assuming shower started at opposite end
Definition: SRSLid.h:57
float emullt
Electron - muon LL for transverse shower.
Definition: SRSLid.h:39
float dedxp5c0
Definition: SRSLid.h:86
float epilll
Electron - pion LL for longitudinal shower.
Definition: SRSLid.h:46
float annecos
e/cos PID for oscillation analysis
Definition: SRSLid.h:25
float elll
Electron LL for longitudinal shower.
Definition: SRSLid.h:58
float pi0mass
best pi0 mass hypothesis coming from combinations of JMShowers
Definition: SRSLid.h:49
float dedxp3c1
Definition: SRSLid.h:83
float dedxp4c0
Definition: SRSLid.h:84
float epi0lll
Electron - Pi0 LL for longitudinal shower.
Definition: SRSLid.h:40
float dedxp2c1
Definition: SRSLid.h:81
float dedx5
Definition: SRSLid.h:71
float mulll
Muon LL for longitudinal shower.
Definition: SRSLid.h:60
float dedxp1c0
Definition: SRSLid.h:78
float dedxp2c0
Definition: SRSLid.h:80
float epllt
Electron - proton LL for transverse shower.
Definition: SRSLid.h:43
float dedx0
Definition: SRSLid.h:66
float enlll
Electron - neutron LL for longitudinal shower.
Definition: SRSLid.h:44
float epillt
Electron - pion LL for transverse shower.
Definition: SRSLid.h:47
float eglll
Electron - gamma LL for longitudinal shower.
Definition: SRSLid.h:36
float dedx2
Definition: SRSLid.h:68
float egllt
Electron - gamma LL for transverse shower.
Definition: SRSLid.h:37
void setDefault()
Definition: SRSLid.cxx:68
float epi0llt
Electron - Pi0 LL for transverse shower.
Definition: SRSLid.h:41
float gap
gap from vertex to start of shower
Definition: SRSLid.h:51
float mullt
Muon LL for transverse shower.
Definition: SRSLid.h:61
float dedx3
Definition: SRSLid.h:69
This module creates Common Analysis Files.
Definition: FileReducer.h:10
This class contains the LID pid information for a shower (slid::ShowerLID objects).
Definition: SRSLid.h:16
float dedx4
Definition: SRSLid.h:70
float vtxgev
Energy of slice in vertex region.
Definition: SRSLid.h:48