11 : moduleLabel_(cfg.getParameter<std::string>(
"@module_label"))
17 produces<CorrMETData>();
27 std::auto_ptr<CorrMETData> unclEnergySum(
new CorrMETData());
43 for (
int muonIndex = 0; muonIndex <
numMuons; ++muonIndex ) {
50 unclEnergySum->mex -= muon.
px();
51 unclEnergySum->mey -= muon.
py();
52 unclEnergySum->sumet -= muon.
pt();
57 evt.
put(unclEnergySum);
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual double px() const
x coordinate of momentum vector
virtual double pt() const
transverse momentum
virtual double py() const
y coordinate of momentum vector