Go to the documentation of this file.
26 #include "Math/GenVector/VectorUtil.h"
53 cone_(
p.getParameter<double>(
"useTowersInCone")),
56 EtThreshold_(
p.getParameter<double>(
"EtMin")),
57 EThreshold_(
p.getParameter<double>(
"EMin")) {
58 produces<CaloTowerCollection>();
67 desc.add<
double>((
"useTowersInCone"), 0.8);
68 desc.add<
double>((
"EtMin"), 1.0);
69 desc.add<
double>((
"EMin"), 1.0);
70 descriptions.
add((
"hltCaloTowerForEgamma"),
desc);
81 auto cands = std::make_unique<CaloTowerCollection>();
93 cands->push_back(*cal);
104 cands->push_back(*cal);
const double EtThreshold_
PtEtaPhiELorentzVectorD PtEtaPhiELorentzVector
Lorentz vector with cartesian internal representation.
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const final
const edm::EDGetTokenT< CaloTowerCollection > towers_
const edm::EDGetTokenT< edm::View< reco::Candidate > > l1nonisoseeds_
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
double eta() const final
momentum pseudorapidity
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
double et(double vtxZ) const
~EgammaHLTCaloTowerProducer() override
const edm::EDGetTokenT< edm::View< reco::Candidate > > l1isoseeds_
double phi() const final
momentum azimuthal angle
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
double energy() const final
energy
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
EgammaHLTCaloTowerProducer(const edm::ParameterSet &)