#include <L1GtPrescaleFactorsAndMasksTester.h>
Public Member Functions | |
L1GtPrescaleFactorsAndMasksTester (const edm::ParameterSet &) | |
virtual | ~L1GtPrescaleFactorsAndMasksTester () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
analyze More... | |
void | beginJob () |
begin job More... | |
void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
begin luminosity block More... | |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
begin run More... | |
void | endJob () |
end job More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
end luminosity block More... | |
void | endRun (const edm::Run &, const edm::EventSetup &) |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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 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) |
Description: test analyzer for L1 GT prescale factors and masks.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 35 of file L1GtPrescaleFactorsAndMasksTester.h.
|
explicit |
Definition at line 52 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
virtual |
Definition at line 73 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
privatevirtual |
analyze
Implements edm::EDAnalyzer.
Definition at line 111 of file L1GtPrescaleFactorsAndMasksTester.cc.
References m_printInAnalyze, m_retrieveInAnalyze, printL1EventSetup(), and retrieveL1EventSetup().
|
privatevirtual |
begin job
Reimplemented from edm::EDAnalyzer.
Definition at line 78 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
privatevirtual |
begin luminosity block
Reimplemented from edm::EDAnalyzer.
Definition at line 97 of file L1GtPrescaleFactorsAndMasksTester.cc.
References m_printInBeginLuminosityBlock, m_retrieveInBeginLuminosityBlock, printL1EventSetup(), and retrieveL1EventSetup().
|
privatevirtual |
begin run
Reimplemented from edm::EDAnalyzer.
Definition at line 83 of file L1GtPrescaleFactorsAndMasksTester.cc.
References m_printInBeginRun, m_retrieveInBeginRun, printL1EventSetup(), and retrieveL1EventSetup().
|
privatevirtual |
end job
Reimplemented from edm::EDAnalyzer.
Definition at line 137 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
privatevirtual |
end luminosity block
Reimplemented from edm::EDAnalyzer.
Definition at line 125 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
privatevirtual |
end run
Reimplemented from edm::EDAnalyzer.
Definition at line 131 of file L1GtPrescaleFactorsAndMasksTester.cc.
|
private |
print the requred records
Definition at line 181 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 141 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 105 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 106 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
trigger masks & veto masks
Definition at line 109 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 110 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 112 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 113 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 95 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by analyze().
|
private |
Definition at line 94 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginLuminosityBlock().
|
private |
print the records in beginRun, beginLuminosityBlock, analyze, respectively
Definition at line 93 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginRun().
|
private |
print output
Definition at line 98 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup().
|
private |
Definition at line 90 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by analyze().
|
private |
Definition at line 89 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginLuminosityBlock().
|
private |
retrieve the records in beginRun, beginLuminosityBlock, analyze, respectively
Definition at line 88 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by beginRun().
|
private |
input parameters
analyze prescale factors, trigger masks and trigger veto masks, respectively
Definition at line 83 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 84 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().
|
private |
Definition at line 85 of file L1GtPrescaleFactorsAndMasksTester.h.
Referenced by printL1EventSetup(), and retrieveL1EventSetup().