#include <L1GtPrescaleFactorsAndMasksTester.h>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
analyze More... | |
void | beginJob () override |
begin job More... | |
void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override |
begin luminosity block More... | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
begin run More... | |
void | endJob () override |
end job More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override |
end luminosity block More... | |
void | endRun (const edm::Run &, const edm::EventSetup &) override |
end run More... | |
void | printL1EventSetup (const edm::EventSetup &) |
print the requred records More... | |
void | retrieveL1EventSetup (const edm::EventSetup &) |
retrieve all the relevant L1 trigger event setup records More... | |
Private Attributes | |
const L1GtPrescaleFactors * | m_l1GtPfAlgo |
prescale factors More... | |
const L1GtPrescaleFactors * | m_l1GtPfTech |
const L1GtTriggerMask * | m_l1GtTmAlgo |
trigger masks & veto masks More... | |
const L1GtTriggerMask * | m_l1GtTmTech |
const L1GtTriggerMask * | m_l1GtTmVetoAlgo |
const L1GtTriggerMask * | m_l1GtTmVetoTech |
bool | m_printInAnalyze |
bool | m_printInBeginLuminosityBlock |
bool | m_printInBeginRun |
print the records in beginRun, beginLuminosityBlock, analyze, respectively More... | |
int | m_printOutput |
print output More... | |
bool | m_retrieveInAnalyze |
bool | m_retrieveInBeginLuminosityBlock |
bool | m_retrieveInBeginRun |
retrieve the records in beginRun, beginLuminosityBlock, analyze, respectively More... | |
bool | m_testerPrescaleFactors |
input parameters More... | |
bool | m_testerTriggerMask |
bool | m_testerTriggerVetoMask |
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) |
Description: test analyzer for L1 GT prescale factors and masks.
Implementation: <TODO: enter implementation details>
Definition at line 32 of file L1GtPrescaleFactorsAndMasksTester.h.
|
explicit |
Definition at line 51 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
override |
Definition at line 66 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
overrideprivatevirtual |
analyze
Implements edm::EDAnalyzer.
Definition at line 97 of file L1GtPrescaleFactorsAndMasksTester.cc.
References m_printInAnalyze, m_retrieveInAnalyze, printL1EventSetup(), and retrieveL1EventSetup().
|
overrideprivatevirtual |
begin job
Reimplemented from edm::EDAnalyzer.
Definition at line 71 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
overrideprivatevirtual |
begin luminosity block
Reimplemented from edm::EDAnalyzer.
Definition at line 85 of file L1GtPrescaleFactorsAndMasksTester.cc.
References m_printInBeginLuminosityBlock, m_retrieveInBeginLuminosityBlock, printL1EventSetup(), and retrieveL1EventSetup().
|
overrideprivatevirtual |
begin run
Reimplemented from edm::EDAnalyzer.
Definition at line 74 of file L1GtPrescaleFactorsAndMasksTester.cc.
References m_printInBeginRun, m_retrieveInBeginRun, printL1EventSetup(), and retrieveL1EventSetup().
|
overrideprivatevirtual |
end job
Reimplemented from edm::EDAnalyzer.
Definition at line 115 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
overrideprivatevirtual |
end luminosity block
Reimplemented from edm::EDAnalyzer.
Definition at line 108 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
overrideprivatevirtual |
end run
Reimplemented from edm::EDAnalyzer.
Definition at line 112 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
private |
print the requred records
Definition at line 153 of file L1GtPrescaleFactorsAndMasksTester.cc.
References gather_cfg::cout, LogTrace, m_l1GtPfAlgo, m_l1GtPfTech, m_l1GtTmAlgo, m_l1GtTmTech, m_l1GtTmVetoAlgo, m_l1GtTmVetoTech, m_printOutput, m_testerPrescaleFactors, m_testerTriggerMask, m_testerTriggerVetoMask, L1GtPrescaleFactors::print(), and L1GtTriggerMask::print().
Referenced by analyze(), beginLuminosityBlock(), and beginRun().
|
private |
retrieve all the relevant L1 trigger event setup records
Definition at line 117 of file L1GtPrescaleFactorsAndMasksTester.cc.
References edm::EventSetup::get(), m_l1GtPfAlgo, m_l1GtPfTech, m_l1GtTmAlgo, m_l1GtTmTech, m_l1GtTmVetoAlgo, m_l1GtTmVetoTech, m_testerPrescaleFactors, m_testerTriggerMask, m_testerTriggerVetoMask, and edm::ESHandle< class >::product().
Referenced by analyze(), beginLuminosityBlock(), and beginRun().
|
private |
prescale factors
Definition at line 92 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 93 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
trigger masks & veto masks
Definition at line 96 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 97 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 99 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 100 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 85 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by analyze().
|
private |
Definition at line 84 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginLuminosityBlock().
|
private |
print the records in beginRun, beginLuminosityBlock, analyze, respectively
Definition at line 83 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginRun().
|
private |
print output
Definition at line 88 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup().
|
private |
Definition at line 80 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by analyze().
|
private |
Definition at line 79 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginLuminosityBlock().
|
private |
retrieve the records in beginRun, beginLuminosityBlock, analyze, respectively
Definition at line 78 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginRun().
|
private |
input parameters
analyze prescale factors, trigger masks and trigger veto masks, respectively
Definition at line 73 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 74 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 75 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().