#include <L1RCTProducer.h>
Public Member Functions | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
virtual void | beginRun (edm::Run &r, const edm::EventSetup &c) |
L1RCTProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
void | updateConfiguration (const edm::EventSetup &) |
virtual | ~L1RCTProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Types | |
enum | crateSection { c_min, ebOddFed = c_min, ebEvenFed, eeFed, hbheFed, hfFed, c_max = hfFed } |
Private Attributes | |
std::vector< int > | bunchCrossings |
std::vector< edm::InputTag > | ecalDigis |
L1RCTChannelMask * | fedUpdatedMask |
std::vector< edm::InputTag > | hcalDigis |
L1RCT * | rct |
L1RCTLookupTables * | rctLookupTables |
bool | useEcal |
bool | useHcal |
Static Private Attributes | |
static const int | crateFED [18][5] |
static const int | maxBarrel = 17 |
static const int | maxEndcap = 28 |
static const int | maxHF =32 |
static const int | minBarrel = 1 |
static const int | minEndcap = 17 |
static const int | minHF = 29 |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 48 of file L1RCTProducer.h.
|
private |
Enumerator | |
---|---|
c_min | |
ebOddFed | |
ebEvenFed | |
eeFed | |
hbheFed | |
hfFed | |
c_max |
Definition at line 76 of file L1RCTProducer.h.
|
explicit |
Definition at line 34 of file L1RCTProducer.cc.
|
virtual |
Definition at line 51 of file L1RCTProducer.cc.
References fedUpdatedMask, rct, and rctLookupTables.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 64 of file L1RCTProducer.cc.
References updateConfiguration().
|
virtual |
|
virtual |
Implements edm::EDProducer.
Definition at line 247 of file L1RCTProducer.cc.
References bunchCrossings, L1RCT::digiInput(), patCandidatesForDimuonsSequences_cff::ecal, ecalDigis, edm::hlt::Exception, edm::Event::getByLabel(), L1RCT::getIsolatedEGObjects(), L1RCT::getNonisolatedEGObjects(), L1RCT::getRegions(), patCandidatesForDimuonsSequences_cff::hcal, hcalDigis, i, j, L1RCT::processEvent(), rct, useEcal, and useHcal.
void L1RCTProducer::updateConfiguration | ( | const edm::EventSetup & | eventSetup | ) |
Definition at line 71 of file L1RCTProducer.cc.
References c_max, c_min, crateFED, ebEvenFed, ebOddFed, patCandidatesForDimuonsSequences_cff::ecal, L1RCTChannelMask::ecalMask, eeFed, fedUpdatedMask, spr::find(), edm::EventSetup::get(), h, hbheFed, L1RCTChannelMask::hcalMask, hfFed, L1RCTChannelMask::hfMask, i, j, gen::k, RunInfo::m_fed_in, maxBarrel, maxEndcap, maxHF, minBarrel, minEndcap, minHF, edm::ESHandle< class >::product(), csvReporter::r, rctLookupTables, asciidump::s, L1RCTLookupTables::setChannelMask(), L1RCTLookupTables::setEcalScale(), L1RCTLookupTables::setHcalScale(), L1RCTLookupTables::setL1CaloEtScale(), L1RCTLookupTables::setNoisyChannelMask(), L1RCTLookupTables::setRCTParameters(), and summarizeEdmComparisonLogfiles::summary.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 69 of file L1RCTProducer.h.
Referenced by produce().
|
staticprivate |
Definition at line 88 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
private |
Definition at line 67 of file L1RCTProducer.h.
Referenced by produce().
|
private |
Definition at line 73 of file L1RCTProducer.h.
Referenced by updateConfiguration(), and ~L1RCTProducer().
|
private |
Definition at line 68 of file L1RCTProducer.h.
Referenced by produce().
|
staticprivate |
Definition at line 90 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
staticprivate |
Definition at line 92 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
staticprivate |
Definition at line 94 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
staticprivate |
Definition at line 89 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
staticprivate |
Definition at line 91 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
staticprivate |
Definition at line 93 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
private |
Definition at line 64 of file L1RCTProducer.h.
Referenced by produce(), and ~L1RCTProducer().
|
private |
Definition at line 63 of file L1RCTProducer.h.
Referenced by updateConfiguration(), and ~L1RCTProducer().
|
private |
Definition at line 65 of file L1RCTProducer.h.
Referenced by produce().
|
private |
Definition at line 66 of file L1RCTProducer.h.
Referenced by produce().