#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 &) |
analyze More... | |
void | associateL1SeedsHltPath (const edm::Run &, const edm::EventSetup &) |
L1 seed - HLT path association. 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 | 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 &) |
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 trigger menu.
Implementation: <TODO: enter implementation details>
Definition at line 44 of file L1GtTriggerMenuTester.h.
|
private |
constant iterator
Definition at line 99 of file L1GtTriggerMenuTester.h.
|
explicit |
Definition at line 59 of file L1GtTriggerMenuTester.cc.
|
virtual |
Definition at line 75 of file L1GtTriggerMenuTester.cc.
|
private |
|
private |
L1 seed - HLT path association.
Definition at line 239 of file L1GtTriggerMenuTester.cc.
References Exception, L1GtLogicParser::expressionSeedsOperandList(), L1GtTriggerMenu::gtTriggerMenuName(), HLTConfigProvider::hltL1GTSeeds(), 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().
|
privatevirtual |
begin job
Reimplemented from edm::EDAnalyzer.
Definition at line 80 of file L1GtTriggerMenuTester.cc.
|
private |
|
private |
begin run
Definition at line 85 of file L1GtTriggerMenuTester.cc.
References associateL1SeedsHltPath(), m_algoTriggerSeedNotInL1Menu, m_l1GtMenu, m_noThrowIncompatibleMenu, m_useHltMenu, L1GtTriggerMenu::print(), printWiki(), and retrieveL1EventSetup().
|
privatevirtual |
end job
Reimplemented from edm::EDAnalyzer.
Definition at line 163 of file L1GtTriggerMenuTester.cc.
|
private |
|
private |
|
private |
printing template for a trigger group
Definition at line 368 of file L1GtTriggerMenuTester.cc.
References HIPAlignmentAlgorithm_cfi::algoName, DQMSequences_cfi::hltPaths, m_hltPathsForL1AlgorithmTrigger, m_htmlFile, m_numberAlgorithmTriggers, m_numberTechnicalTriggers, m_useHltMenu, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by printWiki().
|
private |
printing in Wiki format
Definition at line 513 of file L1GtTriggerMenuTester.cc.
References HIPAlignmentAlgorithm_cfi::algoName, BPTX, CenJet, CondExternal, ETM, ETT, Exception, ForJet, L1GtTriggerMenu::gtConditionMap(), GtExternal, L1GtTriggerMenu::gtScaleDbKey(), L1GtTriggerMenu::gtTriggerMenuImplementation(), L1GtTriggerMenu::gtTriggerMenuInterface(), L1GtTriggerMenu::gtTriggerMenuName(), HfBitCounts, HfRingEtSums, HTM, HTT, i, IsoEG, JetCounts, m_algorithmMap, m_hltTableName, m_htmlFile, m_indexPfSet, m_l1GtMenu, m_numberAlgorithmTriggers, m_numberTechnicalTriggers, m_overwriteHtmlFile, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_printPfsRates, m_technicalTriggerMap, m_useHltMenu, Mu, NoIsoEG, L1GtLogicParser::OP_OPERAND, printTriggerGroup(), python.rootplot.root2matplotlib::replace(), AlCaHLTBitMon_QueryRunRegistry::string, TauJet, and TechTrig.
Referenced by beginRun().
|
private |
retrieve all the relevant L1 trigger event setup records
Definition at line 167 of file L1GtTriggerMenuTester.cc.
References edm::EventSetup::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 166 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and retrieveL1EventSetup().
|
private |
Definition at line 165 of file L1GtTriggerMenuTester.h.
Referenced by printWiki(), and retrieveL1EventSetup().
|
private |
vector of algorithm or technical triggers not in the L1 menu
Definition at line 184 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and beginRun().
|
private |
The instance of the HLTConfigProvider as a data member.
Definition at line 172 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 178 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 181 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath().
|
private |
process name of HLT process for which to get HLT configuration
Definition at line 116 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 175 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and printWiki().
|
private |
name of HTML file attached to the wiki page
Definition at line 110 of file L1GtTriggerMenuTester.h.
Referenced by printTriggerGroup(), and printWiki().
|
private |
index of prescale factor set to be printed
Definition at line 126 of file L1GtTriggerMenuTester.h.
Referenced by printWiki().
|
private |
Definition at line 163 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), beginRun(), printWiki(), and retrieveL1EventSetup().
|
private |
prescale factors
Definition at line 142 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 144 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
event setup cached stuff
stable parameters
Definition at line 133 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
trigger masks & veto masks
Definition at line 150 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 151 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 153 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 154 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 120 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and beginRun().
|
private |
number of algorithm triggers
Definition at line 136 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), printTriggerGroup(), printWiki(), and retrieveL1EventSetup().
|
private |
number of technical triggers
Definition at line 139 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), printTriggerGroup(), printWiki(), 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 107 of file L1GtTriggerMenuTester.h.
Referenced by printWiki().
|
private |
Definition at line 146 of file L1GtTriggerMenuTester.h.
Referenced by printWiki(), and retrieveL1EventSetup().
|
private |
Definition at line 147 of file L1GtTriggerMenuTester.h.
Referenced by printWiki(), and retrieveL1EventSetup().
|
private |
print prescale factors and rates
Definition at line 123 of file L1GtTriggerMenuTester.h.
Referenced by printWiki().
|
private |
Definition at line 167 of file L1GtTriggerMenuTester.h.
Referenced by printWiki(), and retrieveL1EventSetup().
|
private |
Definition at line 185 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath().
|
private |
Definition at line 156 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 157 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 159 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 160 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
use a HLT menu for L1 seed - HLT path association
Definition at line 113 of file L1GtTriggerMenuTester.h.
Referenced by beginRun(), printTriggerGroup(), and printWiki().