21 virtual void endJob()
override ;
35 produces<std::vector<reco::MET> >();
72 double met_phi = met->
phi();
73 double met_ex = met_et*
cos(met_phi);
74 double met_ey = met_et*
sin(met_phi);
79 newmetCollection->push_back(*newmet);
81 ev.
put(newmetCollection);
T getUntrackedParameter(std::string const &, T const &) const
virtual double et() const GCC11_FINAL
transverse energy
tuple met
____________________________________________________________________________||
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
Sin< T >::type sin(const T &t)
std::vector< reco::MET > METCollection
collection of MET objects
virtual void beginJob() override
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Cos< T >::type cos(const T &t)
math::XYZPoint Point
point in the space
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
virtual void produce(edm::Event &, const edm::EventSetup &) override
virtual void endJob() override
DistortedMETProducer(const edm::ParameterSet &)
math::XYZTLorentzVector LorentzVector
Lorentz vector.