Public Member Functions | Public Attributes | List of all members
caf::SRSLid Class Reference

This class contains the LID pid information for a shower (slid::ShowerLID objects). More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/StandardRecord/SRSLid.h"

Public Member Functions

 SRSLid ()
 
 ~SRSLid ()
 
void setDefault ()
 

Public Attributes

float ann
 ann output More...
 
float anne
 ann with energy output More...
 
float annepi0
 e/pi0 PID for oscillation analysis More...
 
float annecos
 e/cos PID for oscillation analysis More...
 
int ismuon
 Boolean to distinguish muons from electrons. More...
 
LID training variables

These variables all use the leading (most energetic) shower in each slice The first 12 variables are calculating by computing the log likelihood that the leading shower (in both transverse and longitudinal directions) is an electron, and then subtracting the loglikelihood that the shower is another particle.

float eglll
 Electron - gamma LL for longitudinal shower. More...
 
float egllt
 Electron - gamma LL for transverse shower. More...
 
float emulll
 Electron - muon LL for longitudinal shower. More...
 
float emullt
 Electron - muon LL for transverse shower. More...
 
float epi0lll
 Electron - Pi0 LL for longitudinal shower. More...
 
float epi0llt
 Electron - Pi0 LL for transverse shower. More...
 
float eplll
 Electron - proton LL for longitudinal shower. More...
 
float epllt
 Electron - proton LL for transverse shower. More...
 
float enlll
 Electron - neutron LL for longitudinal shower. More...
 
float enllt
 Electron - neutron LL for transverse shower. More...
 
float epilll
 Electron - pion LL for longitudinal shower. More...
 
float epillt
 Electron - pion LL for transverse shower. More...
 
float vtxgev
 Energy of slice in vertex region. More...
 
float pi0mass
 best pi0 mass hypothesis coming from combinations of JMShowers More...
 
float shwEFrac
 fraction of energy of leading shower out of total energy of slice More...
 
float gap
 gap from vertex to start of shower More...
 
float costheta
 cosine of track with respect to beam direction More...
 
Variables not directly used in the training
float invglll
 photon LL for longitudinal shower, assuming shower started at opposite end More...
 
float elll
 Electron LL for longitudinal shower. More...
 
float ellt
 Electron LL for transverse shower. More...
 
float mulll
 Muon LL for longitudinal shower. More...
 
float mullt
 Muon LL for transverse shower. More...
 
Plane dedx for e/photon/pi0 identification
float dedx0
 
float dedx1
 
float dedx2
 
float dedx3
 
float dedx4
 
float dedx5
 
dE/dx for e/cos pid
float dedxp0c0
 
float dedxp0c1
 
float dedxp1c0
 
float dedxp1c1
 
float dedxp2c0
 
float dedxp2c1
 
float dedxp3c0
 
float dedxp3c1
 
float dedxp4c0
 
float dedxp4c1
 
float dedxp5c0
 
float dedxp5c1
 

Detailed Description

This class contains the LID pid information for a shower (slid::ShowerLID objects).

Definition at line 16 of file SRSLid.h.

Constructor & Destructor Documentation

caf::SRSLid::SRSLid ( )

Definition at line 17 of file SRSLid.cxx.

17  :
18  ann(std::numeric_limits<float>::signaling_NaN()),
19  anne(std::numeric_limits<float>::signaling_NaN()),
20  annepi0(std::numeric_limits<float>::signaling_NaN()),
21  annecos(std::numeric_limits<float>::signaling_NaN()),
22  ismuon(0),
23  eglll(std::numeric_limits<float>::signaling_NaN()),
24  egllt(std::numeric_limits<float>::signaling_NaN()),
25  emulll(std::numeric_limits<float>::signaling_NaN()),
26  emullt(std::numeric_limits<float>::signaling_NaN()),
27  epi0lll(std::numeric_limits<float>::signaling_NaN()),
28  epi0llt(std::numeric_limits<float>::signaling_NaN()),
29  eplll(std::numeric_limits<float>::signaling_NaN()),
30  epllt(std::numeric_limits<float>::signaling_NaN()),
31  enlll(std::numeric_limits<float>::signaling_NaN()),
32  enllt(std::numeric_limits<float>::signaling_NaN()),
33  epilll(std::numeric_limits<float>::signaling_NaN()),
34  epillt(std::numeric_limits<float>::signaling_NaN()),
35  vtxgev(std::numeric_limits<float>::signaling_NaN()),
36  pi0mass(std::numeric_limits<float>::signaling_NaN()),
37  shwEFrac(std::numeric_limits<float>::signaling_NaN()),
38  gap(std::numeric_limits<float>::signaling_NaN()),
39  costheta(std::numeric_limits<float>::signaling_NaN()),
40  invglll(std::numeric_limits<float>::signaling_NaN()),
41  elll(std::numeric_limits<float>::signaling_NaN()),
42  ellt(std::numeric_limits<float>::signaling_NaN()),
43  mulll(std::numeric_limits<float>::signaling_NaN()),
44  mullt(std::numeric_limits<float>::signaling_NaN()),
45  dedx0(std::numeric_limits<float>::signaling_NaN()),
46  dedx1(std::numeric_limits<float>::signaling_NaN()),
47  dedx2(std::numeric_limits<float>::signaling_NaN()),
48  dedx3(std::numeric_limits<float>::signaling_NaN()),
49  dedx4(std::numeric_limits<float>::signaling_NaN()),
50  dedx5(std::numeric_limits<float>::signaling_NaN()),
51  dedxp0c0(std::numeric_limits<float>::signaling_NaN()),
52  dedxp0c1(std::numeric_limits<float>::signaling_NaN()),
53  dedxp1c0(std::numeric_limits<float>::signaling_NaN()),
54  dedxp1c1(std::numeric_limits<float>::signaling_NaN()),
55  dedxp2c0(std::numeric_limits<float>::signaling_NaN()),
56  dedxp2c1(std::numeric_limits<float>::signaling_NaN()),
57  dedxp3c0(std::numeric_limits<float>::signaling_NaN()),
58  dedxp3c1(std::numeric_limits<float>::signaling_NaN()),
59  dedxp4c0(std::numeric_limits<float>::signaling_NaN()),
60  dedxp4c1(std::numeric_limits<float>::signaling_NaN()),
61  dedxp5c0(std::numeric_limits<float>::signaling_NaN()),
62  dedxp5c1(std::numeric_limits<float>::signaling_NaN())
63  { }
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
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
float dedx4
Definition: SRSLid.h:70
float vtxgev
Energy of slice in vertex region.
Definition: SRSLid.h:48
caf::SRSLid::~SRSLid ( )

Definition at line 66 of file SRSLid.cxx.

66 { }

Member Function Documentation

void caf::SRSLid::setDefault ( )

Definition at line 68 of file SRSLid.cxx.

References ann, anne, annecos, annepi0, costheta, dedx0, dedx1, dedx2, dedx3, dedx4, dedx5, dedxp0c0, dedxp0c1, dedxp1c0, dedxp1c1, dedxp2c0, dedxp2c1, dedxp3c0, dedxp3c1, dedxp4c0, dedxp4c1, dedxp5c0, dedxp5c1, eglll, egllt, elll, ellt, emulll, emullt, enlll, enllt, epi0lll, epi0llt, epilll, epillt, eplll, epllt, gap, invglll, ismuon, mulll, mullt, pi0mass, shwEFrac, and vtxgev.

Referenced by caf::SRShowerLID::setDefault().

69  {
70  ann = -5.0;
71  anne = -5.0;
72  annepi0 = -5.0;
73  annecos = -5.0;
74  ismuon = -5;
75  eglll = -5;
76  egllt = -5;
77  emulll = -5;
78  emullt = -5;
79  epi0lll = -5;
80  epi0llt = -5;
81  eplll = -5;
82  epllt = -5;
83  enlll = -5;
84  enllt = -5;
85  epilll = -5;
86  epillt = -5;
87  vtxgev = -5;
88  pi0mass = -5;
89  shwEFrac = -5;
90  gap = -5;
91  costheta = -5;
92  invglll = -5;
93  elll = -5;
94  ellt = -5;
95  mulll = -5;
96  mullt = -5;
97  dedx0 = -5;
98  dedx1 = -5;
99  dedx2 = -5;
100  dedx3 = -5;
101  dedx4 = -5;
102  dedx5 = -5;
103  dedxp0c0 = -5;
104  dedxp0c1 = -5;
105  dedxp1c0 = -5;
106  dedxp1c1 = -5;
107  dedxp2c0 = -5;
108  dedxp2c1 = -5;
109  dedxp3c0 = -5;
110  dedxp3c1 = -5;
111  dedxp4c0 = -5;
112  dedxp4c1 = -5;
113  dedxp5c0 = -5;
114  dedxp5c1 = -5;
115  }
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
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
float dedx4
Definition: SRSLid.h:70
float vtxgev
Energy of slice in vertex region.
Definition: SRSLid.h:48

Member Data Documentation

float caf::SRSLid::ann
float caf::SRSLid::anne
float caf::SRSLid::annecos
float caf::SRSLid::annepi0
float caf::SRSLid::costheta
float caf::SRSLid::dedx0
float caf::SRSLid::dedx1
float caf::SRSLid::dedx2
float caf::SRSLid::dedx3
float caf::SRSLid::dedx4
float caf::SRSLid::dedx5
float caf::SRSLid::dedxp0c0
float caf::SRSLid::dedxp0c1
float caf::SRSLid::dedxp1c0
float caf::SRSLid::dedxp1c1
float caf::SRSLid::dedxp2c0
float caf::SRSLid::dedxp2c1
float caf::SRSLid::dedxp3c0
float caf::SRSLid::dedxp3c1
float caf::SRSLid::dedxp4c0
float caf::SRSLid::dedxp4c1
float caf::SRSLid::dedxp5c0
float caf::SRSLid::dedxp5c1
float caf::SRSLid::eglll
float caf::SRSLid::egllt
float caf::SRSLid::elll
float caf::SRSLid::ellt
float caf::SRSLid::emulll
float caf::SRSLid::emullt
float caf::SRSLid::enlll
float caf::SRSLid::enllt
float caf::SRSLid::epi0lll
float caf::SRSLid::epi0llt
float caf::SRSLid::epilll
float caf::SRSLid::epillt
float caf::SRSLid::eplll
float caf::SRSLid::epllt
float caf::SRSLid::gap
float caf::SRSLid::invglll

photon LL for longitudinal shower, assuming shower started at opposite end

Definition at line 57 of file SRSLid.h.

Referenced by caf::Proxy< caf::SRSLid >::CheckEquals(), flat::FlatSLid::Fill(), hdf5::HDF5SLid< Tidx >::Fill(), caf::FillSlidVars(), caf::Proxy< caf::SRSLid >::operator=(), and setDefault().

int caf::SRSLid::ismuon
float caf::SRSLid::mulll
float caf::SRSLid::mullt
float caf::SRSLid::pi0mass

best pi0 mass hypothesis coming from combinations of JMShowers

Definition at line 49 of file SRSLid.h.

Referenced by caf::Proxy< caf::SRSLid >::CheckEquals(), flat::FlatSLid::Fill(), hdf5::HDF5SLid< Tidx >::Fill(), caf::FillSlidVars(), caf::Proxy< caf::SRSLid >::operator=(), and setDefault().

float caf::SRSLid::shwEFrac

fraction of energy of leading shower out of total energy of slice

Definition at line 50 of file SRSLid.h.

Referenced by caf::Proxy< caf::SRSLid >::CheckEquals(), flat::FlatSLid::Fill(), hdf5::HDF5SLid< Tidx >::Fill(), caf::FillSlidVars(), caf::Proxy< caf::SRSLid >::operator=(), and setDefault().

float caf::SRSLid::vtxgev

The documentation for this class was generated from the following files: