CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronLikelihood.h
Go to the documentation of this file.
1 #ifndef ElectronLikelihood_H
2 #define ElectronLikelihood_H
3 
13 #include <TDirectory.h>
14 #include <vector>
15 
16 
18 
19  public:
20 
23 
26  LikelihoodSwitches eleIDSwitches,
27  std::string signalWeightSplitting,
28  std::string backgroundWeightSplitting,
29  bool splitSignalPdfs,
30  bool splitBackgroundPdfs) ;
31 
33  virtual ~ElectronLikelihood () ;
34 
36  void setup (const edm::ParameterSet& conf) {} ;
37 
39  float result (const reco::GsfElectron &electron,
40  EcalClusterLazyTools) const ;
42  float resultLog (const reco::GsfElectron &electron,
43  EcalClusterLazyTools) const ;
44 
45  private:
46 
49  void Setup (const ElectronLikelihoodCalibration *calibration,
50  std::string signalWeightSplitting,
51  std::string backgroundWeightSplitting,
52  bool splitSignalPdfs,
53  bool splitBackgroundPdfs) ;
54 
55 
58  std::vector<float> &measuremnts,
59  EcalClusterLazyTools) const ;
60 
65 
68 
74 
75 };
76 
79 
80 #endif // ElectronLikelihood_H
virtual ~ElectronLikelihood()
dtor
LikelihoodPdfProduct * _EB0gt15lh
likelihood above 15GeV/c
void getInputVar(const reco::GsfElectron &electron, std::vector< float > &measuremnts, EcalClusterLazyTools) const
get the input variables from the electron and the e-Setup
std::string m_backgroundWeightSplitting
ElectronLikelihood()
ctor, not used for this algo (need initialization from ES)
LikelihoodPdfProduct * _EB0lt15lh
likelihood below 15GeV/c
LikelihoodPdfProduct * _EElt15lh
LikelihoodPdfProduct * _EB1gt15lh
#define EVENTSETUP_DATA_DEFAULT_RECORD(_data_, _record_)
LikelihoodSwitches m_eleIDSwitches
general parameters of all the ele id algorithms
void setup(const edm::ParameterSet &conf)
not used for this algo
tuple conf
Definition: dbtoconf.py:185
std::string m_signalWeightSplitting
splitting rule for PDF&#39;s
LikelihoodPdfProduct * _EB1lt15lh
void Setup(const ElectronLikelihoodCalibration *calibration, std::string signalWeightSplitting, std::string backgroundWeightSplitting, bool splitSignalPdfs, bool splitBackgroundPdfs)
LikelihoodPdfProduct * _EEgt15lh
float resultLog(const reco::GsfElectron &electron, EcalClusterLazyTools) const
get the log-expanded result of the algorithm
float result(const reco::GsfElectron &electron, EcalClusterLazyTools) const
get the result of the algorithm