CMS 3D CMS Logo

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 (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::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 (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::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() [1/2]

HLTConfigData::HLTConfigData ( )

Definition at line 29 of file HLTConfigData.cc.

31  processName_(""),
32  globalTag_(""),
33  tableName_(),
34  triggerNames_(),
35  moduleLabels_(),
37  triggerIndex_(),
38  moduleIndex_(),
39  l1tType_(0),
40  hltL1GTSeeds_(),
41  hltL1TSeeds_(),
42  streamNames_(),
43  streamIndex_(),
45  datasetNames_(),
46  datasetIndex_(),
49  if (processPSet_->id().isValid()) {
50  extract();
51  }
52 }

References extract(), edm::ParameterSet::id(), edm::Hash< I >::isValid(), and processPSet_.

◆ HLTConfigData() [2/2]

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

Definition at line 54 of file HLTConfigData.cc.

55  : processPSet_(iPSet),
56  processName_(""),
57  globalTag_(""),
58  tableName_(),
59  triggerNames_(),
60  moduleLabels_(),
62  triggerIndex_(),
63  moduleIndex_(),
64  l1tType_(0),
65  hltL1GTSeeds_(),
66  hltL1TSeeds_(),
67  streamNames_(),
68  streamIndex_(),
70  datasetNames_(),
71  datasetIndex_(),
74  if (processPSet_->id().isValid()) {
75  extract();
76  }
77 }

References extract(), edm::ParameterSet::id(), edm::Hash< I >::isValid(), and processPSet_.

Member Function Documentation

◆ datasetContent() [1/2]

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.

589  {
591 }

References datasetContent(), and datasetIndex().

◆ datasetContent() [2/2]

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.

585  {
586  return datasetContents_.at(dataset);
587 }

References datasetContents_.

Referenced by datasetContent(), and HLTConfigProvider::datasetContent().

◆ datasetContents()

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.

583 { return datasetContents_; }

References datasetContents_.

Referenced by HLTConfigProvider::datasetContents().

◆ datasetIndex()

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

index of dataset with name

Definition at line 574 of file HLTConfigData.cc.

574  {
575  const std::map<std::string, unsigned int>::const_iterator index(datasetIndex_.find(dataset));
576  if (index == datasetIndex_.end()) {
577  return datasetNames_.size();
578  } else {
579  return index->second;
580  }
581 }

References datasetIndex_, and datasetNames_.

Referenced by datasetContent(), and HLTConfigProvider::datasetIndex().

◆ datasetName()

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

name of dataset with index i

Definition at line 572 of file HLTConfigData.cc.

572 { return datasetNames_.at(dataset); }

References datasetNames_.

Referenced by HLTConfigProvider::datasetName().

◆ datasetNames()

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

Datasets.

Datasets list of names of all datasets

Definition at line 570 of file HLTConfigData.cc.

570 { return datasetNames_; }

References datasetNames_.

Referenced by HLTConfigProvider::datasetNames().

◆ dump()

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

Dumping config info to cout.

Definition at line 304 of file HLTConfigData.cc.

304  {
305  using namespace std;
306  using namespace edm;
307 
308  if (what == "ProcessPSet") {
309  cout << "HLTConfigData::dump: ProcessPSet = " << endl << *processPSet_ << endl;
310  } else if (what == "ProcessName") {
311  cout << "HLTConfigData::dump: ProcessName = " << processName_ << endl;
312  } else if (what == "GlobalTag") {
313  cout << "HLTConfigData::dump: GlobalTag = " << globalTag_ << endl;
314  } else if (what == "TableName") {
315  cout << "HLTConfigData::dump: TableName = " << tableName_ << endl;
316  } else if (what == "Triggers") {
317  const unsigned int n(size());
318  cout << "HLTConfigData::dump: Triggers: " << n << endl;
319  for (unsigned int i = 0; i != n; ++i) {
320  cout << " " << i << " " << triggerNames_[i] << endl;
321  }
322  } else if (what == "TriggerSeeds") {
323  const unsigned int n(size());
324  cout << "HLTConfigData::dump: TriggerSeeds: " << n << endl;
325  for (unsigned int i = 0; i != n; ++i) {
326  const unsigned int m1(hltL1GTSeeds_[i].size());
327  const unsigned int m2(hltL1TSeeds_[i].size());
328  cout << " " << i << " " << triggerNames_[i] << " " << m1 << "/" << m2 << endl;
329  if (m1 > 0) {
330  for (unsigned int j1 = 0; j1 != m1; ++j1) {
331  cout << " HLTLevel1GTSeed: " << j1 << " " << hltL1GTSeeds_[i][j1].first << "/"
332  << hltL1GTSeeds_[i][j1].second;
333  }
334  cout << endl;
335  }
336  if (m2 > 0) {
337  for (unsigned int j2 = 0; j2 != m2; ++j2) {
338  cout << " HLTL1TSeed: " << j2 << " " << hltL1TSeeds_[i][j2];
339  }
340  cout << endl;
341  }
342  }
343  } else if (what == "Modules") {
344  const unsigned int n(size());
345  cout << "HLTConfigData::dump Triggers and Modules: " << n << endl;
346  for (unsigned int i = 0; i != n; ++i) {
347  const unsigned int m(size(i));
348  cout << i << " " << triggerNames_[i] << " " << m << endl;
349  cout << " - Modules: ";
350  unsigned int nHLTPrescalers(0);
351  unsigned int nHLTLevel1GTSeed(0);
352  unsigned int nHLTL1TSeed(0);
353  for (unsigned int j = 0; j != m; ++j) {
354  const string& label(moduleLabels_[i][j]);
355  const string type(moduleType(label));
356  const string edmtype(moduleEDMType(label));
357  const bool tags(saveTags(label));
358  cout << " " << j << ":" << label << "/" << type << "/" << edmtype << "/" << tags;
359  if (type == "HLTPrescaler")
360  nHLTPrescalers++;
361  if (type == "HLTLevel1GTSeed")
362  nHLTLevel1GTSeed++;
363  if (type == "HLTL1TSeed")
364  nHLTL1TSeed++;
365  }
366  cout << endl;
367  cout << " - Number of HLTPrescaler/HLTLevel1GTSeed/HLTL1TSeed modules: " << nHLTPrescalers << "/"
368  << nHLTLevel1GTSeed << "/" << nHLTL1TSeed << endl;
369  }
370  } else if (what == "StreamNames") {
371  const unsigned int n(streamNames_.size());
372  cout << "HLTConfigData::dump: StreamNames: " << n << endl;
373  for (unsigned int i = 0; i != n; ++i) {
374  cout << " " << i << " " << streamNames_[i] << endl;
375  }
376  } else if (what == "Streams") {
377  const unsigned int n(streamNames_.size());
378  cout << "HLTConfigData::dump: Streams: " << n << endl;
379  for (unsigned int i = 0; i != n; ++i) {
380  const unsigned int m(streamContents_[i].size());
381  cout << " " << i << " " << streamNames_[i] << " " << m << endl;
382  for (unsigned int j = 0; j != m; ++j) {
383  cout << " " << j << " " << streamContents_[i][j] << endl;
384  }
385  }
386  } else if (what == "DatasetNames") {
387  const unsigned int n(datasetNames_.size());
388  cout << "HLTConfigData::dump: DatasetNames: " << n << endl;
389  for (unsigned int i = 0; i != n; ++i) {
390  cout << " " << i << " " << datasetNames_[i] << endl;
391  }
392  } else if (what == "Datasets") {
393  const unsigned int n(datasetNames_.size());
394  cout << "HLTConfigData::dump: Datasets: " << n << endl;
395  for (unsigned int i = 0; i != n; ++i) {
396  const unsigned int m(datasetContents_[i].size());
397  cout << " " << i << " " << datasetNames_[i] << " " << m << endl;
398  for (unsigned int j = 0; j != m; ++j) {
399  cout << " " << j << " " << datasetContents_[i][j] << endl;
400  }
401  }
402  } else if (what == "PrescaleTable") {
403  const unsigned int n(hltPrescaleTable_.size());
404  cout << "HLTConfigData::dump: PrescaleTable: # of sets : " << n << endl;
405  const vector<string>& labels(hltPrescaleTable_.labels());
406  for (unsigned int i = 0; i != n; ++i) {
407  cout << " " << i << "/'" << labels.at(i) << "'";
408  }
409  if (n > 0)
410  cout << endl;
411  const map<string, vector<unsigned int>>& table(hltPrescaleTable_.table());
412  cout << "HLTConfigData::dump: PrescaleTable: # of paths: " << table.size() << endl;
413  const map<string, vector<unsigned int>>::const_iterator tb(table.begin());
414  const map<string, vector<unsigned int>>::const_iterator te(table.end());
415  for (map<string, vector<unsigned int>>::const_iterator ti = tb; ti != te; ++ti) {
416  for (unsigned int i = 0; i != n; ++i) {
417  cout << " " << ti->second.at(i);
418  }
419  cout << " " << ti->first << endl;
420  }
421  } else {
422  cout << "HLTConfigData::dump: Unkown dump request: " << what << endl;
423  }
424  return;
425 }

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, callgraph::m2, 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().

◆ extract()

void HLTConfigData::extract ( )
private

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

Definition at line 79 of file HLTConfigData.cc.

79  {
80  using namespace std;
81  using namespace edm;
82  using namespace trigger;
83 
84  // Extract process name
85  if (processPSet_->existsAs<string>("@process_name", true)) {
86  processName_ = processPSet_->getParameter<string>("@process_name");
87  }
88 
89  // Extract globaltag
90  globalTag_ = "";
91  const ParameterSet* GlobalTagPSet(nullptr);
92  if (processPSet_->exists("GlobalTag")) {
93  GlobalTagPSet = &(processPSet_->getParameterSet("GlobalTag"));
94  } else if (processPSet_->exists("PoolDBESSource@GlobalTag")) {
95  GlobalTagPSet = &(processPSet_->getParameterSet("PoolDBESSource@GlobalTag"));
96  }
97  if (GlobalTagPSet && GlobalTagPSet->existsAs<std::string>("globaltag", true)) {
98  globalTag_ = GlobalTagPSet->getParameter<std::string>("globaltag");
99  }
100 
101  // Obtain PSet containing table name (available only in 2_1_10++ files)
102  if (processPSet_->existsAs<ParameterSet>("HLTConfigVersion", true)) {
103  const ParameterSet& HLTPSet(processPSet_->getParameterSet("HLTConfigVersion"));
104  if (HLTPSet.existsAs<string>("tableName", true)) {
105  tableName_ = HLTPSet.getParameter<string>("tableName");
106  }
107  }
108 
109  // Extract trigger paths (= paths - end_paths)
110  if (processPSet_->existsAs<ParameterSet>("@trigger_paths", true)) {
111  const ParameterSet& HLTPSet(processPSet_->getParameterSet("@trigger_paths"));
112  if (HLTPSet.existsAs<vector<string>>("@trigger_paths", true)) {
113  triggerNames_ = HLTPSet.getParameter<vector<string>>("@trigger_paths");
114  }
115  }
116 
117  // Obtain module labels of all modules on all trigger paths
118  const unsigned int n(size());
119  moduleLabels_.reserve(n);
120  for (unsigned int i = 0; i != n; ++i) {
121  if (processPSet_->existsAs<vector<string>>(triggerNames_[i], true)) {
122  moduleLabels_.push_back(processPSet_->getParameter<vector<string>>(triggerNames_[i]));
123  }
124  }
125  saveTagsModules_.reserve(n);
126  vector<string> labels;
127  for (unsigned int i = 0; i != n; ++i) {
128  labels.clear();
129  const vector<string>& modules(moduleLabels(i));
130  const unsigned int m(modules.size());
131  labels.reserve(m);
132  for (unsigned int j = 0; j != m; ++j) {
133  const string& label(modules[j]);
134  if (saveTags(label))
135  labels.push_back(label);
136  }
137  saveTagsModules_.push_back(labels);
138  }
139 
140  // Fill index maps for fast lookup
141  moduleIndex_.resize(n);
142  for (unsigned int i = 0; i != n; ++i) {
144  moduleIndex_[i].clear();
145  const unsigned int m(size(i));
146  for (unsigned int j = 0; j != m; ++j) {
148  }
149  }
150 
151  // Extract and fill HLTLevel1GTSeed information for each trigger path
152  hltL1GTSeeds_.resize(n);
153  for (unsigned int i = 0; i != n; ++i) {
154  hltL1GTSeeds_[i].clear();
155  const unsigned int m(size(i));
156  for (unsigned int j = 0; j != m; ++j) {
157  const string& label(moduleLabels_[i][j]);
158  //HLTConfigProvider sees ignored modules as "-modname"
159  //if the HLTLevel1GTSeed is ignored in the config, it shouldnt
160  //count to the number of active HLTLevel1GTSeeds so we now check
161  //for the module being ignored
162  if (label.front() != '-' && moduleType(label) == "HLTLevel1GTSeed") {
164  if (pset != ParameterSet()) {
165  const bool l1Tech(pset.getParameter<bool>("L1TechTriggerSeeding"));
166  const string l1Seed(pset.getParameter<string>("L1SeedsLogicalExpression"));
167  hltL1GTSeeds_[i].push_back(pair<bool, string>(l1Tech, l1Seed));
168  }
169  }
170  }
171  }
172 
173  // Extract and fill HLTL1TSeed information for each trigger path
174  hltL1TSeeds_.resize(n);
175  for (unsigned int i = 0; i != n; ++i) {
176  hltL1TSeeds_[i].clear();
177  const unsigned int m(size(i));
178  for (unsigned int j = 0; j != m; ++j) {
179  const string& label(moduleLabels_[i][j]);
180  //HLTConfigProvider sees ignored modules as "-modname"
181  //if the HLTL1TSeed is ignored in the config, it shouldnt
182  //count to the number of active HLTL1TSeeds so we now check
183  //for the module being ignored
184  if (label.front() != '-' && moduleType(label) == "HLTL1TSeed") {
186  if (pset != ParameterSet()) {
187  const string l1Gtag(pset.getParameter<edm::InputTag>("L1GlobalInputTag").label());
188  // Emulator output is used to ignore L1T prescales
189  if (l1Gtag != "hltGtStage2ObjectMap") {
190  const string l1Seed(pset.getParameter<string>("L1SeedsLogicalExpression"));
191  hltL1TSeeds_[i].push_back(l1Seed);
192  }
193  }
194  }
195  }
196  }
197 
198  // Extract and fill streams information
199  if (processPSet_->existsAs<ParameterSet>("streams", true)) {
200  const ParameterSet& streams(processPSet_->getParameterSet("streams"));
201  streamNames_ = streams.getParameterNamesForType<vector<string>>();
202  sort(streamNames_.begin(), streamNames_.end());
203  const unsigned int n(streamNames_.size());
204  streamContents_.resize(n);
205  for (unsigned int i = 0; i != n; ++i) {
207  streamContents_[i] = streams.getParameter<vector<string>>(streamNames_[i]);
208  sort(streamContents_[i].begin(), streamContents_[i].end());
209  }
210  }
211 
212  // Extract and fill datasets information
213  if (processPSet_->existsAs<ParameterSet>("datasets", true)) {
214  const ParameterSet& datasets(processPSet_->getParameterSet("datasets"));
215  datasetNames_ = datasets.getParameterNamesForType<vector<string>>();
216  sort(datasetNames_.begin(), datasetNames_.end());
217  const unsigned int n(datasetNames_.size());
218  datasetContents_.resize(n);
219  for (unsigned int i = 0; i != n; ++i) {
221  datasetContents_[i] = datasets.getParameter<vector<string>>(datasetNames_[i]);
223  }
224  }
225 
226  // Extract and fill Prescale information
227 
228  // Check various possibilities to get the HLT prescale sets:
229  string prescaleName("");
230  const string preS("PrescaleService");
231  const string preT("PrescaleTable");
232  if (processPSet_->existsAs<ParameterSet>(preS, true)) {
233  prescaleName = preS;
234  } else if (processPSet_->existsAs<ParameterSet>(preT, true)) {
235  prescaleName = preT;
236  }
237  if (prescaleName.empty()) {
239  } else {
240  const ParameterSet& iPS(processPSet_->getParameterSet(prescaleName));
241  string defaultLabel("default");
242  if (iPS.existsAs<string>("lvl1DefaultLabel", true)) {
243  defaultLabel = iPS.getParameter<string>("lvl1DefaultLabel");
244  }
245  vector<string> labels;
246  if (iPS.existsAs<vector<string>>("lvl1Labels", true)) {
247  labels = iPS.getParameter<vector<string>>("lvl1Labels");
248  }
249  unsigned int set(0);
250  const unsigned int n(labels.size());
251  for (unsigned int i = 0; i != n; ++i) {
252  if (labels[i] == defaultLabel)
253  set = i;
254  }
255  map<string, vector<unsigned int>> table;
256  if (iPS.existsAs<vector<ParameterSet>>("prescaleTable", true)) {
257  const vector<ParameterSet>& vpTable(iPS.getParameterSetVector("prescaleTable"));
258  const unsigned int m(vpTable.size());
259  for (unsigned int i = 0; i != m; ++i) {
260  table[vpTable[i].getParameter<std::string>("pathName")] =
261  vpTable[i].getParameter<std::vector<unsigned int>>("prescales");
262  }
263  }
264  if (n > 0) {
266  } else {
268  }
269  }
270 
271  // Determine L1T Type (0=unknown, 1=legacy/stage-1 or 2=stage-2)
272  l1tType_ = 0;
273  unsigned int stage1(0), stage2(0);
274  if (processPSet_->existsAs<std::vector<std::string>>("@all_modules")) {
275  const std::vector<std::string>& allModules(processPSet_->getParameter<std::vector<std::string>>("@all_modules"));
276  for (auto const& allModule : allModules) {
277  if ((moduleType(allModule) == "HLTLevel1GTSeed") or (moduleType(allModule) == "L1GlobalTrigger")) {
278  stage1 += 1;
279  } else if ((moduleType(allModule) == "HLTL1TSeed") or (moduleType(allModule) == "L1TGlobalProducer")) {
280  stage2 += 1;
281  }
282  }
283  }
284  if ((stage1 + stage2) == 0) {
285  l1tType_ = 0;
286  // edm::LogError("HLTConfigData") << " Can't identify l1tType: Process '" << processName_ << "' does not contain any identifying instances!";
287  } else if ((stage1 * stage2) != 0) {
288  l1tType_ = 0;
289  // edm::LogError("HLTConfigData") << " Can't identify l1tType: Process '" << processName_ << "' contains both legacy/stage-1/stage-2 instances!";
290  } else if (stage1 > 0) {
291  l1tType_ = 1;
292  // edm::LogError("HLTConfigData") << " Identified Process '" << processName_ << "' as legacy/stage-1 L1T!";
293  } else {
294  l1tType_ = 2;
295  // edm::LogError("HLTConfigData") << " Identified Process '" << processName_ << "' as stage-2 L1T!";
296  }
297 
298  LogVerbatim("HLTConfigData") << "HLTConfigData: ProcessPSet with name/GT/table/l1tType: '" << processName_ << "' '"
299  << globalTag_ << "' '" << tableName_ << "' " << l1tType_;
300 
301  return;
302 }

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().

◆ globalTag()

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

GlobalTag.globaltag.

Definition at line 429 of file HLTConfigData.cc.

429 { return globalTag_; }

References globalTag_.

Referenced by HLTConfigProvider::globalTag().

◆ hltL1GTSeeds() [1/3]

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.

523  {
524  return hltL1GTSeeds_;
525 }

References hltL1GTSeeds_.

Referenced by hltL1GTSeeds(), and HLTConfigProvider::hltL1GTSeeds().

◆ hltL1GTSeeds() [2/3]

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.

527  {
529 }

References hltL1GTSeeds(), and triggerIndex().

◆ hltL1GTSeeds() [3/3]

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.

531  {
532  return hltL1GTSeeds_.at(trigger);
533 }

References hltL1GTSeeds_.

◆ hltL1TSeeds() [1/3]

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.

535 { return hltL1TSeeds_; }

References hltL1TSeeds_.

Referenced by hltL1TSeeds(), and HLTConfigProvider::hltL1TSeeds().

◆ hltL1TSeeds() [2/3]

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.

537  {
539 }

References hltL1TSeeds(), and triggerIndex().

◆ hltL1TSeeds() [3/3]

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.

541  {
542  return hltL1TSeeds_.at(trigger);
543 }

References hltL1TSeeds_.

◆ id()

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

technical: id() function needed for use with ThreadSafeRegistry

Definition at line 603 of file HLTConfigData.cc.

603 { return processPSet_->id(); }

References edm::ParameterSet::id(), and processPSet_.

Referenced by HLTConfigProvider::init().

◆ l1tType()

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.

521 { return l1tType_; }

References l1tType_.

Referenced by HLTConfigProvider::l1tType().

◆ moduleEDMType()

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

C++ base class name of module.

Definition at line 489 of file HLTConfigData.cc.

489  {
491  if (pset.existsAs<std::string>("@module_edm_type", true)) {
492  return pset.getParameter<std::string>("@module_edm_type");
493  } else {
494  return "";
495  }
496 }

References callgraph::module, modulePSet(), muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by dump(), and HLTConfigProvider::moduleEDMType().

◆ moduleIndex() [1/2]

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

Definition at line 476 of file HLTConfigData.cc.

476  {
478 }

References callgraph::module, moduleIndex(), and triggerIndex().

◆ moduleIndex() [2/2]

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.

468  {
469  const std::map<std::string, unsigned int>::const_iterator index(moduleIndex_.at(trigger).find(module));
470  if (index == moduleIndex_.at(trigger).end()) {
471  return size(trigger);
472  } else {
473  return index->second;
474  }
475 }

References callgraph::module, moduleIndex_, and size().

Referenced by moduleIndex(), and HLTConfigProvider::moduleIndex().

◆ moduleLabel() [1/2]

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

Definition at line 464 of file HLTConfigData.cc.

464  {
465  return moduleLabels_.at(triggerIndex(trigger)).at(module);
466 }

References callgraph::module, moduleLabels_, and triggerIndex().

◆ moduleLabel() [2/2]

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

Definition at line 461 of file HLTConfigData.cc.

461  {
462  return moduleLabels_.at(trigger).at(module);
463 }

References callgraph::module, and moduleLabels_.

Referenced by HLTConfigProvider::moduleLabel(), and HLTConfigDataEx::moduleLabel().

◆ moduleLabels() [1/2]

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

Definition at line 450 of file HLTConfigData.cc.

450  {
451  return moduleLabels_.at(triggerIndex(trigger));
452 }

References moduleLabels_, and triggerIndex().

◆ moduleLabels() [2/2]

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.

447  {
448  return moduleLabels_.at(trigger);
449 }

References moduleLabels_.

Referenced by extract(), and HLTConfigProvider::moduleLabels().

◆ modulePSet()

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

ParameterSet of module.

Definition at line 500 of file HLTConfigData.cc.

500  {
501  //HLTConfigProvider sees ignored modules as "-modname"
502  //but in the PSet, the module is named "modname"
503  //so if it starts with "-", you need to remove the "-" from the
504  //module name to be able to retreive it from the PSet
505  if (processPSet_->exists(module.front() != '-' ? module : module.substr(1))) {
506  return processPSet_->getParameterSet(module.front() != '-' ? module : module.substr(1));
507  } else {
508  return *s_dummyPSet();
509  }
510 }

References edm::ParameterSet::exists(), edm::ParameterSet::getParameterSet(), callgraph::module, processPSet_, and s_dummyPSet().

Referenced by extract(), moduleEDMType(), HLTConfigProvider::modulePSet(), moduleType(), and saveTags().

◆ moduleType()

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

C++ class name of module.

Definition at line 480 of file HLTConfigData.cc.

480  {
482  if (pset.existsAs<std::string>("@module_type", true)) {
483  return pset.getParameter<std::string>("@module_type");
484  } else {
485  return "";
486  }
487 }

References callgraph::module, modulePSet(), muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by dump(), extract(), HLTConfigDataEx::HLTConfigDataEx(), and HLTConfigProvider::moduleType().

◆ prescaleLabels()

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

low-level data member access

Definition at line 598 of file HLTConfigData.cc.

598 { return hltPrescaleTable_.labels(); }

References hltPrescaleTable_, and trigger::HLTPrescaleTable::labels().

Referenced by HLTConfigProvider::prescaleLabels().

◆ prescaleSize()

unsigned int HLTConfigData::prescaleSize ( ) const

HLT prescale info Number of HLT prescale sets

Definition at line 593 of file HLTConfigData.cc.

593 { return hltPrescaleTable_.size(); }

References hltPrescaleTable_, and trigger::HLTPrescaleTable::size().

Referenced by HLTConfigProvider::prescaleSize().

◆ prescaleTable()

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

Definition at line 599 of file HLTConfigData.cc.

599  {
600  return hltPrescaleTable_.table();
601 }

References hltPrescaleTable_, and trigger::HLTPrescaleTable::table().

Referenced by HLTConfigProvider::prescaleTable().

◆ prescaleValue()

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.

594  {
595  return hltPrescaleTable_.prescale(set, trigger);
596 }

References hltPrescaleTable_, and trigger::HLTPrescaleTable::prescale().

Referenced by HLTConfigProvider::prescaleValue().

◆ processName()

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

Accessors (const methods)

process name

Definition at line 427 of file HLTConfigData.cc.

427 { return processName_; }

References processName_.

Referenced by HLTConfigProvider::processName(), and HLTConfigDataEx::processName().

◆ processPSet()

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

ParameterSet of process.

Definition at line 498 of file HLTConfigData.cc.

498 { return *processPSet_; }

References processPSet_.

Referenced by HLTConfigProvider::processPSet().

◆ saveTags()

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.

512  {
514  if (pset.existsAs<bool>("saveTags", true)) {
515  return pset.getParameter<bool>("saveTags");
516  } else {
517  return false;
518  }
519 }

References callgraph::module, modulePSet(), and muonDTDigis_cfi::pset.

Referenced by dump(), extract(), and HLTConfigProvider::saveTags().

◆ saveTagsModules() [1/2]

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

Definition at line 457 of file HLTConfigData.cc.

457  {
459 }

References saveTagsModules_, and triggerIndex().

◆ saveTagsModules() [2/2]

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

Definition at line 454 of file HLTConfigData.cc.

454  {
455  return saveTagsModules_.at(trigger);
456 }

References saveTagsModules_.

Referenced by HLTConfigProvider::saveTagsModules().

◆ size() [1/3]

unsigned int HLTConfigData::size ( void  ) const

◆ size() [2/3]

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

Definition at line 433 of file HLTConfigData.cc.

433 { return size(triggerIndex(trigger)); }

References size(), and triggerIndex().

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

◆ size() [3/3]

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

number of modules on a specific trigger path

Definition at line 432 of file HLTConfigData.cc.

432 { return moduleLabels_.at(trigger).size(); }

References moduleLabels_.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

◆ streamContent() [1/2]

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.

565  {
567 }

References cms::cuda::stream, streamContent(), and streamIndex().

◆ streamContent() [2/2]

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.

561  {
562  return streamContents_.at(stream);
563 }

References cms::cuda::stream, and streamContents_.

Referenced by streamContent(), and HLTConfigProvider::streamContent().

◆ streamContents()

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

names of datasets for all streams

Definition at line 559 of file HLTConfigData.cc.

559 { return streamContents_; }

References streamContents_.

Referenced by HLTConfigProvider::streamContents().

◆ streamIndex()

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

index of stream with name

Definition at line 550 of file HLTConfigData.cc.

550  {
551  const std::map<std::string, unsigned int>::const_iterator index(streamIndex_.find(stream));
552  if (index == streamIndex_.end()) {
553  return streamNames_.size();
554  } else {
555  return index->second;
556  }
557 }

References cms::cuda::stream, streamIndex_, and streamNames_.

Referenced by streamContent(), and HLTConfigProvider::streamIndex().

◆ streamName()

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

name of stream with index i

Definition at line 548 of file HLTConfigData.cc.

548 { return streamNames_.at(stream); }

References cms::cuda::stream, and streamNames_.

Referenced by HLTConfigProvider::streamName().

◆ streamNames()

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

Streams.

Streams list of names of all streams

Definition at line 546 of file HLTConfigData.cc.

546 { return streamNames_; }

References streamNames_.

Referenced by HLTConfigProvider::streamNames().

◆ tableName()

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

HLT ConfDB table name.

Definition at line 435 of file HLTConfigData.cc.

435 { return tableName_; }

References tableName_.

Referenced by HLTConfigProvider::tableName().

◆ triggerIndex()

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.

438  {
439  const std::map<std::string, unsigned int>::const_iterator index(triggerIndex_.find(trigger));
440  if (index == triggerIndex_.end()) {
441  return size();
442  } else {
443  return index->second;
444  }
445 }

References size(), and triggerIndex_.

Referenced by hltL1GTSeeds(), hltL1TSeeds(), moduleIndex(), moduleLabel(), moduleLabels(), saveTagsModules(), size(), and HLTConfigProvider::triggerIndex().

◆ triggerName()

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

Definition at line 437 of file HLTConfigData.cc.

437 { return triggerNames_.at(trigger); }

References triggerNames_.

Referenced by HLTConfigProvider::triggerName(), and HLTConfigDataEx::triggerName().

◆ triggerNames()

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

names of trigger paths

Definition at line 436 of file HLTConfigData.cc.

436 { return triggerNames_; }

References triggerNames_.

Referenced by HLTConfigProvider::triggerNames(), and HLTConfigDataEx::triggerNames().

Member Data Documentation

◆ datasetContents_

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

Definition at line 171 of file HLTConfigData.h.

Referenced by datasetContent(), datasetContents(), dump(), and extract().

◆ datasetIndex_

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

Definition at line 170 of file HLTConfigData.h.

Referenced by datasetIndex(), and extract().

◆ datasetNames_

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

Definition at line 169 of file HLTConfigData.h.

Referenced by datasetIndex(), datasetName(), datasetNames(), dump(), and extract().

◆ globalTag_

std::string HLTConfigData::globalTag_
private

Definition at line 152 of file HLTConfigData.h.

Referenced by dump(), extract(), and globalTag().

◆ hltL1GTSeeds_

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

Definition at line 162 of file HLTConfigData.h.

Referenced by dump(), extract(), and hltL1GTSeeds().

◆ hltL1TSeeds_

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

Definition at line 163 of file HLTConfigData.h.

Referenced by dump(), extract(), and hltL1TSeeds().

◆ hltPrescaleTable_

trigger::HLTPrescaleTable HLTConfigData::hltPrescaleTable_
private

◆ l1tType_

unsigned int HLTConfigData::l1tType_
private

Definition at line 161 of file HLTConfigData.h.

Referenced by extract(), and l1tType().

◆ moduleIndex_

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

Definition at line 159 of file HLTConfigData.h.

Referenced by extract(), and moduleIndex().

◆ moduleLabels_

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

Definition at line 155 of file HLTConfigData.h.

Referenced by dump(), extract(), moduleLabel(), moduleLabels(), and size().

◆ processName_

std::string HLTConfigData::processName_
private

Definition at line 151 of file HLTConfigData.h.

Referenced by dump(), extract(), and processName().

◆ processPSet_

const edm::ParameterSet* HLTConfigData::processPSet_
private

Definition at line 149 of file HLTConfigData.h.

Referenced by dump(), extract(), HLTConfigData(), id(), modulePSet(), and processPSet().

◆ saveTagsModules_

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

Definition at line 156 of file HLTConfigData.h.

Referenced by extract(), and saveTagsModules().

◆ streamContents_

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

Definition at line 167 of file HLTConfigData.h.

Referenced by dump(), extract(), streamContent(), and streamContents().

◆ streamIndex_

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

Definition at line 166 of file HLTConfigData.h.

Referenced by extract(), and streamIndex().

◆ streamNames_

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

Definition at line 165 of file HLTConfigData.h.

Referenced by dump(), extract(), streamIndex(), streamName(), and streamNames().

◆ tableName_

std::string HLTConfigData::tableName_
private

Definition at line 153 of file HLTConfigData.h.

Referenced by dump(), extract(), and tableName().

◆ triggerIndex_

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

Definition at line 158 of file HLTConfigData.h.

Referenced by extract(), and triggerIndex().

◆ triggerNames_

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

Definition at line 154 of file HLTConfigData.h.

Referenced by dump(), extract(), size(), triggerName(), and triggerNames().

SummaryClient_cfi.labels
labels
Definition: SummaryClient_cfi.py:61
HLTConfigData::modulePSet
const edm::ParameterSet & modulePSet(const std::string &module) const
ParameterSet of module.
Definition: HLTConfigData.cc:500
trigger::HLTPrescaleTable
The single EDProduct containing the HLT Prescale Table.
Definition: HLTPrescaleTable.h:20
trigger::HLTPrescaleTable::size
unsigned int size() const
consistency condition: all vectors must have the same length
Definition: HLTPrescaleTable.h:34
mps_fire.i
i
Definition: mps_fire.py:428
HLTConfigData::moduleType
const std::string moduleType(const std::string &module) const
C++ class name of module.
Definition: HLTConfigData.cc:480
LogMessageMonitor_cff.modules
modules
Definition: LogMessageMonitor_cff.py:7
HLTConfigData::streamIndex
unsigned int streamIndex(const std::string &stream) const
index of stream with name
Definition: HLTConfigData.cc:550
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
modules
Definition: MuonCleanerBySegments.cc:35
edm
HLT enums.
Definition: AlignableModifier.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
HLTConfigData::hltPrescaleTable_
trigger::HLTPrescaleTable hltPrescaleTable_
Definition: HLTConfigData.h:173
HLTConfigData::datasetNames_
std::vector< std::string > datasetNames_
Definition: HLTConfigData.h:169
HLTConfigData::tableName_
std::string tableName_
Definition: HLTConfigData.h:153
HLTConfigData::hltL1GTSeeds_
std::vector< std::vector< std::pair< bool, std::string > > > hltL1GTSeeds_
Definition: HLTConfigData.h:162
cms::cuda::stream
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
Definition: HistoContainer.h:51
HLTConfigData::moduleLabels
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
Definition: HLTConfigData.cc:447
HLTConfigData::processName_
std::string processName_
Definition: HLTConfigData.h:151
HLTConfigData::triggerIndex_
std::map< std::string, unsigned int > triggerIndex_
Definition: HLTConfigData.h:158
HLTConfigData::l1tType_
unsigned int l1tType_
Definition: HLTConfigData.h:161
edm::ParameterSet::id
ParameterSetID id() const
Definition: ParameterSet.cc:189
HLTConfigData::globalTag_
std::string globalTag_
Definition: HLTConfigData.h:152
edm::ParameterSet::existsAs
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:171
HLTConfigData::saveTagsModules_
std::vector< std::vector< std::string > > saveTagsModules_
Definition: HLTConfigData.h:156
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
edm::Hash::isValid
bool isValid() const
Definition: Hash.h:141
HLTConfigData::streamIndex_
std::map< std::string, unsigned int > streamIndex_
Definition: HLTConfigData.h:166
HLTConfigData::triggerNames_
std::vector< std::string > triggerNames_
Definition: HLTConfigData.h:154
contentValuesFiles.datasets
datasets
Definition: contentValuesFiles.py:49
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:78
mps_fire.end
end
Definition: mps_fire.py:242
HLTConfigData::extract
void extract()
extract information into data members - called by init() methods
Definition: HLTConfigData.cc:79
HLT_Fake1_cff.streams
streams
Definition: HLT_Fake1_cff.py:13
HLTConfigData::streamNames_
std::vector< std::string > streamNames_
Definition: HLTConfigData.h:165
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
edm::ParameterSet
Definition: ParameterSet.h:47
HLTConfigData::moduleIndex
unsigned int moduleIndex(unsigned int trigger, const std::string &module) const
slot position of module on trigger path (0 - size-1)
Definition: HLTConfigData.cc:468
HLTConfigData::moduleEDMType
const std::string moduleEDMType(const std::string &module) const
C++ base class name of module.
Definition: HLTConfigData.cc:489
HLTConfigData::datasetContent
const std::vector< std::string > & datasetContent(unsigned int dataset) const
names of trigger paths in dataset with index i
Definition: HLTConfigData.cc:585
HLTConfigData::streamContents_
std::vector< std::vector< std::string > > streamContents_
Definition: HLTConfigData.h:167
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
HLTConfigData::streamContent
const std::vector< std::string > & streamContent(unsigned int stream) const
names of datasets in stream with index i
Definition: HLTConfigData.cc:561
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
trigger::HLTPrescaleTable::table
const std::map< std::string, std::vector< unsigned int > > & table() const
Definition: HLTPrescaleTable.h:75
HLTConfigData::processPSet_
const edm::ParameterSet * processPSet_
Definition: HLTConfigData.h:149
HLTConfigData::datasetContents_
std::vector< std::vector< std::string > > datasetContents_
Definition: HLTConfigData.h:171
HLTConfigData::moduleIndex_
std::vector< std::map< std::string, unsigned int > > moduleIndex_
Definition: HLTConfigData.h:159
HLTConfigData::size
unsigned int size() const
number of trigger paths in trigger table
Definition: HLTConfigData.cc:431
HLTConfigData::hltL1TSeeds
const std::vector< std::vector< std::string > > & hltL1TSeeds() const
Definition: HLTConfigData.cc:535
HLTConfigData::hltL1TSeeds_
std::vector< std::vector< std::string > > hltL1TSeeds_
Definition: HLTConfigData.h:163
SiStripSourceConfigTier0_cff.stage2
stage2
Definition: SiStripSourceConfigTier0_cff.py:71
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HLTConfigData::saveTags
bool saveTags(const std::string &module) const
Is module an L3 filter (ie, tracked saveTags=true)
Definition: HLTConfigData.cc:512
callgraph.module
module
Definition: callgraph.py:61
callgraph.m2
m2
Definition: callgraph.py:38
trigger::HLTPrescaleTable::prescale
unsigned int prescale(const std::string &trigger) const
high-level user access method: prescale for given trigger path
Definition: HLTPrescaleTable.h:37
std
Definition: JetResolutionObject.h:76
s_dummyPSet
static const edm::ParameterSet * s_dummyPSet()
Definition: HLTConfigData.cc:24
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
HLTConfigData::datasetIndex
unsigned int datasetIndex(const std::string &dataset) const
index of dataset with name
Definition: HLTConfigData.cc:574
HLTConfigData::triggerIndex
unsigned int triggerIndex(const std::string &triggerName) const
slot position of trigger path in trigger table (0 - size-1)
Definition: HLTConfigData.cc:438
or
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HLTConfigData::hltL1GTSeeds
const std::vector< std::vector< std::pair< bool, std::string > > > & hltL1GTSeeds() const
Definition: HLTConfigData.cc:523
triggerMatcherToHLTDebug_cfi.tags
tags
Definition: triggerMatcherToHLTDebug_cfi.py:9
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
trigger
Definition: HLTPrescaleTableCond.h:8
dataset
Definition: dataset.py:1
trigger::HLTPrescaleTable::labels
const std::vector< std::string > & labels() const
Definition: HLTPrescaleTable.h:74
HLTConfigData::datasetIndex_
std::map< std::string, unsigned int > datasetIndex_
Definition: HLTConfigData.h:170
genParticles_cff.map
map
Definition: genParticles_cff.py:11
edmTracerLogToSimpleConfig.allModules
allModules
Definition: edmTracerLogToSimpleConfig.py:131
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
TableParser.table
table
Definition: TableParser.py:111
edm::InputTag
Definition: InputTag.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11
edm::ParameterSet::getParameterSet
ParameterSet const & getParameterSet(std::string const &) const
Definition: ParameterSet.cc:2128
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
HLTConfigData::moduleLabels_
std::vector< std::vector< std::string > > moduleLabels_
Definition: HLTConfigData.h:155