#include <L1RCTProducer.h>
Public Member Functions | |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &context) final |
void | beginRun (edm::Run const &r, const edm::EventSetup &c) final |
L1RCTProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &e, const edm::EventSetup &c) final |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Types | |
enum | crateSection { c_min, ebOddFed = c_min, ebEvenFed, eeFed, hbheFed, hfFed, hfFedUp, c_max = hfFedUp } |
Private Member Functions | |
const std::vector< int > | getFedVectorFromOmds (const edm::EventSetup &) const |
const std::vector< int > | getFedVectorFromRunInfo (const edm::ESGetToken< RunInfo, RunInfoRcd > &, const edm::EventSetup &) const |
void | printFedVector (const std::vector< int > &) |
void | printUpdatedFedMask () |
void | printUpdatedFedMaskVerbose () |
void | updateConfiguration (const edm::EventSetup &) |
void | updateFedVector (const L1RCTChannelMask &, const L1RCTNoisyChannelMask &, const std::vector< int > &Feds) |
Static Private Attributes | |
static constexpr int | maxBarrel = 17 |
static constexpr int | maxEndcap = 28 |
static constexpr int | maxHF = 32 |
static constexpr int | minBarrel = 1 |
static constexpr int | minEndcap = 17 |
static constexpr int | minHF = 29 |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 45 of file L1RCTProducer.h.
|
private |
Enumerator | |
---|---|
c_min | |
ebOddFed | |
ebEvenFed | |
eeFed | |
hbheFed | |
hfFed | |
hfFedUp | |
c_max |
Definition at line 99 of file L1RCTProducer.h.
|
explicit |
Definition at line 35 of file L1RCTProducer.cc.
References beginLumiChannelMaskToken_, beginLumiHotChannelMaskToken_, beginLumiRunInfoToken_, ecalDigis, getFedsFromOmds, hcalDigis, and omdsRunInfoToken_.
|
final |
Definition at line 93 of file L1RCTProducer.cc.
References Exception, and getFedsFromOmds.
|
final |
Definition at line 79 of file L1RCTProducer.cc.
References beginRunChannelMaskToken_, beginRunHotChannelMaskToken_, beginRunRunInfoToken_, options_cfi::eventSetup, getFedVectorFromRunInfo(), updateConfiguration(), and updateFedVector().
|
private |
Definition at line 310 of file L1RCTProducer.cc.
References beginLumiRunInfoToken_, options_cfi::eventSetup, getFedVectorFromRunInfo(), edm::ESHandleBase::isValid(), RunInfo::m_fed_in, and omdsRunInfoToken_.
|
private |
Definition at line 302 of file L1RCTProducer.cc.
References options_cfi::eventSetup, and unpackBuffers-CaloStage2::token.
Referenced by beginRun(), and getFedVectorFromOmds().
|
private |
Definition at line 380 of file L1RCTProducer.cc.
References filterCSVwithJSON::copy, and gather_cfg::cout.
|
private |
Definition at line 387 of file L1RCTProducer.cc.
References gather_cfg::cout, and fedUpdatedMask.
|
private |
Definition at line 396 of file L1RCTProducer.cc.
References gather_cfg::cout, fedUpdatedMask, mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
|
final |
Definition at line 324 of file L1RCTProducer.cc.
References bunchCrossings, bsc_activity_cfg::ecal, ecalDigis, Exception, hltEgammaHLTExtra_cfi::hcal, hcalDigis, mps_fire::i, dqmiolumiharvest::j, eostools::move(), rct, ecalGpuTask_cfi::sample, useEcal, and useHcal.
|
private |
Definition at line 132 of file L1RCTProducer.cc.
References MillePedeFileConverter_cfg::e, ecalScaleToken_, emScaleToken_, options_cfi::eventSetup, h, hcalScaleToken_, alignCSCRings::r, rctLookupTables, rctParamsToken_, and alignCSCRings::s.
Referenced by beginRun().
|
private |
Definition at line 159 of file L1RCTProducer.cc.
References c_max, c_min, callgraph::cs, ebEvenFed, ebOddFed, L1RCTChannelMask::ecalMask, eeFed, egammaIdentification::eta_max, egammaIdentification::eta_min, fedUpdatedMask, spr::find(), hbheFed, L1RCTChannelMask::hcalMask, hfFed, hfFedUp, L1RCTChannelMask::hfMask, mps_fire::i, hcalRecHitTable_cff::ieta, dqmiolumiharvest::j, dqmdumpme::k, maxBarrel, maxEndcap, maxHF, minBarrel, minEndcap, minHF, and rctLookupTables.
Referenced by beginRun().
|
private |
Definition at line 96 of file L1RCTProducer.h.
Referenced by L1RCTProducer().
|
private |
Definition at line 97 of file L1RCTProducer.h.
Referenced by L1RCTProducer().
|
private |
Definition at line 88 of file L1RCTProducer.h.
Referenced by getFedVectorFromOmds(), and L1RCTProducer().
|
private |
Definition at line 92 of file L1RCTProducer.h.
Referenced by beginRun().
|
private |
Definition at line 93 of file L1RCTProducer.h.
Referenced by beginRun().
|
private |
Definition at line 87 of file L1RCTProducer.h.
Referenced by beginRun().
|
private |
Definition at line 71 of file L1RCTProducer.h.
Referenced by produce().
|
private |
Definition at line 75 of file L1RCTProducer.h.
|
private |
Definition at line 69 of file L1RCTProducer.h.
Referenced by L1RCTProducer(), and produce().
|
private |
Definition at line 83 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
private |
Definition at line 82 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
private |
Definition at line 78 of file L1RCTProducer.h.
Referenced by printUpdatedFedMask(), printUpdatedFedMaskVerbose(), and updateFedVector().
|
private |
Definition at line 72 of file L1RCTProducer.h.
Referenced by beginLuminosityBlock(), and L1RCTProducer().
|
private |
Definition at line 70 of file L1RCTProducer.h.
Referenced by L1RCTProducer(), and produce().
|
private |
Definition at line 84 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
staticprivate |
Definition at line 102 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
staticprivate |
Definition at line 104 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
staticprivate |
Definition at line 106 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
staticprivate |
Definition at line 101 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
staticprivate |
Definition at line 103 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
staticprivate |
Definition at line 105 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
private |
Definition at line 89 of file L1RCTProducer.h.
Referenced by getFedVectorFromOmds(), and L1RCTProducer().
|
private |
Definition at line 73 of file L1RCTProducer.h.
|
private |
Definition at line 74 of file L1RCTProducer.h.
|
private |
Definition at line 66 of file L1RCTProducer.h.
Referenced by produce().
|
private |
Definition at line 65 of file L1RCTProducer.h.
Referenced by updateConfiguration(), and updateFedVector().
|
private |
Definition at line 81 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
private |
Definition at line 67 of file L1RCTProducer.h.
Referenced by produce().
|
private |
Definition at line 68 of file L1RCTProducer.h.
Referenced by produce().