#include <ElectronLikelihoodESSource.h>
Public Types | |
typedef std::unique_ptr< ElectronLikelihood > | ReturnType |
define the return type More... | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Private Member Functions | |
const ElectronLikelihoodCalibration * | readPdfFromDB (const ElectronLikelihoodRcd &) |
read PDF's from CondDB More... | |
Private Attributes | |
std::string | m_backgroundWeightSplitting |
LikelihoodSwitches | m_eleIDSwitches |
general parameters of the id algorithm More... | |
std::string | m_signalWeightSplitting |
signal pdf splitting More... | |
bool | m_splitBackgroundPdfs |
bool | m_splitSignalPdfs |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
template<class T > | |
void | findingRecord () |
void | findingRecordWithKey (const eventsetup::EventSetupRecordKey &) |
Definition at line 38 of file ElectronLikelihoodESSource.h.
typedef std::unique_ptr<ElectronLikelihood> ElectronLikelihoodESSource::ReturnType |
define the return type
Definition at line 45 of file ElectronLikelihoodESSource.h.
ElectronLikelihoodESSource::ElectronLikelihoodESSource | ( | const edm::ParameterSet & | cfg | ) |
constructor from parameter set
Definition at line 3 of file ElectronLikelihoodESSource.cc.
References edm::ParameterSet::getParameter(), m_eleIDSwitches, LikelihoodSwitches::m_useDeltaEta, LikelihoodSwitches::m_useDeltaPhi, LikelihoodSwitches::m_useEoverP, LikelihoodSwitches::m_useFBrem, LikelihoodSwitches::m_useHoverE, LikelihoodSwitches::m_useOneOverEMinusOneOverP, LikelihoodSwitches::m_useSigmaEtaEta, LikelihoodSwitches::m_useSigmaPhiPhi, and edm::ESProducer::setWhatProduced().
|
override |
ElectronLikelihoodESSource::ReturnType ElectronLikelihoodESSource::produce | ( | const ElectronLikelihoodRcd & | iRecord | ) |
return the particle table
Definition at line 35 of file ElectronLikelihoodESSource.cc.
References m_backgroundWeightSplitting, m_eleIDSwitches, m_signalWeightSplitting, m_splitBackgroundPdfs, m_splitSignalPdfs, and readPdfFromDB().
|
private |
read PDF's from CondDB
Definition at line 66 of file ElectronLikelihoodESSource.cc.
References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), and edm::ESHandle< T >::product().
Referenced by produce().
|
overridevirtual |
set validity interval
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 54 of file ElectronLikelihoodESSource.cc.
References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().
|
private |
Definition at line 64 of file ElectronLikelihoodESSource.h.
Referenced by produce().
|
private |
general parameters of the id algorithm
Definition at line 60 of file ElectronLikelihoodESSource.h.
Referenced by ElectronLikelihoodESSource(), and produce().
|
private |
signal pdf splitting
Definition at line 63 of file ElectronLikelihoodESSource.h.
Referenced by produce().
|
private |
Definition at line 66 of file ElectronLikelihoodESSource.h.
Referenced by produce().
|
private |
Definition at line 65 of file ElectronLikelihoodESSource.h.
Referenced by produce().