Public Member Functions | |
CorrectedCaloMETProducer2 (const edm::ParameterSet &cfg) | |
~CorrectedCaloMETProducer2 () | |
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 Types | |
typedef std::vector < reco::CaloMET > | METCollection |
Private Member Functions | |
reco::CaloMET | applyCorrection (const reco::CaloMET &srcMET, const CorrMETData &correction) |
reco::Candidate::LorentzVector | constructP4From (const reco::CaloMET &met, const CorrMETData &correction) |
void | produce (edm::Event &evt, const edm::EventSetup &es) |
CorrMETData | readAndSumCorrections (edm::Event &evt, const edm::EventSetup &es) |
Private Attributes | |
edm::InputTag | src_ |
std::vector< edm::InputTag > | srcCorrections_ |
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 20 of file CorrectedCaloMETProducer2.cc.
|
private |
Definition at line 36 of file CorrectedCaloMETProducer2.cc.
|
inlineexplicit |
Definition at line 25 of file CorrectedCaloMETProducer2.cc.
|
inline |
Definition at line 32 of file CorrectedCaloMETProducer2.cc.
|
inlineprivate |
Definition at line 70 of file CorrectedCaloMETProducer2.cc.
References constructP4From(), reco::CaloMET::getSpecific(), reco::MET::mEtCorr(), CorrMETData::sumet, reco::MET::sumEt(), and reco::LeafCandidate::vertex().
Referenced by produce().
|
inlineprivate |
Definition at line 77 of file CorrectedCaloMETProducer2.cc.
References CorrMETData::mex, CorrMETData::mey, reco::LeafCandidate::px(), reco::LeafCandidate::py(), and mathSSE::sqrt().
Referenced by applyCorrection().
|
inlineprivatevirtual |
Implements edm::EDProducer.
Definition at line 41 of file CorrectedCaloMETProducer2.cc.
References applyCorrection(), edm::Event::getByLabel(), edm::Event::put(), readAndSumCorrections(), and src_.
|
inlineprivate |
Definition at line 57 of file CorrectedCaloMETProducer2.cc.
References corr, edm::Event::getByLabel(), run_regression::ret, and srcCorrections_.
Referenced by produce().
|
private |
Definition at line 38 of file CorrectedCaloMETProducer2.cc.
Referenced by produce().
|
private |
Definition at line 39 of file CorrectedCaloMETProducer2.cc.
Referenced by readAndSumCorrections().