CMS 3D CMS Logo

ElectronLikelihoodESSource.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //-----------------------------------------------------------------------
3 //
4 // Package:
5 // EgammaAnalysis/ElectronIDESSource
6 // Description:
7 // Class ElectronLikelihoodESSource
8 // class defining the Event Setup sources, where to take:
9 // PDFs, a priori probabilities, cluster shape Fisher setup
10 //
11 // Original Authors: Emanuele Di Marco,
12 // Chiara Ilaria Rovelli,
13 // Paolo Meridiani
14 // Universita' di Roma "La Sapienza" and INFN Roma
15 //
16 // Created: Fri Jun 25 11:25:36 CEST 2007
17 //
18 //-----------------------------------------------------------------------
19 
20 
21 #ifndef ElectronLikelihoodESSource_h
22 #define ElectronLikelihoodESSource_h
23 
24 #include <memory>
25 #include <fstream>
26 #include <vector>
35 #include <climits>
36 #include <string>
37 
39  public:
43  ~ElectronLikelihoodESSource() override;
45  typedef std::unique_ptr<ElectronLikelihood> ReturnType;
47  ReturnType produce( const ElectronLikelihoodRcd &);
50  const edm::IOVSyncValue &,
51  edm::ValidityInterval & ) override;
52 
53  private:
56 
57  private:
58 
61 
67 
68 };
69 #endif
std::string m_signalWeightSplitting
signal pdf splitting
~ElectronLikelihoodESSource() override
destructor
const ElectronLikelihoodCalibration * readPdfFromDB(const ElectronLikelihoodRcd &)
read PDF&#39;s from CondDB
LikelihoodSwitches m_eleIDSwitches
general parameters of the id algorithm
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
set validity interval
std::unique_ptr< ElectronLikelihood > ReturnType
define the return type
ReturnType produce(const ElectronLikelihoodRcd &)
return the particle table
ElectronLikelihoodESSource(const edm::ParameterSet &)
constructor from parameter set