CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
HLTConfigData Class Reference

#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::ParameterSetmodulePSet (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::ParameterSetprocessPSet () 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::ParameterSetprocessPSet_
 
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_
 

Detailed Description

This class provides access routines to get hold of the HLT Configuration

Author
Martin Grunewald

See header file for documentation

Author
Martin Grunewald

Definition at line 25 of file HLTConfigData.h.

Constructor & Destructor Documentation

HLTConfigData::HLTConfigData ( )

Definition at line 30 of file HLTConfigData.cc.

HLTConfigData::HLTConfigData ( const edm::ParameterSet iID)

Definition at line 45 of file HLTConfigData.cc.

Member Function Documentation

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.

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.

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.

unsigned int HLTConfigData::datasetIndex ( const std::string &  dataset) const

index of dataset with name

Definition at line 589 of file HLTConfigData.cc.

const std::string & HLTConfigData::datasetName ( unsigned int  dataset) const

name of dataset with index i

Definition at line 585 of file HLTConfigData.cc.

const std::vector< std::string > & HLTConfigData::datasetNames ( ) const

Datasets.

Datasets list of names of all datasets

Definition at line 581 of file HLTConfigData.cc.

void HLTConfigData::dump ( const std::string &  what) const

Dumping config info to cout.

Definition at line 289 of file HLTConfigData.cc.

void HLTConfigData::extract ( )
private

extract information into data members - called by init() methods

Definition at line 60 of file HLTConfigData.cc.

const std::string & HLTConfigData::globalTag ( ) const

GlobalTag.globaltag.

Definition at line 414 of file HLTConfigData.cc.

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.

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.

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.

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.

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.

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.

edm::ParameterSetID HLTConfigData::id ( void  ) const

technical: id() function needed for use with ThreadSafeRegistry

Definition at line 625 of file HLTConfigData.cc.

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.

const std::string HLTConfigData::moduleEDMType ( const std::string &  module) const

C++ base class name of module.

Definition at line 488 of file HLTConfigData.cc.

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.

unsigned int HLTConfigData::moduleIndex ( const std::string &  trigger,
const std::string &  module 
) const

Definition at line 475 of file HLTConfigData.cc.

const std::string & HLTConfigData::moduleLabel ( unsigned int  trigger,
unsigned int  module 
) const

Definition at line 460 of file HLTConfigData.cc.

const std::string & HLTConfigData::moduleLabel ( const std::string &  trigger,
unsigned int  module 
) const

Definition at line 463 of file HLTConfigData.cc.

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.

const std::vector< std::string > & HLTConfigData::moduleLabels ( const std::string &  trigger) const

Definition at line 449 of file HLTConfigData.cc.

const edm::ParameterSet & HLTConfigData::modulePSet ( const std::string &  module) const

ParameterSet of module.

Definition at line 501 of file HLTConfigData.cc.

const std::string HLTConfigData::moduleType ( const std::string &  module) const

C++ class name of module.

Definition at line 479 of file HLTConfigData.cc.

const std::vector< std::string > & HLTConfigData::prescaleLabels ( ) const

low-level data member access

Definition at line 618 of file HLTConfigData.cc.

unsigned int HLTConfigData::prescaleSize ( ) const

HLT prescale info Number of HLT prescale sets

Definition at line 611 of file HLTConfigData.cc.

const std::map< std::string, std::vector< unsigned int > > & HLTConfigData::prescaleTable ( ) const

Definition at line 621 of file HLTConfigData.cc.

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.

const std::string & HLTConfigData::processName ( ) const

Accessors (const methods)

process name

Definition at line 410 of file HLTConfigData.cc.

const edm::ParameterSet & HLTConfigData::processPSet ( ) const

ParameterSet of process.

Definition at line 497 of file HLTConfigData.cc.

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.

const std::vector< std::string > & HLTConfigData::saveTagsModules ( unsigned int  trigger) const

Definition at line 453 of file HLTConfigData.cc.

const std::vector< std::string > & HLTConfigData::saveTagsModules ( const std::string &  trigger) const

Definition at line 456 of file HLTConfigData.cc.

unsigned int HLTConfigData::size ( void  ) const

number of trigger paths in trigger table

Definition at line 418 of file HLTConfigData.cc.

unsigned int HLTConfigData::size ( unsigned int  trigger) const

number of modules on a specific trigger path

Definition at line 421 of file HLTConfigData.cc.

unsigned int HLTConfigData::size ( const std::string &  trigger) const

Definition at line 424 of file HLTConfigData.cc.

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.

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.

const std::vector< std::vector< std::string > > & HLTConfigData::streamContents ( ) const

names of datasets for all streams

Definition at line 568 of file HLTConfigData.cc.

unsigned int HLTConfigData::streamIndex ( const std::string &  stream) const

index of stream with name

Definition at line 559 of file HLTConfigData.cc.

const std::string & HLTConfigData::streamName ( unsigned int  stream) const

name of stream with index i

Definition at line 555 of file HLTConfigData.cc.

const std::vector< std::string > & HLTConfigData::streamNames ( ) const

Streams.

Streams list of names of all streams

Definition at line 551 of file HLTConfigData.cc.

const std::string & HLTConfigData::tableName ( ) const

HLT ConfDB table name.

Definition at line 428 of file HLTConfigData.cc.

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.

const std::string & HLTConfigData::triggerName ( unsigned int  triggerIndex) const

Definition at line 434 of file HLTConfigData.cc.

const std::vector< std::string > & HLTConfigData::triggerNames ( ) const

names of trigger paths

Definition at line 431 of file HLTConfigData.cc.

Member Data Documentation

std::vector<std::vector<std::string> > HLTConfigData::datasetContents_
private

Definition at line 178 of file HLTConfigData.h.

std::map<std::string,unsigned int> HLTConfigData::datasetIndex_
private

Definition at line 177 of file HLTConfigData.h.

std::vector<std::string> HLTConfigData::datasetNames_
private

Definition at line 176 of file HLTConfigData.h.

std::string HLTConfigData::globalTag_
private

Definition at line 159 of file HLTConfigData.h.

std::vector<std::vector<std::pair<bool,std::string> > > HLTConfigData::hltL1GTSeeds_
private

Definition at line 169 of file HLTConfigData.h.

std::vector<std::vector<std::string> > HLTConfigData::hltL1TSeeds_
private

Definition at line 170 of file HLTConfigData.h.

trigger::HLTPrescaleTable HLTConfigData::hltPrescaleTable_
private

Definition at line 180 of file HLTConfigData.h.

unsigned int HLTConfigData::l1tType_
private

Definition at line 168 of file HLTConfigData.h.

std::vector<std::map<std::string,unsigned int> > HLTConfigData::moduleIndex_
private

Definition at line 166 of file HLTConfigData.h.

std::vector<std::vector<std::string> > HLTConfigData::moduleLabels_
private

Definition at line 162 of file HLTConfigData.h.

std::string HLTConfigData::processName_
private

Definition at line 158 of file HLTConfigData.h.

const edm::ParameterSet* HLTConfigData::processPSet_
private

Definition at line 156 of file HLTConfigData.h.

std::vector<std::vector<std::string> > HLTConfigData::saveTagsModules_
private

Definition at line 163 of file HLTConfigData.h.

std::vector<std::vector<std::string> > HLTConfigData::streamContents_
private

Definition at line 174 of file HLTConfigData.h.

std::map<std::string,unsigned int> HLTConfigData::streamIndex_
private

Definition at line 173 of file HLTConfigData.h.

std::vector<std::string> HLTConfigData::streamNames_
private

Definition at line 172 of file HLTConfigData.h.

std::string HLTConfigData::tableName_
private

Definition at line 160 of file HLTConfigData.h.

std::map<std::string,unsigned int> HLTConfigData::triggerIndex_
private

Definition at line 165 of file HLTConfigData.h.

std::vector<std::string> HLTConfigData::triggerNames_
private

Definition at line 161 of file HLTConfigData.h.