CMS 3D CMS Logo

ParameterSet.h
Go to the documentation of this file.
1 #ifndef FWCore_ParameterSet_ParameterSet_h
2 #define FWCore_ParameterSet_ParameterSet_h
3 
4 // ----------------------------------------------------------------------
5 // Declaration for ParameterSet(parameter set) and related types
6 // ----------------------------------------------------------------------
7 
8 // ----------------------------------------------------------------------
9 // prolog
10 
11 // ----------------------------------------------------------------------
12 // prerequisite source files and headers
13 
19 
20 #include <iosfwd>
21 #include <map>
22 #include <memory>
23 #include <string>
24 #include <vector>
25 
26 // ----------------------------------------------------------------------
27 // contents
28 namespace cms {
29  class Digest;
30 }
31 
32 namespace edm {
34  typedef std::vector<ParameterSet> VParameterSet;
35 
36  class ParameterSet {
37  public:
38  template <typename T>
39  friend class ParameterDescription;
40 
41  // default-construct
42  ParameterSet();
43 
44  // construct from coded string.
45  explicit ParameterSet(std::string const& rep);
46 
47  ~ParameterSet() = default;
48  ParameterSet(ParameterSet const& other) = default;
49  ParameterSet(ParameterSet&& other) = default;
50  ParameterSet& operator=(ParameterSet const& other) = default;
52 
53  void swap(ParameterSet& other);
54 
55  void copyForModify(ParameterSet const& other);
56 
57  // identification
58  ParameterSetID id() const;
59  void setID(ParameterSetID const& id);
60  bool isRegistered() const { return id_.isValid(); }
61  ParameterSetID trackedID() const { return id(); } // to be phased out.
62 
63  // Entry-handling
64  Entry const& retrieve(char const*) const;
65  Entry const& retrieve(std::string const&) const;
66  Entry const* retrieveUntracked(char const*) const;
67  Entry const* retrieveUntracked(std::string const&) const;
68  Entry const* retrieveUnknown(char const*) const;
69  Entry const* retrieveUnknown(std::string const&) const;
76 
77  void insertParameterSet(bool okay_to_replace, std::string const& name, ParameterSetEntry const& entry);
78  void insertVParameterSet(bool okay_to_replace, std::string const& name, VParameterSetEntry const& entry);
79  void insert(bool ok_to_replace, char const*, Entry const&);
80  void insert(bool ok_to_replace, std::string const&, Entry const&);
81  void augment(ParameterSet const& from);
82  void copyFrom(ParameterSet const& from, std::string const& name);
84 
85  // encode only tracked parameters
86  std::string toString() const;
87  void toString(std::string& result) const;
88  void toDigest(cms::Digest& digest) const;
89 
90  //encode tracked and untracked parameters
91  void allToString(std::string& result) const;
92 
93  template <typename T>
94  T getParameter(std::string const&) const;
95 
96  template <typename T>
97  T getParameter(char const*) const;
98 
99  ParameterSet const& getParameterSet(std::string const&) const;
100 
101  ParameterSet const& getParameterSet(char const*) const;
102 
103  ParameterSet getUntrackedParameterSet(std::string const& name, ParameterSet const& defaultValue) const;
104 
105  ParameterSet getUntrackedParameterSet(char const* name, ParameterSet const& defaultValue) const;
106 
108 
109  ParameterSet const& getUntrackedParameterSet(char const* name) const;
110 
112 
113  VParameterSet const& getParameterSetVector(char const* name) const;
114 
116 
117  VParameterSet getUntrackedParameterSetVector(char const* name, VParameterSet const& defaultValue) const;
118 
120 
121  VParameterSet const& getUntrackedParameterSetVector(char const* name) const;
122 
123  template <typename T>
124  void addParameter(std::string const& name, T const& value) {
126  insert(true, name, Entry(name, value, true));
127  }
128 
129  template <typename T>
130  void addParameter(char const* name, T const& value) {
132  insert(true, name, Entry(name, value, true));
133  }
134 
135  template <typename T>
136  T getUntrackedParameter(std::string const&, T const&) const;
137 
138  template <typename T>
139  T getUntrackedParameter(char const*, T const&) const;
140 
141  template <typename T>
142  T getUntrackedParameter(std::string const&) const;
143 
144  template <typename T>
145  T getUntrackedParameter(char const*) const;
146 
151  std::vector<FileInPath>::size_type getAllFileInPaths(std::vector<FileInPath>& output) const;
152 
153  std::vector<std::string> getParameterNames() const;
154 
156  bool exists(std::string const& parameterName) const;
157 
159  template <typename T>
160  bool existsAs(std::string const& parameterName, bool trackiness = true) const {
161  std::vector<std::string> names = getParameterNamesForType<T>(trackiness);
162  return std::find(names.begin(), names.end(), parameterName) != names.end();
163  }
164 
165  void deprecatedInputTagWarning(std::string const& name, std::string const& label) const;
166 
167  template <typename T>
168  std::vector<std::string> getParameterNamesForType(bool trackiness = true) const {
169  std::vector<std::string> result;
170  // This is icky, but I don't know of another way in the current
171  // code to get at the character code that denotes type T.
172  T value = T();
173  Entry type_translator("", value, trackiness);
174  char type_code = type_translator.typeCode();
175 
176  (void)getNamesByCode_(type_code, trackiness, result);
177  return result;
178  }
179 
180  template <typename T>
182  insert(true, name, Entry(name, value, false));
183  }
184 
185  template <typename T>
186  void addUntrackedParameter(char const* name, T const& value) {
187  insert(true, name, Entry(name, value, false));
188  }
189 
190  bool empty() const { return tbl_.empty() && psetTable_.empty() && vpsetTable_.empty(); }
191 
192  ParameterSet trackedPart() const;
193 
194  // Return the names of all parameters of type ParameterSet,
195  // pushing the names into the argument 'output'. Return the number
196  // of names pushed into the vector. If 'trackiness' is true, we
197  // return tracked parameters; if 'trackiness' is false, w return
198  // untracked parameters.
199  size_t getParameterSetNames(std::vector<std::string>& output, bool trackiness = true) const;
200 
201  // Return the names of all parameters of type
202  // vector<ParameterSet>, pushing the names into the argument
203  // 'output'. Return the number of names pushed into the vector. If
204  // 'trackiness' is true, we return tracked parameters; if
205  // 'trackiness' is false, w return untracked parameters.
206  size_t getParameterSetVectorNames(std::vector<std::string>& output, bool trackiness = true) const;
207 
208  // need a simple interface for python
209  std::string dump(unsigned int indent = 0) const;
210 
211  friend std::ostream& operator<<(std::ostream& os, ParameterSet const& pset);
212 
213  ParameterSet const& registerIt();
214 
215  std::unique_ptr<ParameterSet> popParameterSet(std::string const& name);
218 
219  std::vector<ParameterSet> popVParameterSet(std::string const& name);
220 
221  typedef std::map<std::string, Entry> table;
222  table const& tbl() const { return tbl_; }
223 
224  typedef std::map<std::string, ParameterSetEntry> psettable;
225  psettable const& psetTable() const { return psetTable_; }
226 
227  typedef std::map<std::string, VParameterSetEntry> vpsettable;
228  vpsettable const& vpsetTable() const { return vpsetTable_; }
229 
230  ParameterSet* getPSetForUpdate(std::string const& name, bool& isTracked);
231 
233  bool isTracked = false;
234  return getPSetForUpdate(name, isTracked);
235  }
236 
238 
239  // construct from coded string and register it.
240  static void registerFromString(std::string const& rep);
241 
242  // return ID of empty parameter set without registering it.
244 
245  private:
246  // construct from coded string and id.
247  ParameterSet(std::string const& rep, ParameterSetID const& id);
248 
249  // decode
250  bool fromString(std::string const&);
251 
252  void toStringImp(std::string&, bool useAll) const;
253 
257 
258  // If the id_ is invalid, that means a new value should be
259  // calculated before the value is returned. Upon registration, the
260  // id_ is made valid. Updating any tracked parameter invalidates the id_.
262 
263  void invalidateRegistration(std::string const& nameOfTracked);
264 
265  void calculateID();
266 
267  // get the untracked Entry object, throwing an exception if it is
268  // not found.
269  Entry const* getEntryPointerOrThrow_(std::string const& name) const;
270  Entry const* getEntryPointerOrThrow_(char const* name) const;
271 
272  // Return the names of all the entries with the given typecode and
273  // given status (trackiness)
274  size_t getNamesByCode_(char code, bool trackiness, std::vector<std::string>& output) const;
275 
276  }; // ParameterSet
277 
278  inline void swap(ParameterSet& a, ParameterSet& b) { a.swap(b); }
279 
280  bool operator==(ParameterSet const& a, ParameterSet const& b);
281 
282  bool isTransientEqual(ParameterSet const& a, ParameterSet const& b);
283 
284  inline bool operator!=(ParameterSet const& a, ParameterSet const& b) { return !(a == b); }
285 
286  // Free function to retrieve a parameter set, given the parameter set ID.
287  ParameterSet const& getParameterSet(ParameterSetID const& id);
288 
289  ParameterSet const& getProcessParameterSetContainingModule(ModuleDescription const& moduleDescription);
290 
291  // specializations
292  // ----------------------------------------------------------------------
293 
294  template <>
295  bool ParameterSet::getParameter<bool>(std::string const& name) const;
296 
297  // ----------------------------------------------------------------------
298  // Int32, vInt32
299 
300  template <>
301  int ParameterSet::getParameter<int>(std::string const& name) const;
302 
303  template <>
304  std::vector<int> ParameterSet::getParameter<std::vector<int> >(std::string const& name) const;
305 
306  // ----------------------------------------------------------------------
307  // Int64, vInt64
308 
309  template <>
310  long long ParameterSet::getParameter<long long>(std::string const& name) const;
311 
312  template <>
313  std::vector<long long> ParameterSet::getParameter<std::vector<long long> >(std::string const& name) const;
314 
315  // ----------------------------------------------------------------------
316  // Uint32, vUint32
317 
318  template <>
319  unsigned int ParameterSet::getParameter<unsigned int>(std::string const& name) const;
320 
321  template <>
322  std::vector<unsigned int> ParameterSet::getParameter<std::vector<unsigned int> >(std::string const& name) const;
323 
324  // ----------------------------------------------------------------------
325  // Uint64, vUint64
326 
327  template <>
328  unsigned long long ParameterSet::getParameter<unsigned long long>(std::string const& name) const;
329 
330  template <>
331  std::vector<unsigned long long> ParameterSet::getParameter<std::vector<unsigned long long> >(
332  std::string const& name) const;
333 
334  // ----------------------------------------------------------------------
335  // Double, vDouble
336 
337  template <>
338  double ParameterSet::getParameter<double>(std::string const& name) const;
339 
340  template <>
341  std::vector<double> ParameterSet::getParameter<std::vector<double> >(std::string const& name) const;
342 
343  // ----------------------------------------------------------------------
344  // String, vString
345 
346  template <>
347  std::string ParameterSet::getParameter<std::string>(std::string const& name) const;
348 
349  template <>
350  std::vector<std::string> ParameterSet::getParameter<std::vector<std::string> >(std::string const& name) const;
351 
352  // ----------------------------------------------------------------------
353  // FileInPath
354 
355  template <>
356  FileInPath ParameterSet::getParameter<FileInPath>(std::string const& name) const;
357 
358  // FileInPath can't default-construct something useful, so we specialize
359  // this template
360  template <>
361  std::vector<std::string> ParameterSet::getParameterNamesForType<FileInPath>(bool trackiness) const;
362 
363  // ----------------------------------------------------------------------
364  // InputTag
365 
366  template <>
367  InputTag ParameterSet::getParameter<InputTag>(std::string const& name) const;
368 
369  // ----------------------------------------------------------------------
370  // VInputTag
371 
372  template <>
373  std::vector<InputTag> ParameterSet::getParameter<std::vector<InputTag> >(std::string const& name) const;
374 
375  // ----------------------------------------------------------------------
376  // ESInputTag
377 
378  template <>
379  ESInputTag ParameterSet::getParameter<ESInputTag>(std::string const& name) const;
380 
381  // ----------------------------------------------------------------------
382  // VESInputTag
383 
384  template <>
385  std::vector<ESInputTag> ParameterSet::getParameter<std::vector<ESInputTag> >(std::string const& name) const;
386 
387  // ----------------------------------------------------------------------
388  // EventID
389 
390  template <>
391  EventID ParameterSet::getParameter<EventID>(std::string const& name) const;
392 
393  // ----------------------------------------------------------------------
394  // VEventID
395 
396  template <>
397  std::vector<EventID> ParameterSet::getParameter<std::vector<EventID> >(std::string const& name) const;
398 
399  // ----------------------------------------------------------------------
400  // LuminosityBlockID
401 
402  template <>
403  LuminosityBlockID ParameterSet::getParameter<LuminosityBlockID>(std::string const& name) const;
404 
405  // ----------------------------------------------------------------------
406  // VLuminosityBlockID
407 
408  template <>
409  std::vector<LuminosityBlockID> ParameterSet::getParameter<std::vector<LuminosityBlockID> >(
410  std::string const& name) const;
411 
412  // ----------------------------------------------------------------------
413  // EventRange
414 
415  template <>
416  EventRange ParameterSet::getParameter<EventRange>(std::string const& name) const;
417 
418  // ----------------------------------------------------------------------
419  // VEventRange
420 
421  template <>
422  std::vector<EventRange> ParameterSet::getParameter<std::vector<EventRange> >(std::string const& name) const;
423 
424  // ----------------------------------------------------------------------
425  // LuminosityBlockRange
426 
427  template <>
428  LuminosityBlockRange ParameterSet::getParameter<LuminosityBlockRange>(std::string const& name) const;
429 
430  // ----------------------------------------------------------------------
431  // VLuminosityBlockRange
432 
433  template <>
434  std::vector<LuminosityBlockRange> ParameterSet::getParameter<std::vector<LuminosityBlockRange> >(
435  std::string const& name) const;
436 
437  // ----------------------------------------------------------------------
438  // PSet, vPSet
439 
440  template <>
441  ParameterSet ParameterSet::getParameter<ParameterSet>(std::string const& name) const;
442 
443  template <>
444  VParameterSet ParameterSet::getParameter<VParameterSet>(std::string const& name) const;
445 
446  template <>
447  void ParameterSet::addParameter<ParameterSet>(std::string const& name, ParameterSet const& value);
448 
449  template <>
450  void ParameterSet::addParameter<ParameterSet>(char const* name, ParameterSet const& value);
451 
452  template <>
453  void ParameterSet::addUntrackedParameter<ParameterSet>(std::string const& name, ParameterSet const& value);
454 
455  template <>
456  void ParameterSet::addUntrackedParameter<ParameterSet>(char const* name, ParameterSet const& value);
457 
458  template <>
459  void ParameterSet::addParameter<VParameterSet>(std::string const& name, VParameterSet const& value);
460 
461  template <>
462  void ParameterSet::addParameter<VParameterSet>(char const* name, VParameterSet const& value);
463 
464  template <>
465  void ParameterSet::addUntrackedParameter<VParameterSet>(std::string const& name, VParameterSet const& value);
466 
467  template <>
468  void ParameterSet::addUntrackedParameter<VParameterSet>(char const* name, VParameterSet const& value);
469 
470  // untracked parameters
471 
472  // ----------------------------------------------------------------------
473  // Bool, vBool
474 
475  template <>
476  bool ParameterSet::getUntrackedParameter<bool>(std::string const& name, bool const& defaultValue) const;
477 
478  template <>
479  bool ParameterSet::getUntrackedParameter<bool>(std::string const& name) const;
480 
481  // ----------------------------------------------------------------------
482  // Int32, vInt32
483 
484  template <>
485  int ParameterSet::getUntrackedParameter<int>(std::string const& name, int const& defaultValue) const;
486 
487  template <>
488  int ParameterSet::getUntrackedParameter<int>(std::string const& name) const;
489 
490  template <>
491  std::vector<int> ParameterSet::getUntrackedParameter<std::vector<int> >(std::string const& name,
492  std::vector<int> const& defaultValue) const;
493 
494  template <>
495  std::vector<int> ParameterSet::getUntrackedParameter<std::vector<int> >(std::string const& name) const;
496 
497  // ----------------------------------------------------------------------
498  // Uint32, vUint32
499 
500  template <>
501  unsigned int ParameterSet::getUntrackedParameter<unsigned int>(std::string const& name,
502  unsigned int const& defaultValue) const;
503 
504  template <>
505  unsigned int ParameterSet::getUntrackedParameter<unsigned int>(std::string const& name) const;
506 
507  template <>
508  std::vector<unsigned int> ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(
509  std::string const& name, std::vector<unsigned int> const& defaultValue) const;
510 
511  template <>
512  std::vector<unsigned int> ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(
513  std::string const& name) const;
514 
515  // ----------------------------------------------------------------------
516  // Uint64, vUint64
517 
518  template <>
519  unsigned long long ParameterSet::getUntrackedParameter<unsigned long long>(
520  std::string const& name, unsigned long long const& defaultValue) const;
521 
522  template <>
523  unsigned long long ParameterSet::getUntrackedParameter<unsigned long long>(std::string const& name) const;
524 
525  template <>
526  std::vector<unsigned long long> ParameterSet::getUntrackedParameter<std::vector<unsigned long long> >(
527  std::string const& name, std::vector<unsigned long long> const& defaultValue) const;
528 
529  template <>
530  std::vector<unsigned long long> ParameterSet::getUntrackedParameter<std::vector<unsigned long long> >(
531  std::string const& name) const;
532 
533  // ----------------------------------------------------------------------
534  // Int64, Vint64
535 
536  template <>
537  long long ParameterSet::getUntrackedParameter<long long>(std::string const& name,
538  long long const& defaultValue) const;
539 
540  template <>
541  long long ParameterSet::getUntrackedParameter<long long>(std::string const& name) const;
542 
543  template <>
544  std::vector<long long> ParameterSet::getUntrackedParameter<std::vector<long long> >(
545  std::string const& name, std::vector<long long> const& defaultValue) const;
546 
547  template <>
548  std::vector<long long> ParameterSet::getUntrackedParameter<std::vector<long long> >(std::string const& name) const;
549 
550  // ----------------------------------------------------------------------
551  // Double, vDouble
552 
553  template <>
554  double ParameterSet::getUntrackedParameter<double>(std::string const& name, double const& defaultValue) const;
555 
556  template <>
557  double ParameterSet::getUntrackedParameter<double>(std::string const& name) const;
558 
559  template <>
560  std::vector<double> ParameterSet::getUntrackedParameter<std::vector<double> >(
561  std::string const& name, std::vector<double> const& defaultValue) const;
562 
563  template <>
564  std::vector<double> ParameterSet::getUntrackedParameter<std::vector<double> >(std::string const& name) const;
565 
566  // ----------------------------------------------------------------------
567  // String, vString
568 
569  template <>
570  std::string ParameterSet::getUntrackedParameter<std::string>(std::string const& name,
571  std::string const& defaultValue) const;
572 
573  template <>
574  std::string ParameterSet::getUntrackedParameter<std::string>(std::string const& name) const;
575 
576  template <>
577  std::vector<std::string> ParameterSet::getUntrackedParameter<std::vector<std::string> >(
578  std::string const& name, std::vector<std::string> const& defaultValue) const;
579 
580  template <>
581  std::vector<std::string> ParameterSet::getUntrackedParameter<std::vector<std::string> >(std::string const& name) const;
582 
583  // ----------------------------------------------------------------------
584  // FileInPath
585 
586  template <>
587  FileInPath ParameterSet::getUntrackedParameter<FileInPath>(std::string const& name,
588  FileInPath const& defaultValue) const;
589 
590  template <>
591  FileInPath ParameterSet::getUntrackedParameter<FileInPath>(std::string const& name) const;
592 
593  // ----------------------------------------------------------------------
594  // InputTag, VInputTag
595 
596  template <>
597  InputTag ParameterSet::getUntrackedParameter<InputTag>(std::string const& name, InputTag const& defaultValue) const;
598 
599  template <>
600  InputTag ParameterSet::getUntrackedParameter<InputTag>(std::string const& name) const;
601 
602  template <>
603  std::vector<InputTag> ParameterSet::getUntrackedParameter<std::vector<InputTag> >(
604  std::string const& name, std::vector<InputTag> const& defaultValue) const;
605 
606  template <>
607  std::vector<InputTag> ParameterSet::getUntrackedParameter<std::vector<InputTag> >(std::string const& name) const;
608 
609  // ----------------------------------------------------------------------
610  // EventID, VEventID
611 
612  template <>
613  EventID ParameterSet::getUntrackedParameter<EventID>(std::string const& name, EventID const& defaultValue) const;
614 
615  template <>
616  EventID ParameterSet::getUntrackedParameter<EventID>(std::string const& name) const;
617 
618  template <>
619  std::vector<EventID> ParameterSet::getUntrackedParameter<std::vector<EventID> >(
620  std::string const& name, std::vector<EventID> const& defaultValue) const;
621  template <>
622  std::vector<EventID> ParameterSet::getUntrackedParameter<std::vector<EventID> >(std::string const& name) const;
623 
624  // ----------------------------------------------------------------------
625  // LuminosityBlockID, VLuminosityBlockID
626 
627  template <>
628  LuminosityBlockID ParameterSet::getUntrackedParameter<LuminosityBlockID>(std::string const& name,
629  LuminosityBlockID const& defaultValue) const;
630 
631  template <>
632  LuminosityBlockID ParameterSet::getUntrackedParameter<LuminosityBlockID>(std::string const& name) const;
633 
634  template <>
635  std::vector<LuminosityBlockID> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(
636  std::string const& name, std::vector<LuminosityBlockID> const& defaultValue) const;
637  template <>
638  std::vector<LuminosityBlockID> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(
639  std::string const& name) const;
640 
641  // ----------------------------------------------------------------------
642  // EventRange, VEventRange
643 
644  template <>
645  EventRange ParameterSet::getUntrackedParameter<EventRange>(std::string const& name,
646  EventRange const& defaultValue) const;
647 
648  template <>
649  EventRange ParameterSet::getUntrackedParameter<EventRange>(std::string const& name) const;
650 
651  template <>
652  std::vector<EventRange> ParameterSet::getUntrackedParameter<std::vector<EventRange> >(
653  std::string const& name, std::vector<EventRange> const& defaultValue) const;
654  template <>
655  std::vector<EventRange> ParameterSet::getUntrackedParameter<std::vector<EventRange> >(std::string const& name) const;
656 
657  // ----------------------------------------------------------------------
658  // LuminosityBlockRange, VLuminosityBlockRange
659 
660  template <>
661  LuminosityBlockRange ParameterSet::getUntrackedParameter<LuminosityBlockRange>(
662  std::string const& name, LuminosityBlockRange const& defaultValue) const;
663 
664  template <>
665  LuminosityBlockRange ParameterSet::getUntrackedParameter<LuminosityBlockRange>(std::string const& name) const;
666 
667  template <>
668  std::vector<LuminosityBlockRange> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(
669  std::string const& name, std::vector<LuminosityBlockRange> const& defaultValue) const;
670  template <>
671  std::vector<LuminosityBlockRange> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(
672  std::string const& name) const;
673 
674  // specializations
675  // ----------------------------------------------------------------------
676  // Bool, vBool
677 
678  template <>
679  bool ParameterSet::getParameter<bool>(char const* name) const;
680 
681  // ----------------------------------------------------------------------
682  // Int32, vInt32
683 
684  template <>
685  int ParameterSet::getParameter<int>(char const* name) const;
686 
687  template <>
688  std::vector<int> ParameterSet::getParameter<std::vector<int> >(char const* name) const;
689 
690  // ----------------------------------------------------------------------
691  // Int64, vInt64
692 
693  template <>
694  long long ParameterSet::getParameter<long long>(char const* name) const;
695 
696  template <>
697  std::vector<long long> ParameterSet::getParameter<std::vector<long long> >(char const* name) const;
698 
699  // ----------------------------------------------------------------------
700  // Uint32, vUint32
701 
702  template <>
703  unsigned int ParameterSet::getParameter<unsigned int>(char const* name) const;
704 
705  template <>
706  std::vector<unsigned int> ParameterSet::getParameter<std::vector<unsigned int> >(char const* name) const;
707 
708  // ----------------------------------------------------------------------
709  // Uint64, vUint64
710 
711  template <>
712  unsigned long long ParameterSet::getParameter<unsigned long long>(char const* name) const;
713 
714  template <>
715  std::vector<unsigned long long> ParameterSet::getParameter<std::vector<unsigned long long> >(char const* name) const;
716 
717  // ----------------------------------------------------------------------
718  // Double, vDouble
719 
720  template <>
721  double ParameterSet::getParameter<double>(char const* name) const;
722 
723  template <>
724  std::vector<double> ParameterSet::getParameter<std::vector<double> >(char const* name) const;
725 
726  // ----------------------------------------------------------------------
727  // String, vString
728 
729  template <>
730  std::string ParameterSet::getParameter<std::string>(char const* name) const;
731 
732  template <>
733  std::vector<std::string> ParameterSet::getParameter<std::vector<std::string> >(char const* name) const;
734 
735  // ----------------------------------------------------------------------
736  // FileInPath
737 
738  template <>
739  FileInPath ParameterSet::getParameter<FileInPath>(char const* name) const;
740 
741  // ----------------------------------------------------------------------
742  // InputTag
743 
744  template <>
745  InputTag ParameterSet::getParameter<InputTag>(char const* name) const;
746 
747  // ----------------------------------------------------------------------
748  // VInputTag
749 
750  template <>
751  std::vector<InputTag> ParameterSet::getParameter<std::vector<InputTag> >(char const* name) const;
752 
753  // ----------------------------------------------------------------------
754  // EventID
755 
756  template <>
757  EventID ParameterSet::getParameter<EventID>(char const* name) const;
758 
759  // ----------------------------------------------------------------------
760  // VEventID
761 
762  template <>
763  std::vector<EventID> ParameterSet::getParameter<std::vector<EventID> >(char const* name) const;
764 
765  // ----------------------------------------------------------------------
766  // LuminosityBlockID
767 
768  template <>
769  LuminosityBlockID ParameterSet::getParameter<LuminosityBlockID>(char const* name) const;
770 
771  // ----------------------------------------------------------------------
772  // VLuminosityBlockID
773 
774  template <>
775  std::vector<LuminosityBlockID> ParameterSet::getParameter<std::vector<LuminosityBlockID> >(char const* name) const;
776 
777  // ----------------------------------------------------------------------
778  // EventRange
779 
780  template <>
781  EventRange ParameterSet::getParameter<EventRange>(char const* name) const;
782 
783  // ----------------------------------------------------------------------
784  // VEventRange
785 
786  template <>
787  std::vector<EventRange> ParameterSet::getParameter<std::vector<EventRange> >(char const* name) const;
788 
789  // ----------------------------------------------------------------------
790  // LuminosityBlockRange
791 
792  template <>
793  LuminosityBlockRange ParameterSet::getParameter<LuminosityBlockRange>(char const* name) const;
794 
795  // ----------------------------------------------------------------------
796  // VLuminosityBlockRange
797 
798  template <>
799  std::vector<LuminosityBlockRange> ParameterSet::getParameter<std::vector<LuminosityBlockRange> >(
800  char const* name) const;
801 
802  // ----------------------------------------------------------------------
803  // PSet, vPSet
804 
805  template <>
806  ParameterSet ParameterSet::getParameter<ParameterSet>(char const* name) const;
807 
808  template <>
809  VParameterSet ParameterSet::getParameter<VParameterSet>(char const* name) const;
810 
811  // untracked parameters
812 
813  // ----------------------------------------------------------------------
814  // Bool, vBool
815 
816  template <>
817  bool ParameterSet::getUntrackedParameter<bool>(char const* name, bool const& defaultValue) const;
818 
819  template <>
820  bool ParameterSet::getUntrackedParameter<bool>(char const* name) const;
821 
822  // ----------------------------------------------------------------------
823  // Int32, vInt32
824 
825  template <>
826  int ParameterSet::getUntrackedParameter<int>(char const* name, int const& defaultValue) const;
827 
828  template <>
829  int ParameterSet::getUntrackedParameter<int>(char const* name) const;
830 
831  template <>
832  std::vector<int> ParameterSet::getUntrackedParameter<std::vector<int> >(char const* name,
833  std::vector<int> const& defaultValue) const;
834 
835  template <>
836  std::vector<int> ParameterSet::getUntrackedParameter<std::vector<int> >(char const* name) const;
837 
838  // ----------------------------------------------------------------------
839  // Uint32, vUint32
840 
841  template <>
842  unsigned int ParameterSet::getUntrackedParameter<unsigned int>(char const* name,
843  unsigned int const& defaultValue) const;
844 
845  template <>
846  unsigned int ParameterSet::getUntrackedParameter<unsigned int>(char const* name) const;
847 
848  template <>
849  std::vector<unsigned int> ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(
850  char const* name, std::vector<unsigned int> const& defaultValue) const;
851 
852  template <>
853  std::vector<unsigned int> ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(char const* name) const;
854 
855  // ----------------------------------------------------------------------
856  // Uint64, vUint64
857 
858  template <>
859  unsigned long long ParameterSet::getUntrackedParameter<unsigned long long>(
860  char const* name, unsigned long long const& defaultValue) const;
861 
862  template <>
863  unsigned long long ParameterSet::getUntrackedParameter<unsigned long long>(char const* name) const;
864 
865  template <>
866  std::vector<unsigned long long> ParameterSet::getUntrackedParameter<std::vector<unsigned long long> >(
867  char const* name, std::vector<unsigned long long> const& defaultValue) const;
868 
869  template <>
870  std::vector<unsigned long long> ParameterSet::getUntrackedParameter<std::vector<unsigned long long> >(
871  char const* name) const;
872 
873  // ----------------------------------------------------------------------
874  // Int64, Vint64
875 
876  template <>
877  long long ParameterSet::getUntrackedParameter<long long>(char const* name, long long const& defaultValue) const;
878 
879  template <>
880  long long ParameterSet::getUntrackedParameter<long long>(char const* name) const;
881 
882  template <>
883  std::vector<long long> ParameterSet::getUntrackedParameter<std::vector<long long> >(
884  char const* name, std::vector<long long> const& defaultValue) const;
885 
886  template <>
887  std::vector<long long> ParameterSet::getUntrackedParameter<std::vector<long long> >(char const* name) const;
888 
889  // ----------------------------------------------------------------------
890  // Double, vDouble
891 
892  template <>
893  double ParameterSet::getUntrackedParameter<double>(char const* name, double const& defaultValue) const;
894 
895  template <>
896  double ParameterSet::getUntrackedParameter<double>(char const* name) const;
897 
898  template <>
899  std::vector<double> ParameterSet::getUntrackedParameter<std::vector<double> >(
900  char const* name, std::vector<double> const& defaultValue) const;
901 
902  template <>
903  std::vector<double> ParameterSet::getUntrackedParameter<std::vector<double> >(char const* name) const;
904 
905  // ----------------------------------------------------------------------
906  // String, vString
907 
908  template <>
909  std::string ParameterSet::getUntrackedParameter<std::string>(char const* name, std::string const& defaultValue) const;
910 
911  template <>
912  std::string ParameterSet::getUntrackedParameter<std::string>(char const* name) const;
913 
914  template <>
915  std::vector<std::string> ParameterSet::getUntrackedParameter<std::vector<std::string> >(
916  char const* name, std::vector<std::string> const& defaultValue) const;
917 
918  template <>
919  std::vector<std::string> ParameterSet::getUntrackedParameter<std::vector<std::string> >(char const* name) const;
920 
921  // ----------------------------------------------------------------------
922  // FileInPath
923 
924  template <>
925  FileInPath ParameterSet::getUntrackedParameter<FileInPath>(char const* name, FileInPath const& defaultValue) const;
926 
927  template <>
928  FileInPath ParameterSet::getUntrackedParameter<FileInPath>(char const* name) const;
929 
930  // ----------------------------------------------------------------------
931  // InputTag, VInputTag
932 
933  template <>
934  InputTag ParameterSet::getUntrackedParameter<InputTag>(char const* name, InputTag const& defaultValue) const;
935 
936  template <>
937  InputTag ParameterSet::getUntrackedParameter<InputTag>(char const* name) const;
938 
939  template <>
940  std::vector<InputTag> ParameterSet::getUntrackedParameter<std::vector<InputTag> >(
941  char const* name, std::vector<InputTag> const& defaultValue) const;
942 
943  template <>
944  std::vector<InputTag> ParameterSet::getUntrackedParameter<std::vector<InputTag> >(char const* name) const;
945 
946  // ----------------------------------------------------------------------
947  // EventID, VEventID
948 
949  template <>
950  EventID ParameterSet::getUntrackedParameter<EventID>(char const* name, EventID const& defaultValue) const;
951 
952  template <>
953  EventID ParameterSet::getUntrackedParameter<EventID>(char const* name) const;
954 
955  template <>
956  std::vector<EventID> ParameterSet::getUntrackedParameter<std::vector<EventID> >(
957  char const* name, std::vector<EventID> const& defaultValue) const;
958  template <>
959  std::vector<EventID> ParameterSet::getUntrackedParameter<std::vector<EventID> >(char const* name) const;
960 
961  // ----------------------------------------------------------------------
962  // LuminosityBlockID, VLuminosityBlockID
963 
964  template <>
965  LuminosityBlockID ParameterSet::getUntrackedParameter<LuminosityBlockID>(char const* name,
966  LuminosityBlockID const& defaultValue) const;
967 
968  template <>
969  LuminosityBlockID ParameterSet::getUntrackedParameter<LuminosityBlockID>(char const* name) const;
970 
971  template <>
972  std::vector<LuminosityBlockID> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(
973  char const* name, std::vector<LuminosityBlockID> const& defaultValue) const;
974  template <>
975  std::vector<LuminosityBlockID> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(
976  char const* name) const;
977 
978  // ----------------------------------------------------------------------
979  // EventRange, VEventRange
980 
981  template <>
982  EventRange ParameterSet::getUntrackedParameter<EventRange>(char const* name, EventRange const& defaultValue) const;
983 
984  template <>
985  EventRange ParameterSet::getUntrackedParameter<EventRange>(char const* name) const;
986 
987  template <>
988  std::vector<EventRange> ParameterSet::getUntrackedParameter<std::vector<EventRange> >(
989  char const* name, std::vector<EventRange> const& defaultValue) const;
990  template <>
991  std::vector<EventRange> ParameterSet::getUntrackedParameter<std::vector<EventRange> >(char const* name) const;
992 
993  // ----------------------------------------------------------------------
994  // LuminosityBlockRange, VLuminosityBlockRange
995 
996  template <>
997  LuminosityBlockRange ParameterSet::getUntrackedParameter<LuminosityBlockRange>(
998  char const* name, LuminosityBlockRange const& defaultValue) const;
999 
1000  template <>
1001  LuminosityBlockRange ParameterSet::getUntrackedParameter<LuminosityBlockRange>(char const* name) const;
1002 
1003  template <>
1004  std::vector<LuminosityBlockRange> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(
1005  char const* name, std::vector<LuminosityBlockRange> const& defaultValue) const;
1006  template <>
1007  std::vector<LuminosityBlockRange> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(
1008  char const* name) const;
1009 
1010  // ----------------------------------------------------------------------
1011  // PSet, vPSet
1012 
1013  template <>
1014  ParameterSet ParameterSet::getUntrackedParameter<ParameterSet>(char const* name,
1015  ParameterSet const& defaultValue) const;
1016 
1017  template <>
1018  ParameterSet ParameterSet::getUntrackedParameter<ParameterSet>(std::string const& name,
1019  ParameterSet const& defaultValue) const;
1020 
1021  template <>
1022  ParameterSet ParameterSet::getUntrackedParameter<ParameterSet>(char const* name) const;
1023 
1024  template <>
1025  ParameterSet ParameterSet::getUntrackedParameter<ParameterSet>(std::string const& name) const;
1026 
1027  template <>
1028  VParameterSet ParameterSet::getUntrackedParameter<VParameterSet>(char const* name,
1029  VParameterSet const& defaultValue) const;
1030 
1031  template <>
1032  VParameterSet ParameterSet::getUntrackedParameter<VParameterSet>(char const* name) const;
1033 
1034  template <>
1035  VParameterSet ParameterSet::getUntrackedParameter<VParameterSet>(std::string const& name,
1036  VParameterSet const& defaultValue) const;
1037 
1038  template <>
1039  VParameterSet ParameterSet::getUntrackedParameter<VParameterSet>(std::string const& name) const;
1040 
1041  template <>
1042  std::vector<std::string> ParameterSet::getParameterNamesForType<ParameterSet>(bool trackiness) const;
1043 
1044  template <>
1045  std::vector<std::string> ParameterSet::getParameterNamesForType<VParameterSet>(bool trackiness) const;
1046 } // namespace edm
1047 #endif
edm::ParameterSet::registerIt
ParameterSet const & registerIt()
Definition: ParameterSet.cc:106
edm::ParameterSetID
Hash< ParameterSetType > ParameterSetID
Definition: ParameterSetID.h:21
edm::ParameterSet::copyFrom
void copyFrom(ParameterSet const &from, std::string const &name)
Definition: ParameterSet.cc:437
edm::ParameterSet::psetTable_
psettable psetTable_
Definition: ParameterSet.h:255
edm::ParameterSet::tbl_
table tbl_
Definition: ParameterSet.h:254
edm::ParameterSet::insertParameterSet
void insertParameterSet(bool okay_to_replace, std::string const &name, ParameterSetEntry const &entry)
Definition: ParameterSet.cc:390
edm::ParameterSet::registerFromString
static void registerFromString(std::string const &rep)
Definition: ParameterSet.cc:79
edm::ParameterSet::getParameterSetVectorNames
size_t getParameterSetVectorNames(std::vector< std::string > &output, bool trackiness=true) const
Definition: ParameterSet.cc:726
edm::ParameterSet::retrieve
Entry const & retrieve(char const *) const
Definition: ParameterSet.cc:219
edm::ParameterSet::calculateID
void calculateID()
Definition: ParameterSet.cc:153
edm::ParameterSet::getUntrackedParameterSetVector
VParameterSet getUntrackedParameterSetVector(std::string const &name, VParameterSet const &defaultValue) const
Definition: ParameterSet.cc:2161
edm::ParameterSet::getPSetForUpdate
ParameterSet * getPSetForUpdate(std::string const &name)
Definition: ParameterSet.h:232
ESInputTag
edm::ParameterSet::getUntrackedParameterSet
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
Definition: ParameterSet.cc:2129
edm::ParameterSet::operator<<
friend std::ostream & operator<<(std::ostream &os, ParameterSet const &pset)
Definition: ParameterSet.cc:849
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
edm::ParameterSet::eraseOrSetUntrackedParameterSet
void eraseOrSetUntrackedParameterSet(std::string const &name)
Definition: ParameterSet.cc:131
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ParameterSet::toString
std::string toString() const
Definition: ParameterSet.cc:578
mps_splice.entry
entry
Definition: mps_splice.py:68
edm::ParameterSet::trackedID
ParameterSetID trackedID() const
Definition: ParameterSet.h:61
edm::swap
void swap(Association< C > &lhs, Association< C > &rhs)
Definition: Association.h:117
edm::Entry::typeCode
char typeCode() const
Definition: Entry.h:176
edm::ParameterSet::getNamesByCode_
size_t getNamesByCode_(char code, bool trackiness, std::vector< std::string > &output) const
Definition: ParameterSet.cc:735
edm::VParameterSet
std::vector< ParameterSet > VParameterSet
Definition: ParameterSet.h:33
edm::ParameterSet::augment
void augment(ParameterSet const &from)
Definition: ParameterSet.cc:419
edm::ParameterSet::addUntrackedParameter
void addUntrackedParameter(char const *name, T const &value)
Definition: ParameterSet.h:186
edm::getProcessParameterSetContainingModule
ParameterSet const & getProcessParameterSetContainingModule(ModuleDescription const &moduleDescription)
Definition: ParameterSet.cc:863
edm::ParameterSet::emptyParameterSetID
static ParameterSetID emptyParameterSetID()
Definition: ParameterSet.cc:87
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::ParameterSet::copyForModify
void copyForModify(ParameterSet const &other)
Definition: ParameterSet.cc:93
edm::ParameterSet::table
std::map< std::string, Entry > table
Definition: ParameterSet.h:221
edm::ParameterSet::id
ParameterSetID id() const
Definition: ParameterSet.cc:182
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:160
edm::ParameterSet::tbl
table const & tbl() const
Definition: ParameterSet.h:222
edm::ParameterSet::setID
void setID(ParameterSetID const &id)
Definition: ParameterSet.cc:191
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
edm::ParameterSet::id_
ParameterSetID id_
Definition: ParameterSet.h:261
edm::ParameterSet::addUntrackedParameter
void addUntrackedParameter(std::string const &name, T const &value)
Definition: ParameterSet.h:181
edm::ModuleDescription
Definition: ModuleDescription.h:21
FileInPath.h
Entry.h
edm::ParameterSet::psetTable
psettable const & psetTable() const
Definition: ParameterSet.h:225
edm::ParameterSet::popParameterSet
std::unique_ptr< ParameterSet > popParameterSet(std::string const &name)
Definition: ParameterSet.cc:114
edm::operator!=
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
Definition: debugging_allocator.h:75
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
edm::Hash::isValid
bool isValid() const
Definition: Hash.h:141
edm::ParameterSet::vpsettable
std::map< std::string, VParameterSetEntry > vpsettable
Definition: ParameterSet.h:227
cms::Digest
Definition: Digest.h:46
names
const std::string names[nVars_]
Definition: PhotonIDValueMapProducer.cc:122
edm::operator==
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
Definition: debugging_allocator.h:72
edm::ParameterSet::dump
std::string dump(unsigned int indent=0) const
Definition: ParameterSet.cc:825
edm::ParameterSet::insert
void insert(bool ok_to_replace, char const *, Entry const &)
Definition: ParameterSet.cc:373
edm::ParameterSet::retrieveUntrackedParameterSet
ParameterSetEntry const * retrieveUntrackedParameterSet(std::string const &) const
Definition: ParameterSet.cc:280
edm::ParameterSet::getEntryPointerOrThrow_
Entry const * getEntryPointerOrThrow_(std::string const &name) const
Definition: ParameterSet.cc:201
edm::ParameterSet::retrieveVParameterSet
VParameterSetEntry const & retrieveVParameterSet(std::string const &) const
Definition: ParameterSet.cc:300
edm::Hash< ParameterSetType >
trackingPlots.other
other
Definition: trackingPlots.py:1465
VParameterSetEntry.h
b
double b
Definition: hdecay.h:118
edm::ParameterSet::retrieveUntracked
Entry const * retrieveUntracked(char const *) const
Definition: ParameterSet.cc:240
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet::retrieveUnknownVParameterSet
VParameterSetEntry const * retrieveUnknownVParameterSet(std::string const &) const
Definition: ParameterSet.cc:346
edm::ParameterSet::eraseSimpleParameter
void eraseSimpleParameter(std::string const &name)
Definition: ParameterSet.cc:124
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:674
edm::ParameterSet::ParameterSet
ParameterSet()
Definition: ParameterSet.cc:52
edm::ParameterSet::~ParameterSet
~ParameterSet()=default
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
edm::ParameterSet::getAllFileInPaths
std::vector< FileInPath >::size_type getAllFileInPaths(std::vector< FileInPath > &output) const
Definition: ParameterSet.cc:641
a
double a
Definition: hdecay.h:119
edm::ParameterSet::operator=
ParameterSet & operator=(ParameterSet const &other)=default
edm::ParameterSet::insertVParameterSet
void insertVParameterSet(bool okay_to_replace, std::string const &name, VParameterSetEntry const &entry)
Definition: ParameterSet.cc:403
ParameterSet
Definition: Functions.h:16
edm::ParameterSet::invalidateRegistration
void invalidateRegistration(std::string const &nameOfTracked)
Definition: ParameterSet.cc:32
edm::ParameterSet::addParameter
void addParameter(std::string const &name, T const &value)
Definition: ParameterSet.h:124
edm::ParameterSet::getParameterNames
std::vector< std::string > getParameterNames() const
Definition: ParameterSet.cc:656
edm::ParameterSet::getParameterNamesForType
std::vector< std::string > getParameterNamesForType(bool trackiness=true) const
Definition: ParameterSet.h:168
edm::ParameterSet::retrieveUnknown
Entry const * retrieveUnknown(char const *) const
Definition: ParameterSet.cc:328
value
Definition: value.py:1
cuy.rep
rep
Definition: cuy.py:1190
edm::ParameterSet::popVParameterSet
std::vector< ParameterSet > popVParameterSet(std::string const &name)
Definition: ParameterSet.cc:143
edm::ParameterSet::fromString
bool fromString(std::string const &)
Definition: ParameterSet.cc:586
edm::ParameterSet::getParameterAsString
std::string getParameterAsString(std::string const &name) const
Definition: ParameterSet.cc:357
edm::ParameterSet::isRegistered
bool isRegistered() const
Definition: ParameterSet.h:60
edm::ParameterSet::toDigest
void toDigest(cms::Digest &digest) const
Definition: ParameterSet.cc:542
edm::ParameterSet::swap
void swap(ParameterSet &other)
Definition: ParameterSet.cc:99
LuminosityBlockRange
edm::isTransientEqual
bool isTransientEqual(ParameterSet const &a, ParameterSet const &b)
Definition: ParameterSet.cc:770
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
edm::getParameterSet
ParameterSet const & getParameterSet(ParameterSetID const &id)
Definition: ParameterSet.cc:855
edm::ParameterSet::vpsetTable
vpsettable const & vpsetTable() const
Definition: ParameterSet.h:228
T
long double T
Definition: Basic3DVectorLD.h:48
edm::ParameterSet::deprecatedInputTagWarning
void deprecatedInputTagWarning(std::string const &name, std::string const &label) const
Definition: ParameterSet.cc:867
edm::ParameterSet::psettable
std::map< std::string, ParameterSetEntry > psettable
Definition: ParameterSet.h:224
edm::ParameterSet::trackedPart
ParameterSet trackedPart() const
Definition: ParameterSet.cc:679
edm::ParameterSet::retrieveUnknownParameterSet
ParameterSetEntry const * retrieveUnknownParameterSet(std::string const &) const
Definition: ParameterSet.cc:338
util.rrClient.indent
indent
Definition: rrClient.py:41
edm::VParameterSetEntry
Definition: VParameterSetEntry.h:24
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
edm::ParameterSetEntry
Definition: ParameterSetEntry.h:23
edm::ParameterSet::vpsetTable_
vpsettable vpsetTable_
Definition: ParameterSet.h:256
edm::ParameterSet::toStringImp
void toStringImp(std::string &, bool useAll) const
Definition: ParameterSet.cc:476
funct::void
TEMPL(T2) struct Divides void
Definition: Factorize.h:29
edm::ParameterSet::getParameterSetVector
VParameterSet const & getParameterSetVector(std::string const &name) const
Definition: ParameterSet.cc:2153
ParameterSetID.h
mps_fire.result
result
Definition: mps_fire.py:303
edm::ParameterSet::addParameter
void addParameter(char const *name, T const &value)
Definition: ParameterSet.h:130
edm::ParameterSet::getPSetForUpdate
ParameterSet * getPSetForUpdate(std::string const &name, bool &isTracked)
Definition: ParameterSet.cc:450
edm::ParameterSet::allToString
void allToString(std::string &result) const
Definition: ParameterSet.cc:474
edm::ParameterSet::getPSetVectorForUpdate
VParameterSetEntry * getPSetVectorForUpdate(std::string const &name)
Definition: ParameterSet.cc:460
edm::ParameterDescription
Definition: ParameterDescription.h:110
edm::Entry
Definition: Entry.h:40
label
const char * label
Definition: PFTauDecayModeTools.cc:11
edm::ParameterSet::empty
bool empty() const
Definition: ParameterSet.h:190
edm::ParameterSet::retrieveParameterSet
ParameterSetEntry const & retrieveParameterSet(std::string const &) const
Definition: ParameterSet.cc:261
edm::ParameterSet::getParameterSet
ParameterSet const & getParameterSet(std::string const &) const
Definition: ParameterSet.cc:2121
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
edm::ParameterSet::retrieveUntrackedVParameterSet
VParameterSetEntry const * retrieveUntrackedVParameterSet(std::string const &) const
Definition: ParameterSet.cc:314
ParameterSetEntry.h
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21
edm::ParameterSet::getParameterSetNames
size_t getParameterSetNames(std::vector< std::string > &output, bool trackiness=true) const
Definition: ParameterSet.cc:717