SRLem.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRLem.cxx
3 // \brief This class contains the LEM PID output.
4 // \version $Id: SRLem.cxx,v 1.4 2012-12-07 06:37:29 gsdavies Exp $
5 // \author $Author: gsdavies $
6 // \date $Date: 2012-12-07 06:37:29 $
7 ////////////////////////////////////////////////////////////////////////
8 
9 #include "StandardRecord/SRLem.h"
10 
11 #include <limits>
12 
13 
14 namespace caf
15 {
16 
18  pid(std::numeric_limits<float>::signaling_NaN()),
19  pidfit(std::numeric_limits<float>::signaling_NaN()),
20  pidexp(std::numeric_limits<float>::signaling_NaN()),
21  pidexpfit(std::numeric_limits<float>::signaling_NaN()),
22  meany(std::numeric_limits<float>::signaling_NaN()),
23  meanyfit(std::numeric_limits<float>::signaling_NaN()),
24  meanyexp(std::numeric_limits<float>::signaling_NaN()),
25  meanysig(std::numeric_limits<float>::signaling_NaN()),
26  meanysigexp(std::numeric_limits<float>::signaling_NaN()),
27  meanqfrac(std::numeric_limits<float>::signaling_NaN()),
28  meanqfracfit(std::numeric_limits<float>::signaling_NaN()),
29  meanqfracexp(std::numeric_limits<float>::signaling_NaN()),
30  meanqfracsig(std::numeric_limits<float>::signaling_NaN()),
31  meanqfracsigexp(std::numeric_limits<float>::signaling_NaN()),
32  meanqfracbkg(std::numeric_limits<float>::signaling_NaN()),
33  meanqfracbkgexp(std::numeric_limits<float>::signaling_NaN()),
34  energydiff(std::numeric_limits<float>::signaling_NaN()),
35  energydiffexp(std::numeric_limits<float>::signaling_NaN()),
36  enrichfrac(std::numeric_limits<float>::signaling_NaN()),
37  enrichfracexp(std::numeric_limits<float>::signaling_NaN()),
38  fannid(std::numeric_limits<float>::signaling_NaN()),
39  fannidenrich(std::numeric_limits<float>::signaling_NaN()),
40  chisig(std::numeric_limits<float>::signaling_NaN()),
41  chibkg(std::numeric_limits<float>::signaling_NaN()),
42  chisigexp(std::numeric_limits<float>::signaling_NaN()),
43  chibkgexp(std::numeric_limits<float>::signaling_NaN()),
44  avginvE(std::numeric_limits<float>::signaling_NaN()),
45  avgexpE(std::numeric_limits<float>::signaling_NaN()),
46  avgsigE(std::numeric_limits<float>::signaling_NaN()),
47  tmvabdtg(std::numeric_limits<float>::signaling_NaN()),
48  tmvabdt(std::numeric_limits<float>::signaling_NaN()),
49  tmvabdtd(std::numeric_limits<float>::signaling_NaN()),
50  tmvabdtmf(std::numeric_limits<float>::signaling_NaN()),
51  tmvamlp(std::numeric_limits<float>::signaling_NaN()),
52  dectree(std::numeric_limits<float>::signaling_NaN())
53  { }
54 
55 
57 
59  {
60  pid = -5;
61  pidfit = -5;
62  pidexp = -5;
63  pidexpfit = -5;
64  meany = -5;
65  meanyfit = -5;
66  meanyexp = -5;
67  meanysig = -5;
68  meanysigexp = -5;
69  meanqfrac = -5;
70  meanqfracfit = -5;
71  meanqfracexp = -5;
72  meanqfracsig = -5;
73  meanqfracsigexp = -5;
74  meanqfracbkg = -5;
75  meanqfracbkgexp = -5;
76  energydiff = -5;
77  energydiffexp = -5;
78  enrichfrac = -5;
79  enrichfracexp = -5;
80  fannid = -5;
81  fannidenrich = -5;
82  chisig = -5;
83  chibkg = -5;
84  chisigexp = -5;
85  chibkgexp = -5;
86  avginvE = -5;
87  avgexpE = -5;
88  avgsigE = -5;
89  tmvabdtg = -5;
90  tmvabdt = -5;
91  tmvabdtd = -5;
92  tmvabdtmf = -5;
93  tmvamlp = -5;
94  dectree = -5;
95  }
96 
97 } // end namespace caf
98 ////////////////////////////////////////////////////////////////////////
float meanyexp
Hadronic y of matches, "exp".
Definition: SRLem.h:32
float pid
The default PID value - normally use this one.
Definition: SRLem.h:24
float tmvabdtmf
TMVA boosted decision tree, Fisher discriminant.
Definition: SRLem.h:65
float tmvabdt
TMVA boosted decision tree, adaptive boost.
Definition: SRLem.h:63
float energydiffexp
Pot. diff between sig and bkg matches, "exp".
Definition: SRLem.h:45
float meanyfit
Hadronic y of matches, "fit".
Definition: SRLem.h:31
float meanqfracbkg
Mean fraction matched in background matches.
Definition: SRLem.h:41
float enrichfrac
Fraction of matches that are "enriched".
Definition: SRLem.h:47
float chibkgexp
chisq of a fit assuming best match is bkg, "exp"
Definition: SRLem.h:56
float tmvabdtd
TMVA boosted decision tree, decorrelation.
Definition: SRLem.h:64
float meanqfracbkgexp
Fraction matched in background matches, "exp".
Definition: SRLem.h:42
float meanqfracfit
Fraction of charge matched, "fit".
Definition: SRLem.h:37
float meanysig
Mean hadronic y of matches that are signal.
Definition: SRLem.h:33
float fannid
ANN output, "fann" package.
Definition: SRLem.h:50
float meanqfracsig
Fraction matched in signal matches.
Definition: SRLem.h:39
float pidexp
Fraction of matches that are signal, "exp".
Definition: SRLem.h:27
float energydiff
Potential diff between sig and bkg matches.
Definition: SRLem.h:44
float meanqfracsigexp
Fraction matched in signal matches "exp".
Definition: SRLem.h:40
float avgsigE
Fraction of signal matches, sigmoid weighting.
Definition: SRLem.h:60
float chisig
chi-square of a fit assuming best match is signal
Definition: SRLem.h:53
float meanysigexp
Hadronic y of matches that are signal, "exp".
Definition: SRLem.h:34
float enrichfracexp
Fraction of matches that are "enriched", "exp".
Definition: SRLem.h:48
float avgexpE
Fraction of signal matches, "exp" weighting.
Definition: SRLem.h:59
float meanqfracexp
Fraction of charge matched, "exp".
Definition: SRLem.h:38
float fannidenrich
ANN output, including enrichfracexp.
Definition: SRLem.h:51
float pidexpfit
Fraction of matches that are signal, "expfit".
Definition: SRLem.h:28
float meany
Mean hadronic y of matches.
Definition: SRLem.h:30
void setDefault()
Definition: SRLem.cxx:58
float tmvamlp
TMVA ANN ("multi layer perceptron")
Definition: SRLem.h:66
This module creates Common Analysis Files.
Definition: FileReducer.h:10
float meanqfrac
Mean fraction of charge matched.
Definition: SRLem.h:36
~SRLem()
Definition: SRLem.cxx:56
float avginvE
Fraction of signal matches, 1/E weighting.
Definition: SRLem.h:58
float chisigexp
chisq of a fit assuming best match is signal, "exp"
Definition: SRLem.h:55
float pidfit
Fraction of matches that are signal, "fit".
Definition: SRLem.h:26
float chibkg
chisq of a fit assuming best match is background
Definition: SRLem.h:54
float dectree
Decision tree PID.
Definition: SRLem.h:68
float tmvabdtg
TMVA boosted decision tree, gradient boost.
Definition: SRLem.h:62