#include <HLTConfigData.h>
Public Member Functions | |
const std::vector< std::string > & | datasetContent (unsigned int dataset) const |
names of trigger paths in dataset with index i More... | |
const std::vector< std::string > & | datasetContent (const std::string &dataset) const |
names of trigger paths in dataset with name 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 (unsigned int trigger, const std::string &module) const |
slot position of module on trigger path (0 - size-1) More... | |
unsigned int | moduleIndex (const std::string &trigger, const std::string &module) const |
const std::string & | moduleLabel (unsigned int trigger, unsigned int module) const |
const std::string & | moduleLabel (const std::string &trigger, unsigned int module) const |
const std::vector< std::string > & | moduleLabels (unsigned int trigger) const |
label(s) of module(s) on a trigger path More... | |
const std::vector< std::string > & | moduleLabels (const std::string &trigger) const |
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 (unsigned int trigger) const |
const std::vector< std::string > & | saveTagsModules (const std::string &trigger) const |
unsigned int | size () const |
number of trigger paths in trigger table More... | |
unsigned int | size (unsigned int trigger) const |
number of modules on a specific trigger path More... | |
unsigned int | size (const std::string &trigger) const |
const std::vector< std::string > & | streamContent (unsigned int stream) const |
names of datasets in stream with index i More... | |
const std::vector< std::string > & | streamContent (const std::string &stream) const |
names of datasets in stream with name 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 30 of file HLTConfigData.cc.
References extract(), edm::ParameterSet::id(), edm::Hash< I >::isValid(), and processPSet_.
HLTConfigData::HLTConfigData | ( | const edm::ParameterSet * | iID | ) |
Definition at line 45 of file HLTConfigData.cc.
References extract(), edm::ParameterSet::id(), edm::Hash< I >::isValid(), and processPSet_.
const std::vector< std::string > & HLTConfigData::datasetContent | ( | unsigned int | dataset | ) | const |
names of trigger paths in dataset with index i
Definition at line 602 of file HLTConfigData.cc.
References datasetContents_.
Referenced by datasetContent(), and HLTConfigProvider::datasetContent().
const std::vector< std::string > & HLTConfigData::datasetContent | ( | const std::string & | dataset | ) | const |
names of trigger paths in dataset with name
Definition at line 606 of file HLTConfigData.cc.
References datasetContent(), and datasetIndex().
const std::vector< std::vector< std::string > > & HLTConfigData::datasetContents | ( | ) | const |
names of trigger paths for all datasets
Definition at line 598 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 589 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 585 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 581 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 289 of file HLTConfigData.cc.
References gather_cfg::cout, datasetContents_, datasetNames_, globalTag_, hltL1GTSeeds_, hltL1TSeeds_, hltPrescaleTable_, mps_fire::i, label, tablePrinter::labels, trigger::HLTPrescaleTable::labels(), funct::m, genParticles_cff::map, moduleEDMType(), moduleLabels_, moduleType(), gen::n, processName_, processPSet_, saveTags(), trigger::HLTPrescaleTable::size(), size(), streamContents_, streamNames_, trigger::HLTPrescaleTable::table(), tableName_, and triggerNames_.
Referenced by HLTConfigProvider::dump().
|
private |
extract information into data members - called by init() methods
Definition at line 60 of file HLTConfigData.cc.
References begin, datasetContents_, datasetIndex_, datasetNames_, edmIntegrityCheck::datasets, end, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), globalTag_, hltL1GTSeeds_, hltL1TSeeds_, hltPrescaleTable_, mps_fire::i, l1tType_, label, edm::InputTag::label(), tablePrinter::labels, funct::m, moduleIndex_, moduleLabels(), moduleLabels_, modulePSet(), electrons_cff::modules, moduleType(), gen::n, or, processName_, processPSet_, muonDTDigis_cfi::pset, saveTags(), saveTagsModules_, size(), streamContents_, streamIndex_, streamNames_, AlCaHLTBitMon_QueryRunRegistry::string, tableName_, triggerIndex_, and triggerNames_.
Referenced by HLTConfigData().
const std::string & HLTConfigData::globalTag | ( | ) | const |
GlobalTag.globaltag.
Definition at line 414 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 526 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 530 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 534 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 538 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 542 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 546 of file HLTConfigData.cc.
References hltL1TSeeds_.
edm::ParameterSetID HLTConfigData::id | ( | void | ) | const |
technical: id() function needed for use with ThreadSafeRegistry
Definition at line 625 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 522 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 488 of file HLTConfigData.cc.
References edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), modulePSet(), muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dump(), and HLTConfigProvider::moduleEDMType().
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 467 of file HLTConfigData.cc.
References moduleIndex_, and size().
Referenced by moduleIndex(), and HLTConfigProvider::moduleIndex().
unsigned int HLTConfigData::moduleIndex | ( | const std::string & | trigger, |
const std::string & | module | ||
) | const |
Definition at line 475 of file HLTConfigData.cc.
References moduleIndex(), and triggerIndex().
const std::string & HLTConfigData::moduleLabel | ( | unsigned int | trigger, |
unsigned int | module | ||
) | const |
Definition at line 460 of file HLTConfigData.cc.
References moduleLabels_.
Referenced by HLTConfigProvider::moduleLabel().
const std::string & HLTConfigData::moduleLabel | ( | const std::string & | trigger, |
unsigned int | module | ||
) | const |
Definition at line 463 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 446 of file HLTConfigData.cc.
References moduleLabels_.
Referenced by extract(), and HLTConfigProvider::moduleLabels().
const std::vector< std::string > & HLTConfigData::moduleLabels | ( | const std::string & | trigger | ) | const |
Definition at line 449 of file HLTConfigData.cc.
References moduleLabels_, and triggerIndex().
const edm::ParameterSet & HLTConfigData::modulePSet | ( | const std::string & | module | ) | const |
ParameterSet of module.
Definition at line 501 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 479 of file HLTConfigData.cc.
References edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), modulePSet(), muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dump(), extract(), and HLTConfigProvider::moduleType().
const std::vector< std::string > & HLTConfigData::prescaleLabels | ( | ) | const |
low-level data member access
Definition at line 618 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 611 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 621 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 614 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 410 of file HLTConfigData.cc.
References processName_.
Referenced by HLTConfigProvider::processName().
const edm::ParameterSet & HLTConfigData::processPSet | ( | ) | const |
ParameterSet of process.
Definition at line 497 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 513 of file HLTConfigData.cc.
References edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), modulePSet(), and muonDTDigis_cfi::pset.
Referenced by dump(), extract(), and HLTConfigProvider::saveTags().
const std::vector< std::string > & HLTConfigData::saveTagsModules | ( | unsigned int | trigger | ) | const |
Definition at line 453 of file HLTConfigData.cc.
References saveTagsModules_.
Referenced by HLTConfigProvider::saveTagsModules().
const std::vector< std::string > & HLTConfigData::saveTagsModules | ( | const std::string & | trigger | ) | const |
Definition at line 456 of file HLTConfigData.cc.
References saveTagsModules_, and triggerIndex().
unsigned int HLTConfigData::size | ( | void | ) | const |
number of trigger paths in trigger table
Definition at line 418 of file HLTConfigData.cc.
References triggerNames_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), dump(), extract(), moduleIndex(), size(), HLTConfigProvider::size(), and triggerIndex().
unsigned int HLTConfigData::size | ( | unsigned int | trigger | ) | const |
number of modules on a specific trigger path
Definition at line 421 of file HLTConfigData.cc.
References moduleLabels_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
unsigned int HLTConfigData::size | ( | const std::string & | trigger | ) | const |
Definition at line 424 of file HLTConfigData.cc.
References size(), and triggerIndex().
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
const std::vector< std::string > & HLTConfigData::streamContent | ( | unsigned int | stream | ) | const |
names of datasets in stream with index i
Definition at line 572 of file HLTConfigData.cc.
References streamContents_.
Referenced by streamContent(), and HLTConfigProvider::streamContent().
const std::vector< std::string > & HLTConfigData::streamContent | ( | const std::string & | stream | ) | const |
names of datasets in stream with name
Definition at line 576 of file HLTConfigData.cc.
References streamContent(), and streamIndex().
const std::vector< std::vector< std::string > > & HLTConfigData::streamContents | ( | ) | const |
names of datasets for all streams
Definition at line 568 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 559 of file HLTConfigData.cc.
References 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 555 of file HLTConfigData.cc.
References streamNames_.
Referenced by HLTConfigProvider::streamName().
const std::vector< std::string > & HLTConfigData::streamNames | ( | ) | const |
Streams.
Streams list of names of all streams
Definition at line 551 of file HLTConfigData.cc.
References streamNames_.
Referenced by HLTConfigProvider::streamNames().
const std::string & HLTConfigData::tableName | ( | ) | const |
HLT ConfDB table name.
Definition at line 428 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 437 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 434 of file HLTConfigData.cc.
References triggerNames_.
Referenced by HLTConfigProvider::triggerName().
const std::vector< std::string > & HLTConfigData::triggerNames | ( | ) | const |
names of trigger paths
Definition at line 431 of file HLTConfigData.cc.
References triggerNames_.
Referenced by HLTConfigProvider::triggerNames().
|
private |
Definition at line 178 of file HLTConfigData.h.
Referenced by datasetContent(), datasetContents(), dump(), and extract().
|
private |
Definition at line 177 of file HLTConfigData.h.
Referenced by datasetIndex(), and extract().
|
private |
Definition at line 176 of file HLTConfigData.h.
Referenced by datasetIndex(), datasetName(), datasetNames(), dump(), and extract().
|
private |
Definition at line 159 of file HLTConfigData.h.
Referenced by dump(), extract(), and globalTag().
|
private |
Definition at line 169 of file HLTConfigData.h.
Referenced by dump(), extract(), and hltL1GTSeeds().
|
private |
Definition at line 170 of file HLTConfigData.h.
Referenced by dump(), extract(), and hltL1TSeeds().
|
private |
Definition at line 180 of file HLTConfigData.h.
Referenced by dump(), extract(), prescaleLabels(), prescaleSize(), prescaleTable(), and prescaleValue().
|
private |
Definition at line 168 of file HLTConfigData.h.
|
private |
Definition at line 166 of file HLTConfigData.h.
Referenced by extract(), and moduleIndex().
|
private |
Definition at line 162 of file HLTConfigData.h.
Referenced by dump(), extract(), moduleLabel(), moduleLabels(), and size().
|
private |
Definition at line 158 of file HLTConfigData.h.
Referenced by dump(), extract(), and processName().
|
private |
Definition at line 156 of file HLTConfigData.h.
Referenced by dump(), extract(), HLTConfigData(), id(), modulePSet(), and processPSet().
|
private |
Definition at line 163 of file HLTConfigData.h.
Referenced by extract(), and saveTagsModules().
|
private |
Definition at line 174 of file HLTConfigData.h.
Referenced by dump(), extract(), streamContent(), and streamContents().
|
private |
Definition at line 173 of file HLTConfigData.h.
Referenced by extract(), and streamIndex().
|
private |
Definition at line 172 of file HLTConfigData.h.
Referenced by dump(), extract(), streamIndex(), streamName(), and streamNames().
|
private |
Definition at line 160 of file HLTConfigData.h.
Referenced by dump(), extract(), and tableName().
|
private |
Definition at line 165 of file HLTConfigData.h.
Referenced by extract(), and triggerIndex().
|
private |
Definition at line 161 of file HLTConfigData.h.
Referenced by dump(), extract(), size(), triggerName(), and triggerNames().