#include <L1RCTLutWriter.h>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | endJob () override |
void | writeEicLutFile (unsigned short card) |
void | writeJscLutFile () |
void | writeRcLutFile (unsigned short card) |
void | writeThresholdsFile (unsigned int eicThreshold, unsigned int jscThresholdBarrel, unsigned int jscThresholdEndcap) |
Private Attributes | |
edm::ESGetToken < L1CaloEcalScale, L1CaloEcalScaleRcd > | ecalScaleToken_ |
edm::ESGetToken< L1CaloEtScale, L1EmEtScaleRcd > | emScaleToken_ |
edm::ESGetToken < L1CaloHcalScale, L1CaloHcalScaleRcd > | hcalScaleToken_ |
std::string | keyName_ |
L1RCTLookupTables * | lookupTable_ |
std::ofstream | lutFile_ |
const L1RCTParameters * | rctParameters_ |
edm::ESGetToken < L1RCTParameters, L1RCTParametersRcd > | rctParametersToken_ |
EcalTPGScale::Tokens | tokens_ |
edm::ESGetToken < CaloTPGTranscoder, CaloTPGRecord > | transcoderToken_ |
bool | useDebugTpgScales_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
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) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
L1Trigger/L1RCTLutWriter/src/L1RCTLutWriter.cc
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 59 of file L1RCTLutWriter.h.
|
explicit |
Definition at line 37 of file L1RCTLutWriter.cc.
|
override |
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 63 of file L1RCTLutWriter.cc.
References gather_cfg::cout, alignCSCRings::e, EcalBarrel, EcalEndcap, L1RCTChannelMask::ecalMask, L1RCTNoisyChannelMask::ecalMask, ecalScaleToken_, L1RCTNoisyChannelMask::ecalThreshold, L1RCTParameters::eicIsolationThreshold(), emScaleToken_, edm::EventSetup::getHandle(), EcalTPGScale::getTPGInGeV(), h, CaloTPGTranscoder::hcaletValue(), L1RCTNoisyChannelMask::hcalMask, L1RCTChannelMask::hcalMask, hcalScaleToken_, L1RCTNoisyChannelMask::hcalThreshold, L1RCTNoisyChannelMask::hfMask, L1RCTChannelMask::hfMask, L1RCTNoisyChannelMask::hfThreshold, mps_fire::i, dqmiolumiharvest::j, L1RCTParameters::jscQuietThresholdBarrel(), L1RCTParameters::jscQuietThresholdEndcap(), isotrackApplyRegressor::k, lookupTable_, visualization-live-secondInstance_cfg::m, callgraph::m2, L1CaloHcalScale::nBinEta, L1CaloEcalScale::nBinEta, L1CaloHcalScale::nBinRank, L1CaloEcalScale::nBinRank, edm::ESHandle< class >::product(), rctParameters_, rctParametersToken_, alignCSCRings::s, L1CaloHcalScale::setBin(), L1CaloEcalScale::setBin(), L1RCTLookupTables::setChannelMask(), L1RCTLookupTables::setEcalScale(), L1RCTLookupTables::setHcalScale(), L1RCTLookupTables::setL1CaloEtScale(), L1RCTLookupTables::setNoisyChannelMask(), L1RCTLookupTables::setRCTParameters(), tokens_, transcoderToken_, useDebugTpgScales_, writeEicLutFile(), writeJscLutFile(), writeRcLutFile(), and writeThresholdsFile().
|
overrideprivatevirtual |
|
private |
Definition at line 302 of file L1RCTLutWriter.cc.
References mps_check::command, data, TauDecayModes::dec, L1RCTLookupTables::emRank(), lut2db_cfg::filename, keyName_, lookupTable_, lutFile_, and pileupReCalc_HLTpaths::trunc.
Referenced by analyze().
|
private |
Definition at line 341 of file L1RCTLutWriter.cc.
References mps_check::command, data, TauDecayModes::dec, lut2db_cfg::filename, keyName_, L1RCTLookupTables::lookup(), lookupTable_, lutFile_, and pileupReCalc_HLTpaths::trunc.
Referenced by analyze().
|
private |
Definition at line 212 of file L1RCTLutWriter.cc.
References L1RCTParameters::calcCrate(), L1RCTParameters::calcTower(), mps_check::command, data, TauDecayModes::dec, lut2db_cfg::filename, keyName_, L1RCTLookupTables::lookup(), lookupTable_, lutFile_, convertSQLitetoXML_cfg::output, rctParameters_, hgcalTowerProducer_cfi::tower, and pileupReCalc_HLTpaths::trunc.
Referenced by analyze().
|
private |
Definition at line 402 of file L1RCTLutWriter.cc.
References lut2db_cfg::filename, keyName_, and pileupReCalc_HLTpaths::trunc.
Referenced by analyze().
|
private |
Definition at line 83 of file L1RCTLutWriter.h.
Referenced by analyze().
|
private |
Definition at line 80 of file L1RCTLutWriter.h.
Referenced by analyze().
|
private |
Definition at line 82 of file L1RCTLutWriter.h.
Referenced by analyze().
|
private |
Definition at line 78 of file L1RCTLutWriter.h.
Referenced by writeEicLutFile(), writeJscLutFile(), writeRcLutFile(), and writeThresholdsFile().
|
private |
Definition at line 74 of file L1RCTLutWriter.h.
Referenced by analyze(), writeEicLutFile(), writeJscLutFile(), writeRcLutFile(), and ~L1RCTLutWriter().
|
private |
Definition at line 77 of file L1RCTLutWriter.h.
Referenced by writeEicLutFile(), writeJscLutFile(), and writeRcLutFile().
|
private |
Definition at line 75 of file L1RCTLutWriter.h.
Referenced by analyze(), and writeRcLutFile().
|
private |
Definition at line 79 of file L1RCTLutWriter.h.
Referenced by analyze().
|
private |
Definition at line 85 of file L1RCTLutWriter.h.
Referenced by analyze().
|
private |
Definition at line 81 of file L1RCTLutWriter.h.
Referenced by analyze().
|
private |
Definition at line 84 of file L1RCTLutWriter.h.
Referenced by analyze().