Public Member Functions | |
DistortedMETProducer (const edm::ParameterSet &) | |
~DistortedMETProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
double | metScaleShift_ |
edm::InputTag | metTag_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 10 of file DistortedMETProducer.cc.
|
explicit |
Definition at line 31 of file DistortedMETProducer.cc.
References edm::ParameterSet::getUntrackedParameter(), metScaleShift_, and metTag_.
DistortedMETProducer::~DistortedMETProducer | ( | ) |
Definition at line 44 of file DistortedMETProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 48 of file DistortedMETProducer.cc.
|
privatevirtual |
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 55 of file DistortedMETProducer.cc.
References funct::cos(), reco::LeafCandidate::et(), edm::Event::getByLabel(), edm::EventBase::isRealData(), CaloMET_cfi::met, metScaleShift_, metTag_, reco::LeafCandidate::phi(), edm::Event::put(), funct::sin(), and reco::MET::sumEt().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 21 of file DistortedMETProducer.cc.
Referenced by DistortedMETProducer(), and produce().
|
private |
Definition at line 20 of file DistortedMETProducer.cc.
Referenced by DistortedMETProducer(), and produce().