#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 34 of file L1RCTProducer.cc.
References beginLumiChannelMaskToken_, beginLumiHotChannelMaskToken_, beginLumiRunInfoToken_, ecalDigis, getFedsFromOmds, hcalDigis, and omdsRunInfoToken_.
|
final |
Definition at line 92 of file L1RCTProducer.cc.
References beginLumiChannelMaskToken_, beginLumiHotChannelMaskToken_, visDQMUpload::context, getFedsFromOmds, getFedVectorFromOmds(), edm::LuminosityBlockBase::luminosityBlock(), queryDelayInLS, queryIntervalInLS, and updateFedVector().
|
final |
Definition at line 78 of file L1RCTProducer.cc.
References beginRunChannelMaskToken_, beginRunHotChannelMaskToken_, beginRunRunInfoToken_, options_cfi::eventSetup, getFedVectorFromRunInfo(), updateConfiguration(), and updateFedVector().
|
private |
Definition at line 301 of file L1RCTProducer.cc.
References beginLumiRunInfoToken_, options_cfi::eventSetup, getFedVectorFromRunInfo(), edm::ESHandleBase::isValid(), RunInfo::m_fed_in, and omdsRunInfoToken_.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 293 of file L1RCTProducer.cc.
References options_cfi::eventSetup, and unpackBuffers-CaloStage2::token.
Referenced by beginRun(), and getFedVectorFromOmds().
|
private |
Definition at line 371 of file L1RCTProducer.cc.
References filterCSVwithJSON::copy, and gather_cfg::cout.
|
private |
Definition at line 378 of file L1RCTProducer.cc.
References gather_cfg::cout, and fedUpdatedMask.
|
private |
Definition at line 387 of file L1RCTProducer.cc.
References gather_cfg::cout, fedUpdatedMask, mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
|
final |
Definition at line 315 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 123 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 150 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, LEDCalibrationChannels::ieta, dqmiolumiharvest::j, dqmdumpme::k, maxBarrel, maxEndcap, maxHF, minBarrel, minEndcap, minHF, and rctLookupTables.
Referenced by beginLuminosityBlock(), and beginRun().
|
private |
Definition at line 96 of file L1RCTProducer.h.
Referenced by beginLuminosityBlock(), and L1RCTProducer().
|
private |
Definition at line 97 of file L1RCTProducer.h.
Referenced by beginLuminosityBlock(), and 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.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 74 of file L1RCTProducer.h.
Referenced by beginLuminosityBlock().
|
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().