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 ;
41 
42  private:
43 
46  void Setup (const ElectronLikelihoodCalibration *calibration,
47  std::string signalWeightSplitting,
48  std::string backgroundWeightSplitting,
49  bool splitSignalPdfs,
50  bool splitBackgroundPdfs) ;
51 
52 
55  std::vector<float> &measuremnts,
56  EcalClusterLazyTools) const ;
57 
62 
65 
71 
72 };
73 
76 
77 #endif // ElectronLikelihood_H
virtual ~ElectronLikelihood()
dtor
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 * _EBgt15lh
likelihood above 15GeV/c
LikelihoodPdfProduct * _EElt15lh
#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
void Setup(const ElectronLikelihoodCalibration *calibration, std::string signalWeightSplitting, std::string backgroundWeightSplitting, bool splitSignalPdfs, bool splitBackgroundPdfs)
LikelihoodPdfProduct * _EEgt15lh
LikelihoodPdfProduct * _EBlt15lh
likelihood below 15GeV/c
float result(const reco::GsfElectron &electron, EcalClusterLazyTools) const
get the result of the algorithm