SRLem.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRLem.h
3 // \version $Id: SRLem.h,v 1.4 2012-12-07 06:37:29 gsdavies Exp $
4 // \author $Author: gsdavies $
5 // \date $Date: 2012-12-07 06:37:29 $
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef SRLEM_H
8 #define SRLEM_H
9 
10 namespace caf
11 {
12  /// \brief This class contains the LEM PID output.
13  ///
14  /// Many variables are some kind of average over the matches. There are
15  /// simple means (no suffix), means exponentially weighted by the match
16  /// potential ("exp"), and a procedure by which one fits a linear trend and
17  /// evaluates it at the potential of the best match ("fit").
18  class SRLem
19  {
20  public:
21  SRLem();
22  ~SRLem();
23 
24  float pid; ///< The default PID value - normally use this one
25 
26  float pidfit; ///< Fraction of matches that are signal, "fit"
27  float pidexp; ///< Fraction of matches that are signal, "exp"
28  float pidexpfit; ///< Fraction of matches that are signal, "expfit"
29 
30  float meany; ///< Mean hadronic y of matches
31  float meanyfit; ///< Hadronic y of matches, "fit"
32  float meanyexp; ///< Hadronic y of matches, "exp"
33  float meanysig; ///< Mean hadronic y of matches that are signal
34  float meanysigexp; ///< Hadronic y of matches that are signal, "exp"
35 
36  float meanqfrac; ///< Mean fraction of charge matched
37  float meanqfracfit; ///< Fraction of charge matched, "fit"
38  float meanqfracexp; ///< Fraction of charge matched, "exp"
39  float meanqfracsig; ///< Fraction matched in signal matches
40  float meanqfracsigexp; ///< Fraction matched in signal matches "exp"
41  float meanqfracbkg; ///< Mean fraction matched in background matches
42  float meanqfracbkgexp; ///< Fraction matched in background matches, "exp"
43 
44  float energydiff; ///< Potential diff between sig and bkg matches
45  float energydiffexp; ///< Pot. diff between sig and bkg matches, "exp"
46 
47  float enrichfrac; ///< Fraction of matches that are "enriched"
48  float enrichfracexp; ///< Fraction of matches that are "enriched", "exp"
49 
50  float fannid; ///< ANN output, "fann" package
51  float fannidenrich; ///< ANN output, including \a enrichfracexp
52 
53  float chisig; ///< chi-square of a fit assuming best match is signal
54  float chibkg; ///< chisq of a fit assuming best match is background
55  float chisigexp; ///< chisq of a fit assuming best match is signal, "exp"
56  float chibkgexp; ///< chisq of a fit assuming best match is bkg, "exp"
57 
58  float avginvE; ///< Fraction of signal matches, 1/E weighting
59  float avgexpE; ///< Fraction of signal matches, "exp" weighting
60  float avgsigE; ///< Fraction of signal matches, sigmoid weighting
61 
62  float tmvabdtg; ///< TMVA boosted decision tree, gradient boost
63  float tmvabdt; ///< TMVA boosted decision tree, adaptive boost
64  float tmvabdtd; ///< TMVA boosted decision tree, decorrelation
65  float tmvabdtmf; ///< TMVA boosted decision tree, Fisher discriminant
66  float tmvamlp; ///< TMVA ANN ("multi layer perceptron")
67 
68  float dectree; ///< Decision tree PID
69 
70  void setDefault();
71  };
72 
73 } // end namespace
74 
75 #endif // SRLEM_H
76 //////////////////////////////////////////////////////////////////////////
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
This class contains the LEM PID output.
Definition: SRLem.h:18
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