#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... | |
edm::ParameterSetID | id () const |
technical: id() function needed for use with ThreadSafeRegistry 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_ |
trigger::HLTPrescaleTable | hltPrescaleTable_ |
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 508 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 512 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 504 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 495 of file HLTConfigData.cc.
References datasetIndex_, datasetNames_, and cmsHarvester::index.
Referenced by datasetContent(), and HLTConfigProvider::datasetIndex().
const std::string & HLTConfigData::datasetName | ( | unsigned int | dataset | ) | const |
name of dataset with index i
Definition at line 491 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 487 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 232 of file HLTConfigData.cc.
References gather_cfg::cout, datasetContents_, datasetNames_, globalTag_, hltL1GTSeeds_, hltPrescaleTable_, i, j, diffTwoXMLs::label, trigger::HLTPrescaleTable::labels(), HLT_25ns14e33_v1_cff::labels, visualization-live-secondInstance_cfg::m, python.multivaluedict::map(), moduleEDMType(), moduleLabels_, moduleType(), gen::n, processName_, processPSet_, saveTags(), trigger::HLTPrescaleTable::size(), size(), streamContents_, streamNames_, table, trigger::HLTPrescaleTable::table(), tableName_, o2o::tags, 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_, RecoTau_DiTaus_pt_20-420_cfg::datasets, end, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), globalTag_, hltL1GTSeeds_, hltPrescaleTable_, i, j, diffTwoXMLs::label, HLT_25ns14e33_v1_cff::labels, visualization-live-secondInstance_cfg::m, moduleIndex_, moduleLabels(), moduleLabels_, modulePSet(), edmConvertToStreamModule::modules, moduleType(), gen::n, processName_, processPSet_, saveTags(), saveTagsModules_, size(), python.multivaluedict::sort(), streamContents_, streamIndex_, streamNames_, hcal_dqm_sourceclient-file_cfg::streams, AlCaHLTBitMon_QueryRunRegistry::string, table, tableName_, triggerIndex_, and triggerNames_.
Referenced by BeautifulSoup.PageElement::_invert(), BeautifulSoup.Tag::decompose(), and HLTConfigData().
const std::string& HLTConfigData::globalTag | ( | ) | const |
GlobalTag.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 444 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 448 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 452 of file HLTConfigData.cc.
References hltL1GTSeeds_.
edm::ParameterSetID HLTConfigData::id | ( | void | ) | const |
technical: id() function needed for use with ThreadSafeRegistry
Definition at line 531 of file HLTConfigData.cc.
References edm::ParameterSet::id(), and processPSet_.
Referenced by HLTConfigProvider::init().
const std::string HLTConfigData::moduleEDMType | ( | const std::string & | module | ) | const |
C++ base class name of module.
Definition at line 414 of file HLTConfigData.cc.
References edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), modulePSet(), 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 393 of file HLTConfigData.cc.
References cmsHarvester::index, 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 401 of file HLTConfigData.cc.
References moduleIndex(), and triggerIndex().
const std::string & HLTConfigData::moduleLabel | ( | unsigned int | trigger, |
unsigned int | module | ||
) | const |
Definition at line 386 of file HLTConfigData.cc.
References moduleLabels_.
Referenced by HLTConfigProvider::moduleLabel(), and HLTConfigDataEx::moduleLabel().
const std::string & HLTConfigData::moduleLabel | ( | const std::string & | trigger, |
unsigned int | module | ||
) | const |
Definition at line 389 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 372 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 375 of file HLTConfigData.cc.
References moduleLabels_, and triggerIndex().
const edm::ParameterSet & HLTConfigData::modulePSet | ( | const std::string & | module | ) | const |
ParameterSet of module.
Definition at line 427 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 405 of file HLTConfigData.cc.
References edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), modulePSet(), 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 524 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 517 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 527 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 520 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 340 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 423 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 435 of file HLTConfigData.cc.
References edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), and modulePSet().
Referenced by dump(), extract(), and HLTConfigProvider::saveTags().
const std::vector< std::string > & HLTConfigData::saveTagsModules | ( | unsigned int | trigger | ) | const |
Definition at line 379 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 382 of file HLTConfigData.cc.
References saveTagsModules_, and triggerIndex().
unsigned int HLTConfigData::size | ( | void | ) | const |
number of trigger paths in trigger table
Definition at line 344 of file HLTConfigData.cc.
References triggerNames_.
Referenced by dump(), extract(), HLTConfigDataEx::HLTConfigDataEx(), moduleIndex(), size(), HLTConfigProvider::size(), HLTConfigDataEx::size(), and triggerIndex().
unsigned int HLTConfigData::size | ( | unsigned int | trigger | ) | const |
number of modules on a specific trigger path
Definition at line 347 of file HLTConfigData.cc.
References moduleLabels_.
unsigned int HLTConfigData::size | ( | const std::string & | trigger | ) | const |
Definition at line 350 of file HLTConfigData.cc.
References size(), and triggerIndex().
const std::vector< std::string > & HLTConfigData::streamContent | ( | unsigned int | stream | ) | const |
names of datasets in stream with index i
Definition at line 478 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 482 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 474 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 465 of file HLTConfigData.cc.
References cmsHarvester::index, 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 461 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 457 of file HLTConfigData.cc.
References streamNames_.
Referenced by HLTConfigProvider::streamNames().
const std::string & HLTConfigData::tableName | ( | ) | const |
HLT ConfDB table name.
Definition at line 354 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 363 of file HLTConfigData.cc.
References cmsHarvester::index, size(), and triggerIndex_.
Referenced by hltL1GTSeeds(), moduleIndex(), moduleLabel(), moduleLabels(), saveTagsModules(), size(), and HLTConfigProvider::triggerIndex().
const std::string & HLTConfigData::triggerName | ( | unsigned int | triggerIndex | ) | const |
Definition at line 360 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 357 of file HLTConfigData.cc.
References triggerNames_.
Referenced by HLTConfigProvider::triggerNames(), and HLTConfigDataEx::triggerNames().
|
private |
Definition at line 164 of file HLTConfigData.h.
Referenced by datasetContent(), datasetContents(), dump(), and extract().
|
private |
Definition at line 163 of file HLTConfigData.h.
Referenced by datasetIndex(), and extract().
|
private |
Definition at line 162 of file HLTConfigData.h.
Referenced by datasetIndex(), datasetName(), datasetNames(), dump(), and extract().
|
private |
Definition at line 147 of file HLTConfigData.h.
|
private |
Definition at line 156 of file HLTConfigData.h.
Referenced by dump(), extract(), and hltL1GTSeeds().
|
private |
Definition at line 166 of file HLTConfigData.h.
Referenced by dump(), extract(), prescaleLabels(), prescaleSize(), prescaleTable(), and prescaleValue().
|
private |
Definition at line 154 of file HLTConfigData.h.
Referenced by extract(), and moduleIndex().
|
private |
Definition at line 150 of file HLTConfigData.h.
Referenced by dump(), extract(), moduleLabel(), moduleLabels(), and size().
|
private |
Definition at line 146 of file HLTConfigData.h.
Referenced by dump(), extract(), and processName().
|
private |
Definition at line 144 of file HLTConfigData.h.
Referenced by dump(), extract(), HLTConfigData(), id(), modulePSet(), and processPSet().
|
private |
Definition at line 151 of file HLTConfigData.h.
Referenced by extract(), and saveTagsModules().
|
private |
Definition at line 160 of file HLTConfigData.h.
Referenced by dump(), extract(), streamContent(), and streamContents().
|
private |
Definition at line 159 of file HLTConfigData.h.
Referenced by extract(), and streamIndex().
|
private |
Definition at line 158 of file HLTConfigData.h.
Referenced by dump(), extract(), streamIndex(), streamName(), and streamNames().
|
private |
Definition at line 148 of file HLTConfigData.h.
Referenced by dump(), extract(), and tableName().
|
private |
Definition at line 153 of file HLTConfigData.h.
Referenced by extract(), and triggerIndex().
|
private |
Definition at line 149 of file HLTConfigData.h.
Referenced by dump(), extract(), size(), triggerName(), and triggerNames().