34 internalJetSource_(iConfig.getParameter<
edm::InputTag>(
"internalJetSource")),
35 centralBxOnly_(iConfig.getParameter<
bool>(
"centralBxOnly"))
39 produces< L1JetParticleCollection >(
"Internal" ) ;
68 if( !hwIntJetCands.
isValid() ) {
69 std::cout <<
"These aren't the Jets you're looking for" << std::endl;
73 <<
"\nrequested in configuration, but not found in the event." 78 L1GctInternJetDataCollection::const_iterator jetItr = hwIntJetCands->begin() ;
79 L1GctInternJetDataCollection::const_iterator jetEnd = hwIntJetCands->end() ;
81 for( i = 0 ; jetItr != jetEnd ; ++jetItr, ++
i ){
83 if( !jetItr->empty() &&
87 double et = (jetItr->oflow() ?
89 (
double) jetItr->et() ) * etSumLSB + 1.
e-6;
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
#define DEFINE_FWK_MODULE(type)
edm::InputTag internalJetSource_
double etaBinCenter(unsigned int etaIndex, bool central=true) const
double linearLsb() const
get LSB of linear input scale
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
L1GctInternJetProducer(const edm::ParameterSet &)
et
define resolution functions of each parameter
void produce(edm::Event &, const edm::EventSetup &) override
double emJetPhiBinCenter(unsigned int phiIndex) const
~L1GctInternJetProducer() override