EventFilter/GctRawToDigi/plugins/L1GctInternJetProducer.cc
EventFilter/GctRawToDigi/plugins/L1GctInternJetProducer.h
- Author
- Alex Tapper
Description: producer of L1Extra style internal GCT jets from Level-1 hardware objects.
Definition at line 29 of file L1GctInternJetProducer.h.
Definition at line 45 of file L1GctInternJetProducer.cc.
References centralBxOnly_, gather_cfg::cout, MillePedeFileConverter_cfg::e, L1CaloGeometry::emJetPhiBinCenter(), stringResolutionProvider_cfi::et, PVValHelper::eta, L1CaloGeometry::etaBinCenter(), edm::EventSetup::get(), edm::Event::getByLabel(), mps_fire::i, internalJetSource_, edm::HandleBase::isValid(), wplusjetsAnalysis_cfi::jetScale, L1CaloEtScale::linearLsb(), LogDebug, eostools::move(), phi, and edm::Event::put().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
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.
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
et
define resolution functions of each parameter
double emJetPhiBinCenter(unsigned int phiIndex) const