#include <L1GtPrescaleFactorsAndMasksTester.h>
Classes | |
struct | Tokens |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
analyze 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 | 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 () |
print the requred records More... | |
void | retrieveL1EventSetup (const edm::EventSetup &, const Tokens &) |
retrieve all the relevant L1 trigger event setup records More... | |
Private Attributes | |
Tokens | m_event |
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 |
Tokens | m_lumi |
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... | |
Tokens | m_run |
bool | m_testerPrescaleFactors |
input parameters More... | |
bool | m_testerTriggerMask |
bool | m_testerTriggerVetoMask |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 39 of file L1GtPrescaleFactorsAndMasksTester.h.
|
explicit |
Definition at line 74 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
overrideprivatevirtual |
analyze
Implements edm::one::EDAnalyzerBase.
Definition at line 118 of file L1GtPrescaleFactorsAndMasksTester.cc.
References m_event, m_printInAnalyze, m_retrieveInAnalyze, printL1EventSetup(), and retrieveL1EventSetup().
|
overrideprivate |
begin luminosity block
Definition at line 106 of file L1GtPrescaleFactorsAndMasksTester.cc.
References m_lumi, m_printInBeginLuminosityBlock, m_retrieveInBeginLuminosityBlock, printL1EventSetup(), and retrieveL1EventSetup().
|
overrideprivate |
begin run
Definition at line 95 of file L1GtPrescaleFactorsAndMasksTester.cc.
References m_printInBeginRun, m_retrieveInBeginRun, m_run, printL1EventSetup(), and retrieveL1EventSetup().
|
overrideprivate |
|
overrideprivate |
|
private |
print the requred records
Definition at line 156 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 135 of file L1GtPrescaleFactorsAndMasksTester.cc.
References edm::EventSetup::getData(), L1GtPrescaleFactorsAndMasksTester::Tokens::m_l1GtPfAlgo, m_l1GtPfAlgo, L1GtPrescaleFactorsAndMasksTester::Tokens::m_l1GtPfTech, m_l1GtPfTech, L1GtPrescaleFactorsAndMasksTester::Tokens::m_l1GtTmAlgo, m_l1GtTmAlgo, L1GtPrescaleFactorsAndMasksTester::Tokens::m_l1GtTmTech, m_l1GtTmTech, L1GtPrescaleFactorsAndMasksTester::Tokens::m_l1GtTmVetoAlgo, m_l1GtTmVetoAlgo, L1GtPrescaleFactorsAndMasksTester::Tokens::m_l1GtTmVetoTech, m_l1GtTmVetoTech, m_testerPrescaleFactors, m_testerTriggerMask, and m_testerTriggerVetoMask.
Referenced by analyze(), beginLuminosityBlock(), and beginRun().
|
private |
Definition at line 112 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by analyze().
|
private |
prescale factors
Definition at line 100 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 101 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
trigger masks & veto masks
Definition at line 104 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 105 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 107 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 108 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 111 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 93 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by analyze().
|
private |
Definition at line 92 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginLuminosityBlock().
|
private |
print the records in beginRun, beginLuminosityBlock, analyze, respectively
Definition at line 91 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginRun().
|
private |
print output
Definition at line 96 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup().
|
private |
Definition at line 88 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by analyze().
|
private |
Definition at line 87 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginLuminosityBlock().
|
private |
retrieve the records in beginRun, beginLuminosityBlock, analyze, respectively
Definition at line 86 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginRun().
|
private |
Definition at line 110 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginRun().
|
private |
input parameters
analyze prescale factors, trigger masks and trigger veto masks, respectively
Definition at line 81 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 82 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 83 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().