1 #ifndef FWCore_ParameterSet_ParameterSet_h
2 #define FWCore_ParameterSet_ParameterSet_h
79 void insert(
bool ok_to_replace,
char const*,
Entry const&);
123 template <
typename T>
129 template <
typename T>
135 template <
typename T>
138 template <
typename T>
141 template <
typename T>
144 template <
typename T>
159 template <
typename T>
161 std::vector<std::string>
names = getParameterNamesForType<T>(trackiness);
167 template <
typename T>
169 std::vector<std::string>
result;
174 char type_code = type_translator.
typeCode();
180 template <
typename T>
185 template <
typename T>
221 typedef std::map<std::string, Entry>
table;
224 typedef std::map<std::string, ParameterSetEntry>
psettable;
227 typedef std::map<std::string, VParameterSetEntry>
vpsettable;
233 bool isTracked =
false;
304 std::vector<int> ParameterSet::getParameter<std::vector<int> >(
std::string const&
name)
const;
310 long long ParameterSet::getParameter<long long>(
std::string const&
name)
const;
313 std::vector<long long> ParameterSet::getParameter<std::vector<long long> >(
std::string const&
name)
const;
319 unsigned int ParameterSet::getParameter<unsigned int>(
std::string const&
name)
const;
322 std::vector<unsigned int> ParameterSet::getParameter<std::vector<unsigned int> >(
std::string const&
name)
const;
328 unsigned long long ParameterSet::getParameter<unsigned long long>(
std::string const&
name)
const;
331 std::vector<unsigned long long> ParameterSet::getParameter<std::vector<unsigned long long> >(
338 double ParameterSet::getParameter<double>(
std::string const&
name)
const;
341 std::vector<double> ParameterSet::getParameter<std::vector<double> >(
std::string const&
name)
const;
350 std::vector<std::string> ParameterSet::getParameter<std::vector<std::string> >(
std::string const&
name)
const;
356 FileInPath ParameterSet::getParameter<FileInPath>(
std::string const&
name)
const;
361 std::vector<std::string> ParameterSet::getParameterNamesForType<FileInPath>(
bool trackiness)
const;
373 std::vector<InputTag> ParameterSet::getParameter<std::vector<InputTag> >(
std::string const&
name)
const;
385 std::vector<ESInputTag> ParameterSet::getParameter<std::vector<ESInputTag> >(
std::string const&
name)
const;
391 EventID ParameterSet::getParameter<EventID>(
std::string const&
name)
const;
397 std::vector<EventID> ParameterSet::getParameter<std::vector<EventID> >(
std::string const&
name)
const;
403 LuminosityBlockID ParameterSet::getParameter<LuminosityBlockID>(
std::string const&
name)
const;
409 std::vector<LuminosityBlockID> ParameterSet::getParameter<std::vector<LuminosityBlockID> >(
416 EventRange ParameterSet::getParameter<EventRange>(
std::string const&
name)
const;
422 std::vector<EventRange> ParameterSet::getParameter<std::vector<EventRange> >(
std::string const&
name)
const;
434 std::vector<LuminosityBlockRange> ParameterSet::getParameter<std::vector<LuminosityBlockRange> >(
476 bool ParameterSet::getUntrackedParameter<bool>(
std::string const&
name,
bool const& defaultValue)
const;
479 bool ParameterSet::getUntrackedParameter<bool>(
std::string const&
name)
const;
485 int ParameterSet::getUntrackedParameter<int>(
std::string const&
name,
int const& defaultValue)
const;
488 int ParameterSet::getUntrackedParameter<int>(
std::string const&
name)
const;
491 std::vector<int> ParameterSet::getUntrackedParameter<std::vector<int> >(
std::string const&
name,
492 std::vector<int>
const& defaultValue)
const;
495 std::vector<int> ParameterSet::getUntrackedParameter<std::vector<int> >(
std::string const&
name)
const;
501 unsigned int ParameterSet::getUntrackedParameter<unsigned int>(
std::string const&
name,
502 unsigned int const& defaultValue)
const;
505 unsigned int ParameterSet::getUntrackedParameter<unsigned int>(
std::string const&
name)
const;
508 std::vector<unsigned int> ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(
509 std::string const&
name, std::vector<unsigned int>
const& defaultValue)
const;
512 std::vector<unsigned int> ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(
519 unsigned long long ParameterSet::getUntrackedParameter<unsigned long long>(
520 std::string const&
name,
unsigned long long const& defaultValue)
const;
523 unsigned long long ParameterSet::getUntrackedParameter<unsigned long long>(
std::string const&
name)
const;
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;
530 std::vector<unsigned long long> ParameterSet::getUntrackedParameter<std::vector<unsigned long long> >(
537 long long ParameterSet::getUntrackedParameter<long long>(
std::string const&
name,
538 long long const& defaultValue)
const;
541 long long ParameterSet::getUntrackedParameter<long long>(
std::string const&
name)
const;
544 std::vector<long long> ParameterSet::getUntrackedParameter<std::vector<long long> >(
545 std::string const&
name, std::vector<long long>
const& defaultValue)
const;
548 std::vector<long long> ParameterSet::getUntrackedParameter<std::vector<long long> >(
std::string const&
name)
const;
554 double ParameterSet::getUntrackedParameter<double>(
std::string const&
name,
double const& defaultValue)
const;
557 double ParameterSet::getUntrackedParameter<double>(
std::string const&
name)
const;
560 std::vector<double> ParameterSet::getUntrackedParameter<std::vector<double> >(
561 std::string const&
name, std::vector<double>
const& defaultValue)
const;
564 std::vector<double> ParameterSet::getUntrackedParameter<std::vector<double> >(
std::string const&
name)
const;
577 std::vector<std::string> ParameterSet::getUntrackedParameter<std::vector<std::string> >(
578 std::string const&
name, std::vector<std::string>
const& defaultValue)
const;
581 std::vector<std::string> ParameterSet::getUntrackedParameter<std::vector<std::string> >(
std::string const&
name)
const;
587 FileInPath ParameterSet::getUntrackedParameter<FileInPath>(
std::string const&
name,
588 FileInPath
const& defaultValue)
const;
591 FileInPath ParameterSet::getUntrackedParameter<FileInPath>(
std::string const&
name)
const;
603 std::vector<InputTag> ParameterSet::getUntrackedParameter<std::vector<InputTag> >(
604 std::string const&
name, std::vector<InputTag>
const& defaultValue)
const;
607 std::vector<InputTag> ParameterSet::getUntrackedParameter<std::vector<InputTag> >(
std::string const&
name)
const;
613 EventID ParameterSet::getUntrackedParameter<EventID>(
std::string const&
name, EventID
const& defaultValue)
const;
616 EventID ParameterSet::getUntrackedParameter<EventID>(
std::string const&
name)
const;
619 std::vector<EventID> ParameterSet::getUntrackedParameter<std::vector<EventID> >(
620 std::string const&
name, std::vector<EventID>
const& defaultValue)
const;
622 std::vector<EventID> ParameterSet::getUntrackedParameter<std::vector<EventID> >(
std::string const&
name)
const;
628 LuminosityBlockID ParameterSet::getUntrackedParameter<LuminosityBlockID>(
std::string const&
name,
629 LuminosityBlockID
const& defaultValue)
const;
632 LuminosityBlockID ParameterSet::getUntrackedParameter<LuminosityBlockID>(
std::string const&
name)
const;
635 std::vector<LuminosityBlockID> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(
636 std::string const&
name, std::vector<LuminosityBlockID>
const& defaultValue)
const;
638 std::vector<LuminosityBlockID> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(
645 EventRange ParameterSet::getUntrackedParameter<EventRange>(
std::string const&
name,
646 EventRange
const& defaultValue)
const;
649 EventRange ParameterSet::getUntrackedParameter<EventRange>(
std::string const&
name)
const;
652 std::vector<EventRange> ParameterSet::getUntrackedParameter<std::vector<EventRange> >(
653 std::string const&
name, std::vector<EventRange>
const& defaultValue)
const;
655 std::vector<EventRange> ParameterSet::getUntrackedParameter<std::vector<EventRange> >(
std::string const&
name)
const;
668 std::vector<LuminosityBlockRange> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(
669 std::string const&
name, std::vector<LuminosityBlockRange>
const& defaultValue)
const;
671 std::vector<LuminosityBlockRange> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(
679 bool ParameterSet::getParameter<bool>(
char const*
name)
const;
685 int ParameterSet::getParameter<int>(
char const*
name)
const;
688 std::vector<int> ParameterSet::getParameter<std::vector<int> >(
char const*
name)
const;
694 long long ParameterSet::getParameter<long long>(
char const*
name)
const;
697 std::vector<long long> ParameterSet::getParameter<std::vector<long long> >(
char const*
name)
const;
703 unsigned int ParameterSet::getParameter<unsigned int>(
char const*
name)
const;
706 std::vector<unsigned int> ParameterSet::getParameter<std::vector<unsigned int> >(
char const*
name)
const;
712 unsigned long long ParameterSet::getParameter<unsigned long long>(
char const*
name)
const;
715 std::vector<unsigned long long> ParameterSet::getParameter<std::vector<unsigned long long> >(
char const*
name)
const;
721 double ParameterSet::getParameter<double>(
char const*
name)
const;
724 std::vector<double> ParameterSet::getParameter<std::vector<double> >(
char const*
name)
const;
730 std::string ParameterSet::getParameter<std::string>(
char const*
name)
const;
733 std::vector<std::string> ParameterSet::getParameter<std::vector<std::string> >(
char const*
name)
const;
739 FileInPath ParameterSet::getParameter<FileInPath>(
char const*
name)
const;
745 InputTag ParameterSet::getParameter<InputTag>(
char const*
name)
const;
751 std::vector<InputTag> ParameterSet::getParameter<std::vector<InputTag> >(
char const*
name)
const;
757 EventID ParameterSet::getParameter<EventID>(
char const*
name)
const;
763 std::vector<EventID> ParameterSet::getParameter<std::vector<EventID> >(
char const*
name)
const;
769 LuminosityBlockID ParameterSet::getParameter<LuminosityBlockID>(
char const*
name)
const;
775 std::vector<LuminosityBlockID> ParameterSet::getParameter<std::vector<LuminosityBlockID> >(
char const*
name)
const;
781 EventRange ParameterSet::getParameter<EventRange>(
char const*
name)
const;
787 std::vector<EventRange> ParameterSet::getParameter<std::vector<EventRange> >(
char const*
name)
const;
799 std::vector<LuminosityBlockRange> ParameterSet::getParameter<std::vector<LuminosityBlockRange> >(
800 char const*
name)
const;
806 ParameterSet ParameterSet::getParameter<ParameterSet>(
char const*
name)
const;
817 bool ParameterSet::getUntrackedParameter<bool>(
char const*
name,
bool const& defaultValue)
const;
820 bool ParameterSet::getUntrackedParameter<bool>(
char const*
name)
const;
826 int ParameterSet::getUntrackedParameter<int>(
char const*
name,
int const& defaultValue)
const;
829 int ParameterSet::getUntrackedParameter<int>(
char const*
name)
const;
832 std::vector<int> ParameterSet::getUntrackedParameter<std::vector<int> >(
char const*
name,
833 std::vector<int>
const& defaultValue)
const;
836 std::vector<int> ParameterSet::getUntrackedParameter<std::vector<int> >(
char const*
name)
const;
842 unsigned int ParameterSet::getUntrackedParameter<unsigned int>(
char const*
name,
843 unsigned int const& defaultValue)
const;
846 unsigned int ParameterSet::getUntrackedParameter<unsigned int>(
char const*
name)
const;
849 std::vector<unsigned int> ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(
850 char const*
name, std::vector<unsigned int>
const& defaultValue)
const;
853 std::vector<unsigned int> ParameterSet::getUntrackedParameter<std::vector<unsigned int> >(
char const*
name)
const;
859 unsigned long long ParameterSet::getUntrackedParameter<unsigned long long>(
860 char const*
name,
unsigned long long const& defaultValue)
const;
863 unsigned long long ParameterSet::getUntrackedParameter<unsigned long long>(
char const*
name)
const;
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;
870 std::vector<unsigned long long> ParameterSet::getUntrackedParameter<std::vector<unsigned long long> >(
871 char const*
name)
const;
877 long long ParameterSet::getUntrackedParameter<long long>(
char const*
name,
long long const& defaultValue)
const;
880 long long ParameterSet::getUntrackedParameter<long long>(
char const*
name)
const;
883 std::vector<long long> ParameterSet::getUntrackedParameter<std::vector<long long> >(
884 char const*
name, std::vector<long long>
const& defaultValue)
const;
887 std::vector<long long> ParameterSet::getUntrackedParameter<std::vector<long long> >(
char const*
name)
const;
893 double ParameterSet::getUntrackedParameter<double>(
char const*
name,
double const& defaultValue)
const;
896 double ParameterSet::getUntrackedParameter<double>(
char const*
name)
const;
899 std::vector<double> ParameterSet::getUntrackedParameter<std::vector<double> >(
900 char const*
name, std::vector<double>
const& defaultValue)
const;
903 std::vector<double> ParameterSet::getUntrackedParameter<std::vector<double> >(
char const*
name)
const;
912 std::string ParameterSet::getUntrackedParameter<std::string>(
char const*
name)
const;
915 std::vector<std::string> ParameterSet::getUntrackedParameter<std::vector<std::string> >(
916 char const*
name, std::vector<std::string>
const& defaultValue)
const;
919 std::vector<std::string> ParameterSet::getUntrackedParameter<std::vector<std::string> >(
char const*
name)
const;
925 FileInPath ParameterSet::getUntrackedParameter<FileInPath>(
char const*
name, FileInPath
const& defaultValue)
const;
928 FileInPath ParameterSet::getUntrackedParameter<FileInPath>(
char const*
name)
const;
934 InputTag ParameterSet::getUntrackedParameter<InputTag>(
char const*
name,
InputTag const& defaultValue)
const;
937 InputTag ParameterSet::getUntrackedParameter<InputTag>(
char const*
name)
const;
940 std::vector<InputTag> ParameterSet::getUntrackedParameter<std::vector<InputTag> >(
941 char const*
name, std::vector<InputTag>
const& defaultValue)
const;
944 std::vector<InputTag> ParameterSet::getUntrackedParameter<std::vector<InputTag> >(
char const*
name)
const;
950 EventID ParameterSet::getUntrackedParameter<EventID>(
char const*
name, EventID
const& defaultValue)
const;
953 EventID ParameterSet::getUntrackedParameter<EventID>(
char const*
name)
const;
956 std::vector<EventID> ParameterSet::getUntrackedParameter<std::vector<EventID> >(
957 char const*
name, std::vector<EventID>
const& defaultValue)
const;
959 std::vector<EventID> ParameterSet::getUntrackedParameter<std::vector<EventID> >(
char const*
name)
const;
965 LuminosityBlockID ParameterSet::getUntrackedParameter<LuminosityBlockID>(
char const*
name,
966 LuminosityBlockID
const& defaultValue)
const;
969 LuminosityBlockID ParameterSet::getUntrackedParameter<LuminosityBlockID>(
char const*
name)
const;
972 std::vector<LuminosityBlockID> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(
973 char const*
name, std::vector<LuminosityBlockID>
const& defaultValue)
const;
975 std::vector<LuminosityBlockID> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockID> >(
976 char const*
name)
const;
982 EventRange ParameterSet::getUntrackedParameter<EventRange>(
char const*
name, EventRange
const& defaultValue)
const;
985 EventRange ParameterSet::getUntrackedParameter<EventRange>(
char const*
name)
const;
988 std::vector<EventRange> ParameterSet::getUntrackedParameter<std::vector<EventRange> >(
989 char const*
name, std::vector<EventRange>
const& defaultValue)
const;
991 std::vector<EventRange> ParameterSet::getUntrackedParameter<std::vector<EventRange> >(
char const*
name)
const;
1004 std::vector<LuminosityBlockRange> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(
1005 char const*
name, std::vector<LuminosityBlockRange>
const& defaultValue)
const;
1007 std::vector<LuminosityBlockRange> ParameterSet::getUntrackedParameter<std::vector<LuminosityBlockRange> >(
1008 char const*
name)
const;
1014 ParameterSet ParameterSet::getUntrackedParameter<ParameterSet>(
char const*
name,
1022 ParameterSet ParameterSet::getUntrackedParameter<ParameterSet>(
char const*
name)
const;
1028 VParameterSet ParameterSet::getUntrackedParameter<VParameterSet>(
char const*
name,
1032 VParameterSet ParameterSet::getUntrackedParameter<VParameterSet>(
char const*
name)
const;
1042 std::vector<std::string> ParameterSet::getParameterNamesForType<ParameterSet>(
bool trackiness)
const;
1045 std::vector<std::string> ParameterSet::getParameterNamesForType<VParameterSet>(
bool trackiness)
const;