#include <L1GtTriggerMenuTester.h>
Public Member Functions | |
L1GtTriggerMenuTester (const edm::ParameterSet &) | |
virtual | ~L1GtTriggerMenuTester () |
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 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 |
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 trigger menu.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 45 of file L1GtTriggerMenuTester.h.
|
private |
constant iterator
Definition at line 100 of file L1GtTriggerMenuTester.h.
|
explicit |
Definition at line 61 of file L1GtTriggerMenuTester.cc.
|
virtual |
Definition at line 77 of file L1GtTriggerMenuTester.cc.
|
privatevirtual |
|
private |
L1 seed - HLT path association.
Definition at line 244 of file L1GtTriggerMenuTester.cc.
References edm::hlt::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 82 of file L1GtTriggerMenuTester.cc.
|
privatevirtual |
begin luminosity block
Reimplemented from edm::EDAnalyzer.
Definition at line 140 of file L1GtTriggerMenuTester.cc.
|
privatevirtual |
begin run
Reimplemented from edm::EDAnalyzer.
Definition at line 87 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 165 of file L1GtTriggerMenuTester.cc.
|
privatevirtual |
end luminosity block
Reimplemented from edm::EDAnalyzer.
Definition at line 154 of file L1GtTriggerMenuTester.cc.
|
privatevirtual |
end run
Reimplemented from edm::EDAnalyzer.
Definition at line 160 of file L1GtTriggerMenuTester.cc.
|
private |
printing template for a trigger group
Definition at line 373 of file L1GtTriggerMenuTester.cc.
References CreateSqliteForCondDB_cfg::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 518 of file L1GtTriggerMenuTester.cc.
References asciidump::at, BPTX, CenJet, CondExternal, ETM, ETT, edm::hlt::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(), linker::replace(), AlCaHLTBitMon_QueryRunRegistry::string, TauJet, and TechTrig.
Referenced by beginRun().
|
private |
retrieve all the relevant L1 trigger event setup records
Definition at line 169 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< class >::product().
Referenced by beginRun().
|
private |
Definition at line 167 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and retrieveL1EventSetup().
|
private |
Definition at line 166 of file L1GtTriggerMenuTester.h.
Referenced by printWiki(), and retrieveL1EventSetup().
|
private |
vector of algorithm or technical triggers not in the L1 menu
Definition at line 185 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and beginRun().
|
private |
The instance of the HLTConfigProvider as a data member.
Definition at line 173 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 179 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 182 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath().
|
private |
process name of HLT process for which to get HLT configuration
Definition at line 117 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 176 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and printWiki().
|
private |
name of HTML file attached to the wiki page
Definition at line 111 of file L1GtTriggerMenuTester.h.
Referenced by printTriggerGroup(), and printWiki().
|
private |
index of prescale factor set to be printed
Definition at line 127 of file L1GtTriggerMenuTester.h.
Referenced by printWiki().
|
private |
Definition at line 164 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), beginRun(), printWiki(), and retrieveL1EventSetup().
|
private |
prescale factors
Definition at line 143 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 145 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
event setup cached stuff
stable parameters
Definition at line 134 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
trigger masks & veto masks
Definition at line 151 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 152 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 154 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 155 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 121 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), and beginRun().
|
private |
number of algorithm triggers
Definition at line 137 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath(), printTriggerGroup(), printWiki(), and retrieveL1EventSetup().
|
private |
number of technical triggers
Definition at line 140 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 108 of file L1GtTriggerMenuTester.h.
Referenced by printWiki().
|
private |
Definition at line 147 of file L1GtTriggerMenuTester.h.
Referenced by printWiki(), and retrieveL1EventSetup().
|
private |
Definition at line 148 of file L1GtTriggerMenuTester.h.
Referenced by printWiki(), and retrieveL1EventSetup().
|
private |
print prescale factors and rates
Definition at line 124 of file L1GtTriggerMenuTester.h.
Referenced by printWiki().
|
private |
Definition at line 168 of file L1GtTriggerMenuTester.h.
Referenced by printWiki(), and retrieveL1EventSetup().
|
private |
Definition at line 186 of file L1GtTriggerMenuTester.h.
Referenced by associateL1SeedsHltPath().
|
private |
Definition at line 157 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 158 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 160 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
Definition at line 161 of file L1GtTriggerMenuTester.h.
Referenced by retrieveL1EventSetup().
|
private |
use a HLT menu for L1 seed - HLT path association
Definition at line 114 of file L1GtTriggerMenuTester.h.
Referenced by beginRun(), printTriggerGroup(), and printWiki().