#include <HLTConfigData.h>
Public Member Functions | |
const std::vector< std::string > & | datasetContent (const std::string &dataset) const |
names of trigger paths in dataset with name More... | |
const std::vector< std::string > & | datasetContent (unsigned int dataset) const |
names of trigger paths in dataset with index i More... | |
const std::vector< std::vector< std::string > > & | datasetContents () const |
names of trigger paths for all datasets More... | |
unsigned int | datasetIndex (const std::string &dataset) const |
index of dataset with name More... | |
const std::string & | datasetName (unsigned int dataset) const |
name of dataset with index i More... | |
const std::vector< std::string > & | datasetNames () const |
Datasets. More... | |
void | dump (const std::string &what) const |
Dumping config info to cout. More... | |
const std::string & | globalTag () const |
GlobalTag.globaltag. More... | |
HLTConfigData () | |
HLTConfigData (const edm::ParameterSet *iID) | |
const std::vector< std::vector< std::pair< bool, std::string > > > & | hltL1GTSeeds () const |
const std::vector< std::pair< bool, std::string > > & | hltL1GTSeeds (const std::string &trigger) const |
HLTLevel1GTSeed modules for trigger path with name. More... | |
const std::vector< std::pair< bool, std::string > > & | hltL1GTSeeds (unsigned int trigger) const |
HLTLevel1GTSeed modules for trigger path with index i. More... | |
const std::vector< std::vector< std::string > > & | hltL1TSeeds () const |
const std::vector< std::string > & | hltL1TSeeds (const std::string &trigger) const |
HLTL1TSeed modules for trigger path with name. More... | |
const std::vector< std::string > & | hltL1TSeeds (unsigned int trigger) const |
HLTL1TSeed modules for trigger path with index i. More... | |
edm::ParameterSetID | id () const |
technical: id() function needed for use with ThreadSafeRegistry More... | |
unsigned int | l1tType () const |
L1T type (0=unknown, 1=legacy/stage-1 or 2=stage-2) More... | |
const std::string | moduleEDMType (const std::string &module) const |
C++ base class name of module. More... | |
unsigned int | moduleIndex (const std::string &trigger, const std::string &module) const |
unsigned int | moduleIndex (unsigned int trigger, const std::string &module) const |
slot position of module on trigger path (0 - size-1) More... | |
const std::string & | moduleLabel (const std::string &trigger, unsigned int module) const |
const std::string & | moduleLabel (unsigned int trigger, unsigned int module) const |
const std::vector< std::string > & | moduleLabels (const std::string &trigger) const |
const std::vector< std::string > & | moduleLabels (unsigned int trigger) const |
label(s) of module(s) on a trigger path More... | |
const edm::ParameterSet & | modulePSet (const std::string &module) const |
ParameterSet of module. More... | |
const std::string | moduleType (const std::string &module) const |
C++ class name of module. More... | |
const std::vector< std::string > & | prescaleLabels () const |
low-level data member access More... | |
unsigned int | prescaleSize () const |
const std::map< std::string, std::vector< unsigned int > > & | prescaleTable () const |
unsigned int | prescaleValue (unsigned int set, const std::string &trigger) const |
HLT prescale value in specific prescale set for a specific trigger path. More... | |
const std::string & | processName () const |
Accessors (const methods) More... | |
const edm::ParameterSet & | processPSet () const |
ParameterSet of process. More... | |
bool | saveTags (const std::string &module) const |
Is module an L3 filter (ie, tracked saveTags=true) More... | |
const std::vector< std::string > & | saveTagsModules (const std::string &trigger) const |
const std::vector< std::string > & | saveTagsModules (unsigned int trigger) const |
unsigned int | size () const |
number of trigger paths in trigger table More... | |
unsigned int | size (const std::string &trigger) const |
unsigned int | size (unsigned int trigger) const |
number of modules on a specific trigger path More... | |
const std::vector< std::string > & | streamContent (const std::string &stream) const |
names of datasets in stream with name More... | |
const std::vector< std::string > & | streamContent (unsigned int stream) const |
names of datasets in stream with index i More... | |
const std::vector< std::vector< std::string > > & | streamContents () const |
names of datasets for all streams More... | |
unsigned int | streamIndex (const std::string &stream) const |
index of stream with name More... | |
const std::string & | streamName (unsigned int stream) const |
name of stream with index i More... | |
const std::vector< std::string > & | streamNames () const |
Streams. More... | |
const std::string & | tableName () const |
HLT ConfDB table name. More... | |
unsigned int | triggerIndex (const std::string &triggerName) const |
slot position of trigger path in trigger table (0 - size-1) More... | |
const std::string & | triggerName (unsigned int triggerIndex) const |
const std::vector< std::string > & | triggerNames () const |
names of trigger paths More... | |
Private Member Functions | |
void | extract () |
extract information into data members - called by init() methods More... | |
Private Attributes | |
std::vector< std::vector< std::string > > | datasetContents_ |
std::map< std::string, unsigned int > | datasetIndex_ |
std::vector< std::string > | datasetNames_ |
std::string | globalTag_ |
std::vector< std::vector< std::pair< bool, std::string > > > | hltL1GTSeeds_ |
std::vector< std::vector< std::string > > | hltL1TSeeds_ |
trigger::HLTPrescaleTable | hltPrescaleTable_ |
unsigned int | l1tType_ |
std::vector< std::map< std::string, unsigned int > > | moduleIndex_ |
std::vector< std::vector< std::string > > | moduleLabels_ |
std::string | processName_ |
const edm::ParameterSet * | processPSet_ |
std::vector< std::vector< std::string > > | saveTagsModules_ |
std::vector< std::vector< std::string > > | streamContents_ |
std::map< std::string, unsigned int > | streamIndex_ |
std::vector< std::string > | streamNames_ |
std::string | tableName_ |
std::map< std::string, unsigned int > | triggerIndex_ |
std::vector< std::string > | triggerNames_ |
This class provides access routines to get hold of the HLT Configuration
See header file for documentation
Definition at line 25 of file HLTConfigData.h.
HLTConfigData::HLTConfigData | ( | ) |
Definition at line 29 of file HLTConfigData.cc.
References extract(), edm::ParameterSet::id(), edm::Hash< I >::isValid(), and processPSet_.
HLTConfigData::HLTConfigData | ( | const edm::ParameterSet * | iID | ) |
Definition at line 54 of file HLTConfigData.cc.
References extract(), edm::ParameterSet::id(), edm::Hash< I >::isValid(), and processPSet_.
const std::vector< std::string > & HLTConfigData::datasetContent | ( | const std::string & | dataset | ) | const |
names of trigger paths in dataset with name
Definition at line 589 of file HLTConfigData.cc.
References datasetContent(), and datasetIndex().
const std::vector< std::string > & HLTConfigData::datasetContent | ( | unsigned int | dataset | ) | const |
names of trigger paths in dataset with index i
Definition at line 585 of file HLTConfigData.cc.
References datasetContents_.
Referenced by datasetContent(), and HLTConfigProvider::datasetContent().
const std::vector< std::vector< std::string > > & HLTConfigData::datasetContents | ( | ) | const |
names of trigger paths for all datasets
Definition at line 583 of file HLTConfigData.cc.
References datasetContents_.
Referenced by HLTConfigProvider::datasetContents().
unsigned int HLTConfigData::datasetIndex | ( | const std::string & | dataset | ) | const |
index of dataset with name
Definition at line 574 of file HLTConfigData.cc.
References datasetIndex_, and datasetNames_.
Referenced by datasetContent(), and HLTConfigProvider::datasetIndex().
const std::string & HLTConfigData::datasetName | ( | unsigned int | dataset | ) | const |
name of dataset with index i
Definition at line 572 of file HLTConfigData.cc.
References datasetNames_.
Referenced by HLTConfigProvider::datasetName().
const std::vector< std::string > & HLTConfigData::datasetNames | ( | ) | const |
Datasets.
Datasets list of names of all datasets
Definition at line 570 of file HLTConfigData.cc.
References datasetNames_.
Referenced by HLTConfigProvider::datasetNames().
void HLTConfigData::dump | ( | const std::string & | what | ) | const |
Dumping config info to cout.
Definition at line 304 of file HLTConfigData.cc.
References gather_cfg::cout, datasetContents_, datasetNames_, globalTag_, hltL1GTSeeds_, hltL1TSeeds_, hltPrescaleTable_, mps_fire::i, dqmiolumiharvest::j, label, SummaryClient_cfi::labels, trigger::HLTPrescaleTable::labels(), visualization-live-secondInstance_cfg::m, genParticles_cff::map, moduleEDMType(), moduleLabels_, moduleType(), dqmiodumpmetadata::n, processName_, processPSet_, saveTags(), trigger::HLTPrescaleTable::size(), size(), streamContents_, streamNames_, trigger::HLTPrescaleTable::table(), TableParser::table, tableName_, triggerMatcherToHLTDebug_cfi::tags, and triggerNames_.
Referenced by HLTConfigProvider::dump().
|
private |
extract information into data members - called by init() methods
Definition at line 79 of file HLTConfigData.cc.
References edmTracerLogToSimpleConfig::allModules, datasetContents_, datasetIndex_, datasetNames_, contentValuesFiles::datasets, mps_fire::end, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), globalTag_, hltL1GTSeeds_, hltL1TSeeds_, hltPrescaleTable_, mps_fire::i, dqmiolumiharvest::j, l1tType_, label, edm::InputTag::label(), SummaryClient_cfi::labels, visualization-live-secondInstance_cfg::m, moduleIndex_, moduleLabels(), moduleLabels_, modulePSet(), LogMessageMonitor_cff::modules, moduleType(), dqmiodumpmetadata::n, or, processName_, processPSet_, muonDTDigis_cfi::pset, saveTags(), saveTagsModules_, size(), jetUpdater_cfi::sort, SiStripSourceConfigTier0_cff::stage2, streamContents_, streamIndex_, streamNames_, HLT_Fake1_cff::streams, AlCaHLTBitMon_QueryRunRegistry::string, TableParser::table, tableName_, triggerIndex_, and triggerNames_.
Referenced by HLTConfigData().
const std::string & HLTConfigData::globalTag | ( | ) | const |
GlobalTag.globaltag.
Definition at line 429 of file HLTConfigData.cc.
References globalTag_.
Referenced by HLTConfigProvider::globalTag().
const std::vector< std::vector< std::pair< bool, std::string > > > & HLTConfigData::hltL1GTSeeds | ( | ) | const |
HLTLevel1GTSeed module HLTLevel1GTSeed modules for all trigger paths
Definition at line 523 of file HLTConfigData.cc.
References hltL1GTSeeds_.
Referenced by hltL1GTSeeds(), and HLTConfigProvider::hltL1GTSeeds().
const std::vector< std::pair< bool, std::string > > & HLTConfigData::hltL1GTSeeds | ( | const std::string & | trigger | ) | const |
HLTLevel1GTSeed modules for trigger path with name.
Definition at line 527 of file HLTConfigData.cc.
References hltL1GTSeeds(), and triggerIndex().
const std::vector< std::pair< bool, std::string > > & HLTConfigData::hltL1GTSeeds | ( | unsigned int | trigger | ) | const |
HLTLevel1GTSeed modules for trigger path with index i.
Definition at line 531 of file HLTConfigData.cc.
References hltL1GTSeeds_.
const std::vector< std::vector< std::string > > & HLTConfigData::hltL1TSeeds | ( | ) | const |
HLTL1TSeed module HLTL1TSeed modules for all trigger paths
Definition at line 535 of file HLTConfigData.cc.
References hltL1TSeeds_.
Referenced by hltL1TSeeds(), and HLTConfigProvider::hltL1TSeeds().
const std::vector< std::string > & HLTConfigData::hltL1TSeeds | ( | const std::string & | trigger | ) | const |
HLTL1TSeed modules for trigger path with name.
Definition at line 537 of file HLTConfigData.cc.
References hltL1TSeeds(), and triggerIndex().
const std::vector< std::string > & HLTConfigData::hltL1TSeeds | ( | unsigned int | trigger | ) | const |
HLTL1TSeed modules for trigger path with index i.
Definition at line 541 of file HLTConfigData.cc.
References hltL1TSeeds_.
edm::ParameterSetID HLTConfigData::id | ( | void | ) | const |
technical: id() function needed for use with ThreadSafeRegistry
Definition at line 603 of file HLTConfigData.cc.
References edm::ParameterSet::id(), and processPSet_.
Referenced by HLTConfigProvider::init().
unsigned int HLTConfigData::l1tType | ( | ) | const |
L1T type (0=unknown, 1=legacy/stage-1 or 2=stage-2)
Definition at line 521 of file HLTConfigData.cc.
References l1tType_.
Referenced by HLTConfigProvider::l1tType().
const std::string HLTConfigData::moduleEDMType | ( | const std::string & | module | ) | const |
C++ base class name of module.
Definition at line 489 of file HLTConfigData.cc.
References modulePSet(), muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dump(), and HLTConfigProvider::moduleEDMType().
unsigned int HLTConfigData::moduleIndex | ( | const std::string & | trigger, |
const std::string & | module | ||
) | const |
Definition at line 476 of file HLTConfigData.cc.
References moduleIndex(), and triggerIndex().
unsigned int HLTConfigData::moduleIndex | ( | unsigned int | trigger, |
const std::string & | module | ||
) | const |
slot position of module on trigger path (0 - size-1)
Definition at line 468 of file HLTConfigData.cc.
References moduleIndex_, and size().
Referenced by moduleIndex(), and HLTConfigProvider::moduleIndex().
const std::string & HLTConfigData::moduleLabel | ( | const std::string & | trigger, |
unsigned int | module | ||
) | const |
Definition at line 464 of file HLTConfigData.cc.
References moduleLabels_, and triggerIndex().
const std::string & HLTConfigData::moduleLabel | ( | unsigned int | trigger, |
unsigned int | module | ||
) | const |
Definition at line 461 of file HLTConfigData.cc.
References moduleLabels_.
Referenced by HLTConfigProvider::moduleLabel(), and HLTConfigDataEx::moduleLabel().
const std::vector< std::string > & HLTConfigData::moduleLabels | ( | const std::string & | trigger | ) | const |
Definition at line 450 of file HLTConfigData.cc.
References moduleLabels_, and triggerIndex().
const std::vector< std::string > & HLTConfigData::moduleLabels | ( | unsigned int | trigger | ) | const |
label(s) of module(s) on a trigger path
Definition at line 447 of file HLTConfigData.cc.
References moduleLabels_.
Referenced by extract(), and HLTConfigProvider::moduleLabels().
const edm::ParameterSet & HLTConfigData::modulePSet | ( | const std::string & | module | ) | const |
ParameterSet of module.
Definition at line 500 of file HLTConfigData.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameterSet(), processPSet_, and s_dummyPSet().
Referenced by extract(), moduleEDMType(), HLTConfigProvider::modulePSet(), moduleType(), and saveTags().
const std::string HLTConfigData::moduleType | ( | const std::string & | module | ) | const |
C++ class name of module.
Definition at line 480 of file HLTConfigData.cc.
References modulePSet(), muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dump(), extract(), HLTConfigDataEx::HLTConfigDataEx(), and HLTConfigProvider::moduleType().
const std::vector< std::string > & HLTConfigData::prescaleLabels | ( | ) | const |
low-level data member access
Definition at line 598 of file HLTConfigData.cc.
References hltPrescaleTable_, and trigger::HLTPrescaleTable::labels().
Referenced by HLTConfigProvider::prescaleLabels().
unsigned int HLTConfigData::prescaleSize | ( | ) | const |
HLT prescale info Number of HLT prescale sets
Definition at line 593 of file HLTConfigData.cc.
References hltPrescaleTable_, and trigger::HLTPrescaleTable::size().
Referenced by HLTConfigProvider::prescaleSize().
const std::map< std::string, std::vector< unsigned int > > & HLTConfigData::prescaleTable | ( | ) | const |
Definition at line 599 of file HLTConfigData.cc.
References hltPrescaleTable_, and trigger::HLTPrescaleTable::table().
Referenced by HLTConfigProvider::prescaleTable().
unsigned int HLTConfigData::prescaleValue | ( | unsigned int | set, |
const std::string & | trigger | ||
) | const |
HLT prescale value in specific prescale set for a specific trigger path.
Definition at line 594 of file HLTConfigData.cc.
References hltPrescaleTable_, and trigger::HLTPrescaleTable::prescale().
Referenced by HLTConfigProvider::prescaleValue().
const std::string & HLTConfigData::processName | ( | ) | const |
Accessors (const methods)
process name
Definition at line 427 of file HLTConfigData.cc.
References processName_.
Referenced by HLTConfigProvider::processName(), and HLTConfigDataEx::processName().
const edm::ParameterSet & HLTConfigData::processPSet | ( | ) | const |
ParameterSet of process.
Definition at line 498 of file HLTConfigData.cc.
References processPSet_.
Referenced by HLTConfigProvider::processPSet().
bool HLTConfigData::saveTags | ( | const std::string & | module | ) | const |
Is module an L3 filter (ie, tracked saveTags=true)
Definition at line 512 of file HLTConfigData.cc.
References modulePSet(), and muonDTDigis_cfi::pset.
Referenced by dump(), extract(), and HLTConfigProvider::saveTags().
const std::vector< std::string > & HLTConfigData::saveTagsModules | ( | const std::string & | trigger | ) | const |
Definition at line 457 of file HLTConfigData.cc.
References saveTagsModules_, and triggerIndex().
const std::vector< std::string > & HLTConfigData::saveTagsModules | ( | unsigned int | trigger | ) | const |
Definition at line 454 of file HLTConfigData.cc.
References saveTagsModules_.
Referenced by HLTConfigProvider::saveTagsModules().
unsigned int HLTConfigData::size | ( | void | ) | const |
number of trigger paths in trigger table
Definition at line 431 of file HLTConfigData.cc.
References triggerNames_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), dump(), extract(), HLTConfigDataEx::HLTConfigDataEx(), moduleIndex(), size(), HLTConfigProvider::size(), HLTConfigDataEx::size(), and triggerIndex().
unsigned int HLTConfigData::size | ( | const std::string & | trigger | ) | const |
Definition at line 433 of file HLTConfigData.cc.
References size(), and triggerIndex().
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
unsigned int HLTConfigData::size | ( | unsigned int | trigger | ) | const |
number of modules on a specific trigger path
Definition at line 432 of file HLTConfigData.cc.
References moduleLabels_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
const std::vector< std::string > & HLTConfigData::streamContent | ( | const std::string & | stream | ) | const |
names of datasets in stream with name
Definition at line 565 of file HLTConfigData.cc.
References cms::cuda::stream, streamContent(), and streamIndex().
const std::vector< std::string > & HLTConfigData::streamContent | ( | unsigned int | stream | ) | const |
names of datasets in stream with index i
Definition at line 561 of file HLTConfigData.cc.
References cms::cuda::stream, and streamContents_.
Referenced by streamContent(), and HLTConfigProvider::streamContent().
const std::vector< std::vector< std::string > > & HLTConfigData::streamContents | ( | ) | const |
names of datasets for all streams
Definition at line 559 of file HLTConfigData.cc.
References streamContents_.
Referenced by HLTConfigProvider::streamContents().
unsigned int HLTConfigData::streamIndex | ( | const std::string & | stream | ) | const |
index of stream with name
Definition at line 550 of file HLTConfigData.cc.
References cms::cuda::stream, streamIndex_, and streamNames_.
Referenced by streamContent(), and HLTConfigProvider::streamIndex().
const std::string & HLTConfigData::streamName | ( | unsigned int | stream | ) | const |
name of stream with index i
Definition at line 548 of file HLTConfigData.cc.
References cms::cuda::stream, and streamNames_.
Referenced by HLTConfigProvider::streamName().
const std::vector< std::string > & HLTConfigData::streamNames | ( | ) | const |
Streams.
Streams list of names of all streams
Definition at line 546 of file HLTConfigData.cc.
References streamNames_.
Referenced by HLTConfigProvider::streamNames().
const std::string & HLTConfigData::tableName | ( | ) | const |
HLT ConfDB table name.
Definition at line 435 of file HLTConfigData.cc.
References tableName_.
Referenced by HLTConfigProvider::tableName().
unsigned int HLTConfigData::triggerIndex | ( | const std::string & | triggerName | ) | const |
slot position of trigger path in trigger table (0 - size-1)
Definition at line 438 of file HLTConfigData.cc.
References size(), and triggerIndex_.
Referenced by hltL1GTSeeds(), hltL1TSeeds(), moduleIndex(), moduleLabel(), moduleLabels(), saveTagsModules(), size(), and HLTConfigProvider::triggerIndex().
const std::string & HLTConfigData::triggerName | ( | unsigned int | triggerIndex | ) | const |
Definition at line 437 of file HLTConfigData.cc.
References triggerNames_.
Referenced by HLTConfigProvider::triggerName(), and HLTConfigDataEx::triggerName().
const std::vector< std::string > & HLTConfigData::triggerNames | ( | ) | const |
names of trigger paths
Definition at line 436 of file HLTConfigData.cc.
References triggerNames_.
Referenced by HLTConfigProvider::triggerNames(), and HLTConfigDataEx::triggerNames().
|
private |
Definition at line 171 of file HLTConfigData.h.
Referenced by datasetContent(), datasetContents(), dump(), and extract().
|
private |
Definition at line 170 of file HLTConfigData.h.
Referenced by datasetIndex(), and extract().
|
private |
Definition at line 169 of file HLTConfigData.h.
Referenced by datasetIndex(), datasetName(), datasetNames(), dump(), and extract().
|
private |
Definition at line 152 of file HLTConfigData.h.
Referenced by dump(), extract(), and globalTag().
|
private |
Definition at line 162 of file HLTConfigData.h.
Referenced by dump(), extract(), and hltL1GTSeeds().
|
private |
Definition at line 163 of file HLTConfigData.h.
Referenced by dump(), extract(), and hltL1TSeeds().
|
private |
Definition at line 173 of file HLTConfigData.h.
Referenced by dump(), extract(), prescaleLabels(), prescaleSize(), prescaleTable(), and prescaleValue().
|
private |
Definition at line 161 of file HLTConfigData.h.
|
private |
Definition at line 159 of file HLTConfigData.h.
Referenced by extract(), and moduleIndex().
|
private |
Definition at line 155 of file HLTConfigData.h.
Referenced by dump(), extract(), moduleLabel(), moduleLabels(), and size().
|
private |
Definition at line 151 of file HLTConfigData.h.
Referenced by dump(), extract(), and processName().
|
private |
Definition at line 149 of file HLTConfigData.h.
Referenced by dump(), extract(), HLTConfigData(), id(), modulePSet(), and processPSet().
|
private |
Definition at line 156 of file HLTConfigData.h.
Referenced by extract(), and saveTagsModules().
|
private |
Definition at line 167 of file HLTConfigData.h.
Referenced by dump(), extract(), streamContent(), and streamContents().
|
private |
Definition at line 166 of file HLTConfigData.h.
Referenced by extract(), and streamIndex().
|
private |
Definition at line 165 of file HLTConfigData.h.
Referenced by dump(), extract(), streamIndex(), streamName(), and streamNames().
|
private |
Definition at line 153 of file HLTConfigData.h.
Referenced by dump(), extract(), and tableName().
|
private |
Definition at line 158 of file HLTConfigData.h.
Referenced by extract(), and triggerIndex().
|
private |
Definition at line 154 of file HLTConfigData.h.
Referenced by dump(), extract(), size(), triggerName(), and triggerNames().