#include <L1GtTriggerMenuTester.h>
Private Types | |
typedef std::map< std::string, const L1GtAlgorithm * >::const_iterator | CItAlgoP |
constant iterator More... | |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
analyze More... | |
void | associateL1SeedsHltPath (const edm::Run &, const edm::EventSetup &) |
L1 seed - HLT path association. 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 | printTriggerGroup (const std::string &trigGroupName, const std::map< std::string, const L1GtAlgorithm * > &trigGroup, const bool compactPrint, const bool printPfsRates) |
printing template for a trigger group More... | |
void | printWiki () |
printing in Wiki format More... | |
void | retrieveL1EventSetup (const edm::EventSetup &) |
retrieve all the relevant L1 trigger event setup records More... | |
Private Attributes | |
const AlgorithmMap * | m_algorithmAliasMap |
const AlgorithmMap * | m_algorithmMap |
std::vector< std::string > | m_algoTriggerSeedNotInL1Menu |
vector of algorithm or technical triggers not in the L1 menu More... | |
HLTConfigProvider | m_hltConfig |
The instance of the HLTConfigProvider as a data member. More... | |
std::vector< std::vector< std::string > > | m_hltPathsForL1AlgorithmTrigger |
vector of HLT paths seeded by a L1 algorithm trigger - vector index corresponds to the bit number More... | |
std::vector< std::vector< std::string > > | m_hltPathsForL1TechnicalTrigger |
vector of HLT paths seeded by a L1 technical trigger - vector index corresponds to the bit number More... | |
std::string | m_hltProcessName |
process name of HLT process for which to get HLT configuration More... | |
std::string | m_hltTableName |
HLT menu was used to associate the HLT path to the L1 algorithm triggers. More... | |
std::string | m_htmlFile |
name of HTML file attached to the wiki page More... | |
int | m_indexPfSet |
index of prescale factor set to be printed More... | |
const L1GtTriggerMenu * | m_l1GtMenu |
const L1GtPrescaleFactors * | m_l1GtPfAlgo |
prescale factors More... | |
const L1GtPrescaleFactors * | m_l1GtPfTech |
const L1GtStableParameters * | m_l1GtStablePar |
event setup cached stuff More... | |
const L1GtTriggerMask * | m_l1GtTmAlgo |
trigger masks & veto masks More... | |
const L1GtTriggerMask * | m_l1GtTmTech |
const L1GtTriggerMask * | m_l1GtTmVetoAlgo |
const L1GtTriggerMask * | m_l1GtTmVetoTech |
bool | m_noThrowIncompatibleMenu |
unsigned int | m_numberAlgorithmTriggers |
number of algorithm triggers More... | |
unsigned int | m_numberTechnicalTriggers |
number of technical triggers More... | |
bool | m_overwriteHtmlFile |
input parameters More... | |
const std::vector< std::vector< int > > * | m_prescaleFactorsAlgoTrig |
const std::vector< std::vector< int > > * | m_prescaleFactorsTechTrig |
bool | m_printPfsRates |
print prescale factors and rates More... | |
const AlgorithmMap * | m_technicalTriggerMap |
std::vector< std::string > | m_techTriggerSeedNotInL1Menu |
const std::vector< unsigned int > * | m_triggerMaskAlgoTrig |
const std::vector< unsigned int > * | m_triggerMaskTechTrig |
const std::vector< unsigned int > * | m_triggerMaskVetoAlgoTrig |
const std::vector< unsigned int > * | m_triggerMaskVetoTechTrig |
bool | m_useHltMenu |
use a HLT menu for L1 seed - HLT path association More... | |
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 | 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> | |
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) |
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) |
Description: test analyzer for L1 GT trigger menu.
Implementation: <TODO: enter implementation details>
Description: test analyzer for L1 GT trigger menu.
Implementation: <TODO: enter implementation details>
Definition at line 44 of file L1GtTriggerMenuTester.h.
|
private |
constant iterator
Definition at line 92 of file L1GtTriggerMenuTester.h.
|
explicit |
Definition at line 59 of file L1GtTriggerMenuTester.cc.
|
override |
Definition at line 73 of file L1GtTriggerMenuTester.cc.
|
overrideprivatevirtual |
|
private |
L1 seed - HLT path association.
Definition at line 215 of file L1GtTriggerMenuTester.cc.
References Exception, L1GtLogicParser::expressionSeedsOperandList(), L1GtTriggerMenu::gtTriggerMenuName(), HLTConfigProvider::hltL1GTSeeds(), mps_fire::i, HLTConfigProvider::init(), m_algorithmAliasMap, m_algoTriggerSeedNotInL1Menu, m_hltConfig, m_hltPathsForL1AlgorithmTrigger, m_hltPathsForL1TechnicalTrigger, m_hltProcessName, m_hltTableName, m_l1GtMenu, m_noThrowIncompatibleMenu, m_numberAlgorithmTriggers, m_numberTechnicalTriggers, m_techTriggerSeedNotInL1Menu, edm::second(), HLTConfigProvider::size(), AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::tableName(), and HLTConfigProvider::triggerName().
Referenced by beginRun().
|
overrideprivatevirtual |
begin job
Reimplemented from edm::EDAnalyzer.
Definition at line 78 of file L1GtTriggerMenuTester.cc.
|
overrideprivatevirtual |
begin luminosity block
Reimplemented from edm::EDAnalyzer.
Definition at line 127 of file L1GtTriggerMenuTester.cc.
|
overrideprivatevirtual |
begin run
Reimplemented from edm::EDAnalyzer.
Definition at line 81 of file L1GtTriggerMenuTester.cc.
References associateL1SeedsHltPath(), m_algoTriggerSeedNotInL1Menu, m_l1GtMenu, m_noThrowIncompatibleMenu, m_useHltMenu, L1GtTriggerMenu::print(), printWiki(), and retrieveL1EventSetup().
|
overrideprivatevirtual |
end job
Reimplemented from edm::EDAnalyzer.
Definition at line 144 of file L1GtTriggerMenuTester.cc.
|
overrideprivatevirtual |
end luminosity block
Reimplemented from edm::EDAnalyzer.
Definition at line 136 of file L1GtTriggerMenuTester.cc.
|
overrideprivatevirtual |
end run
Reimplemented from edm::EDAnalyzer.
Definition at line 141 of file L1GtTriggerMenuTester.cc.
|
private |
printing template for a trigger group
Definition at line 307 of file L1GtTriggerMenuTester.cc.
References HIPAlignmentAlgorithm_cfi::algoName, L1TBPTX_cfi::bitNumber, HLTSiStripMonitoring_cff::hltPaths, m_hltPathsForL1AlgorithmTrigger, m_htmlFile, m_numberAlgorithmTriggers, m_numberTechnicalTriggers, m_useHltMenu, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
printing in Wiki format
Referenced by beginRun().
|
private |
retrieve all the relevant L1 trigger event setup records
Definition at line 146 of file L1GtTriggerMenuTester.cc.
References edm::EventSetup::get(), get, L1GtTriggerMenu::gtAlgorithmAliasMap(), L1GtTriggerMenu::gtAlgorithmMap(), L1GtStableParameters::gtNumberPhysTriggers(), L1GtStableParameters::gtNumberTechnicalTriggers(), L1GtPrescaleFactors::gtPrescaleFactors(), L1GtTriggerMenu::gtTechnicalTriggerMap(), L1GtTriggerMask::gtTriggerMask(), m_algorithmAliasMap, m_algorithmMap, m_l1GtMenu, m_l1GtPfAlgo, m_l1GtPfTech, m_l1GtStablePar, m_l1GtTmAlgo, m_l1GtTmTech, m_l1GtTmVetoAlgo, m_l1GtTmVetoTech, m_numberAlgorithmTriggers, m_numberTechnicalTriggers, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_technicalTriggerMap, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, m_triggerMaskVetoAlgoTrig, m_triggerMaskVetoTechTrig, and edm::ESHandle< T >::product().
Referenced by beginRun().
|
private |
Definition at line 157 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and retrieveL1EventSetup().
|
private |
Definition at line 156 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
vector of algorithm or technical triggers not in the L1 menu
Definition at line 174 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and beginRun().
|
private |
The instance of the HLTConfigProvider as a data member.
Definition at line 162 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath().
|
private |
vector of HLT paths seeded by a L1 algorithm trigger - vector index corresponds to the bit number
Definition at line 168 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and printTriggerGroup().
|
private |
vector of HLT paths seeded by a L1 technical trigger - vector index corresponds to the bit number
Definition at line 171 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath().
|
private |
process name of HLT process for which to get HLT configuration
Definition at line 108 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath().
|
private |
HLT menu was used to associate the HLT path to the L1 algorithm triggers.
Definition at line 165 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath().
|
private |
name of HTML file attached to the wiki page
Definition at line 102 of file L1GtTriggerMenuTester.h.
Referenced by printTriggerGroup().
|
private |
index of prescale factor set to be printed
Definition at line 118 of file L1GtTriggerMenuTester.h.
|
private |
Definition at line 154 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), beginRun(), and retrieveL1EventSetup().
|
private |
prescale factors
Definition at line 133 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 135 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
event setup cached stuff
stable parameters
Definition at line 124 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
trigger masks & veto masks
Definition at line 141 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 142 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 144 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 145 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
do not throw an exceptions if a L1 trigger requested as seed is not available in the L1 menu, just report this
Definition at line 112 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and beginRun().
|
private |
number of algorithm triggers
Definition at line 127 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), printTriggerGroup(), and retrieveL1EventSetup().
|
private |
number of technical triggers
Definition at line 130 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), printTriggerGroup(), and retrieveL1EventSetup().
|
private |
input parameters
overwrite name of the HTML file containing the detailed L1 menu with the name given in m_htmlFile
Definition at line 99 of file L1GtTriggerMenuTester.h.
|
private |
Definition at line 137 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 138 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
print prescale factors and rates
Definition at line 115 of file L1GtTriggerMenuTester.h.
|
private |
Definition at line 158 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 175 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath().
|
private |
Definition at line 147 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 148 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 150 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 151 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
use a HLT menu for L1 seed - HLT path association
Definition at line 105 of file L1GtTriggerMenuTester.h.
Referenced by beginRun(), and printTriggerGroup().