CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoTauDiscriminantFunctions.h
Go to the documentation of this file.
1 #ifndef RecoTauTag_RecoTau_RecoTauDiscriminantFunctions_h
2 #define RecoTauTag_RecoTau_RecoTauDiscriminantFunctions_h
3 
4 /*
5  * RecoTauDiscriminantFunctions
6  *
7  * Collection of unary functions used to compute tau discriminant values.
8  * Each function here (may be) used in an MVA discriminator.
9  *
10  * The functions all have the form
11  * ReturnType Function(const PFTau& tau)
12  * where ReturnType is either vector<double> or double.
13  *
14  * Author: Evan K. Friis, UC Davis
15  *
16  * $Id $
17  */
18 
20 #include <vector>
21 
22 namespace reco { namespace tau { namespace disc {
23 
24 // Save typing
25 typedef const PFTau& Tau;
26 typedef std::vector<double> VDouble;
27 
31 
32 // HPStanc variables
33 double JetPt(Tau tau);
34 double JetEta(Tau tau);
35 double AbsJetEta(Tau tau);
36 double JetWidth(Tau tau);
37 // Delta R between tau and jet axis
38 double JetTauDR(Tau tau);
39 
40 double SignalPtFraction(Tau tau);
46 double OpeningDeltaR(Tau tau);
47 double OpeningAngle3D(Tau tau);
52 
53 // Sum of charged isolation activity above/below 1 GeV
58 
59 // Sum of ecal isolation activity above/below 1.5 GeV
64 
65 // Fraction of signal energy carried by pizeros.
66 double EMFraction(Tau tau);
67 
68 // Absolute significance of impact parameter
70 
71 double Pt(Tau tau);
72 double Eta(Tau tau);
73 double AbsEta(Tau tau);
74 double Mass(Tau tau);
75 double DecayMode(Tau tau);
76 
77 // Number of objects in isolation cone
78 double OutlierN(Tau);
79 
80 // Number of charged objects in isolation cone
81 double OutlierNCharged(Tau);
82 
83 double OutlierSumPt(Tau);
84 double ChargedOutlierSumPt(Tau);
85 double NeutralOutlierSumPt(Tau);
86 
87 // Pt of the main track
88 double MainTrackPt(Tau);
89 // Eta of the main track
90 double MainTrackEta(Tau);
91 // Angle of main track to tau axis
92 double MainTrackAngle(Tau);
93 
94 // Exactly the same as "Mass", needed for backwards compatability
96 
97 // Quanitites of tracks
101 
102 // Quanitites of PiZeros
106 
107 // Isolation quantities
114 
115 // Dalitz for three prongs
117 
118 // Deprecated functions needed for backwards compatability
125 
126 }}} // end namespace reco::tau::disc
127 #endif
double IsolationECALSumHardRelative(Tau tau)
double ScaledPhiJetCollimation(Tau tau)
std::vector< double > VDouble
double IsolationECALSumHard(Tau tau)
double IsolationChargedSumSoftRelative(Tau tau)
double IsolationChargedPtFraction(Tau tau)
double ScaledEtaJetCollimation(Tau tau)
double ImpactParameterSignificance(Tau tau)
PFCandidateRef mainTrack(const PFTau &tau)
double IsolationChargedSumHard(Tau tau)
double IsolationChargedAveragePtFraction(Tau tau)
double IsolationECALPtFraction(Tau tau)
VDouble InvariantMassOfSignalWithFiltered(Tau)
double IsolationChargedSumHardRelative(Tau tau)
double IsolationECALSumSoftRelative(Tau tau)
double IsolationChargedSumSoft(Tau tau)
double IsolationNeutralHadronPtFraction(Tau tau)
double IsolationECALSumSoft(Tau tau)
double InvariantMassOfSignal(Tau tau)