38 produces<reco::METCollection>();
46 desc.
add<
double>(
"minPtJet",20.0);
47 desc.
add<
double>(
"etaJet",9999.0);
48 desc.
add<
bool>(
"usePt",
true);
49 descriptions.
add(
"hltMhtProducer",desc);
69 double mhtx=0., mhty=0., mht;
81 mhtx -= jetVar*
cos(
jet->phi());
82 mhty -= jetVar*
sin(
jet->phi());
85 mht =
sqrt(mhtx*mhtx + mhty*mhty);
89 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)
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_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Cos< T >::type cos(const T &t)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
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)