#include <L1RCTProducer.h>
Private Types | |
enum | crateSection { c_min, ebOddFed = c_min, ebEvenFed, eeFed, hbheFed, hfFed, hfFedUp, c_max = hfFedUp } |
Private Attributes | |
std::vector< int > | bunchCrossings |
std::string | conditionsLabel |
std::vector< edm::InputTag > | ecalDigis |
L1RCTChannelMask * | fedUpdatedMask |
bool | getFedsFromOmds |
std::vector< edm::InputTag > | hcalDigis |
unsigned int | queryDelayInLS |
unsigned int | queryIntervalInLS |
L1RCT * | rct |
L1RCTLookupTables * | rctLookupTables |
bool | useEcal |
bool | useHcal |
Static Private Attributes | |
static const int | crateFED [18][6] |
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 |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ESProduct , Transition Tr = Transition::Event> | |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 47 of file L1RCTProducer.h.
|
private |
Enumerator | |
---|---|
c_min | |
ebOddFed | |
ebEvenFed | |
eeFed | |
hbheFed | |
hfFed | |
hfFedUp | |
c_max |
Definition at line 84 of file L1RCTProducer.h.
|
explicit |
Definition at line 36 of file L1RCTProducer.cc.
References ecalDigis, and hcalDigis.
|
override |
Definition at line 62 of file L1RCTProducer.cc.
References fedUpdatedMask, rct, and rctLookupTables.
|
final |
Definition at line 82 of file L1RCTProducer.cc.
References getFedsFromOmds, edm::LuminosityBlockBase::luminosityBlock(), queryDelayInLS, queryIntervalInLS, edm::LuminosityBlockBase::run(), convertSQLiteXML::runNumber, and updateFedVector().
|
final |
Definition at line 70 of file L1RCTProducer.cc.
References edm::RunBase::run(), convertSQLiteXML::runNumber, updateConfiguration(), and updateFedVector().
const std::vector< int > L1RCTProducer::getFedVectorFromOmds | ( | const edm::EventSetup & | eventSetup | ) |
Definition at line 328 of file L1RCTProducer.cc.
References edm::EventSetup::get(), getFedVectorFromRunInfo(), edm::ESHandleBase::isValid(), RunInfo::m_fed_in, edm::ESHandle< T >::product(), and heppy_report::summary.
Referenced by updateFedVector().
const std::vector< int > L1RCTProducer::getFedVectorFromRunInfo | ( | const edm::EventSetup & | eventSetup | ) |
Definition at line 315 of file L1RCTProducer.cc.
References edm::EventSetup::get(), RunInfo::m_fed_in, edm::ESHandle< T >::product(), and heppy_report::summary.
Referenced by getFedVectorFromOmds(), and updateFedVector().
void L1RCTProducer::printFedVector | ( | const std::vector< int > & | fedVector | ) |
Definition at line 425 of file L1RCTProducer.cc.
References popcon2dropbox::copy(), and gather_cfg::cout.
void L1RCTProducer::printUpdatedFedMask | ( | ) |
Definition at line 433 of file L1RCTProducer.cc.
References gather_cfg::cout, fedUpdatedMask, and L1RCTChannelMask::print().
void L1RCTProducer::printUpdatedFedMaskVerbose | ( | ) |
Definition at line 446 of file L1RCTProducer.cc.
References gather_cfg::cout, L1RCTChannelMask::ecalMask, fedUpdatedMask, L1RCTChannelMask::hcalMask, L1RCTChannelMask::hfMask, mps_fire::i, and gen::k.
|
final |
Definition at line 352 of file L1RCTProducer.cc.
References bunchCrossings, L1RCT::digiInput(), digitizers_cfi::ecal, ecalDigis, Exception, edm::Event::getByLabel(), L1RCT::getIsolatedEGObjects(), L1RCT::getNonisolatedEGObjects(), L1RCT::getRegions(), digitizers_cfi::hcal, hcalDigis, mps_fire::i, eostools::move(), L1RCT::processEvent(), rct, simplePhotonAnalyzer_cfi::sample, useEcal, and useHcal.
void L1RCTProducer::updateConfiguration | ( | const edm::EventSetup & | eventSetup | ) |
Definition at line 106 of file L1RCTProducer.cc.
References conditionsLabel, MillePedeFileConverter_cfg::e, edm::EventSetup::get(), h, edm::ESHandle< T >::product(), alignCSCRings::r, rctLookupTables, alignCSCRings::s, L1RCTLookupTables::setEcalScale(), L1RCTLookupTables::setHcalScale(), L1RCTLookupTables::setL1CaloEtScale(), and L1RCTLookupTables::setRCTParameters().
Referenced by beginRun().
void L1RCTProducer::updateFedVector | ( | const edm::EventSetup & | eventSetup, |
bool | getFromOmds, | ||
int | runNumber | ||
) |
Definition at line 143 of file L1RCTProducer.cc.
References c_max, c_min, crateFED, fwrapper::cs, ebEvenFed, ebOddFed, digitizers_cfi::ecal, L1RCTChannelMask::ecalMask, eeFed, MuonTCMETValueMapProducer_cff::eta_max, MuonME0RecHits_cfi::eta_min, fedUpdatedMask, spr::find(), edm::EventSetup::get(), getFedVectorFromOmds(), getFedVectorFromRunInfo(), hbheFed, L1RCTChannelMask::hcalMask, hfFed, hfFedUp, L1RCTChannelMask::hfMask, mps_fire::i, gen::k, maxBarrel, maxEndcap, maxHF, minBarrel, minEndcap, minHF, edm::ESHandle< T >::product(), rctLookupTables, L1RCTLookupTables::setChannelMask(), and L1RCTLookupTables::setNoisyChannelMask().
Referenced by beginLuminosityBlock(), and beginRun().
|
private |
Definition at line 74 of file L1RCTProducer.h.
Referenced by produce().
|
private |
Definition at line 78 of file L1RCTProducer.h.
Referenced by updateConfiguration().
|
staticprivate |
Definition at line 95 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
private |
Definition at line 72 of file L1RCTProducer.h.
Referenced by L1RCTProducer(), and produce().
|
private |
Definition at line 81 of file L1RCTProducer.h.
Referenced by printUpdatedFedMask(), printUpdatedFedMaskVerbose(), updateFedVector(), and ~L1RCTProducer().
|
private |
Definition at line 75 of file L1RCTProducer.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 73 of file L1RCTProducer.h.
Referenced by L1RCTProducer(), and produce().
|
staticprivate |
Definition at line 98 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
staticprivate |
Definition at line 100 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
staticprivate |
Definition at line 102 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
staticprivate |
Definition at line 97 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
staticprivate |
Definition at line 99 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
staticprivate |
Definition at line 101 of file L1RCTProducer.h.
Referenced by updateFedVector().
|
private |
Definition at line 76 of file L1RCTProducer.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 77 of file L1RCTProducer.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 69 of file L1RCTProducer.h.
Referenced by produce(), and ~L1RCTProducer().
|
private |
Definition at line 68 of file L1RCTProducer.h.
Referenced by updateConfiguration(), updateFedVector(), and ~L1RCTProducer().
|
private |
Definition at line 70 of file L1RCTProducer.h.
Referenced by produce().
|
private |
Definition at line 71 of file L1RCTProducer.h.
Referenced by produce().