#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 | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
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, MillePedeFileConverter_cfg::e, EcalBarrel, EcalEndcap, L1RCTNoisyChannelMask::ecalMask, ecalScaleToken_, L1RCTNoisyChannelMask::ecalThreshold, L1RCTParameters::eicIsolationThreshold(), emScaleToken_, edm::EventSetup::getHandle(), EcalTPGScale::getTPGInGeV(), CaloTPGTranscoder::hcaletValue(), L1RCTNoisyChannelMask::hcalMask, hcalScaleToken_, L1RCTNoisyChannelMask::hcalThreshold, L1RCTNoisyChannelMask::hfMask, L1RCTNoisyChannelMask::hfThreshold, mps_fire::i, LEDCalibrationChannels::ieta, dqmiolumiharvest::j, L1RCTParameters::jscQuietThresholdBarrel(), L1RCTParameters::jscQuietThresholdEndcap(), dqmdumpme::k, lookupTable_, visualization-live-secondInstance_cfg::m, L1CaloEcalScale::nBinEta, L1CaloHcalScale::nBinEta, L1CaloEcalScale::nBinRank, L1CaloHcalScale::nBinRank, edm::ESHandle< T >::product(), rctParameters_, rctParametersToken_, alignCSCRings::s, L1CaloEcalScale::setBin(), L1CaloHcalScale::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(), corrVsCorr::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, corrVsCorr::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, corrVsCorr::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 corrVsCorr::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().