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);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
EgammaHLTCaloTowerProducer(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
double et(double vtxZ) const
#define DEFINE_FWK_MODULE(type)
const double EtThreshold_
~EgammaHLTCaloTowerProducer() override
PtEtaPhiELorentzVectorD PtEtaPhiELorentzVector
Lorentz vector with cartesian internal representation.
const edm::EDGetTokenT< CaloTowerCollection > towers_
const edm::EDGetTokenT< edm::View< reco::Candidate > > l1isoseeds_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const final
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
const edm::EDGetTokenT< edm::View< reco::Candidate > > l1nonisoseeds_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
double phi() const final
momentum azimuthal angle
double energy() const final
energy
double eta() const final
momentum pseudorapidity