37 produces<reco::METCollection>();
45 desc.
add<
double>(
"minPtJet",20.0);
46 desc.
add<
double>(
"etaJet",9999.0);
47 desc.
add<
bool>(
"usePt",
true);
48 descriptions.
add(
"hltMhtProducer",desc);
68 double mhtx=0., mhty=0., mht;
80 mhtx -= jetVar*
cos(
jet->phi());
81 mhty -= jetVar*
sin(
jet->phi());
84 mht =
sqrt(mhtx*mhtx + mhty*mhty);
88 result->push_back( mhtobj );
T getParameter(std::string const &) const
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Sin< T >::type sin(const T &t)
std::vector< reco::MET > METCollection
collection of MET objects
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
edm::InputTag inputJetTag_
edm::EDGetTokenT< edm::View< reco::Jet > > m_theJetToken
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Cos< T >::type cos(const T &t)
Abs< T >::type abs(const T &t)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
HLTMhtProducer(const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &)
XYZPointD XYZPoint
point in space with cartesian internal representation
void add(std::string const &label, ParameterSetDescription const &psetDescription)