27 : internalJetSource_(iConfig.getParameter<
edm::
InputTag>(
"internalJetSource")),
30 centralBxOnly_(iConfig.getParameter<
bool>(
"centralBxOnly")) {
33 produces<L1JetParticleCollection>(
"Internal");
49 double etSumLSB =
jetScale->linearLsb();
56 std::cout <<
"These aren't the Jets you're looking for" << std::endl;
59 <<
"\nrequested in configuration, but not found in the event." << std::endl;
63 L1GctInternJetDataCollection::const_iterator jetItr = hwIntJetCands->begin();
64 L1GctInternJetDataCollection::const_iterator jetEnd = hwIntJetCands->end();
66 for (
i = 0; jetItr != jetEnd; ++jetItr, ++
i) {
69 double et = (jetItr->oflow() ? (double)0xfff : (
double)jetItr->et()) * etSumLSB + 1.
e-6;
77 internJetColl->push_back(
edm::ESGetToken< L1CaloGeometry, L1CaloGeometryRecord > caloGeomToken_
edm::InputTag internalJetSource_
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
edm::ESGetToken< L1CaloEtScale, L1JetEtScaleRcd > jetScaleToken_
#define DEFINE_FWK_MODULE(type)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
L1GctInternJetProducer(const edm::ParameterSet &)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
double emJetPhiBinCenter(unsigned int phiIndex) const
double etaBinCenter(unsigned int etaIndex, bool central=true) const