2 #include "DataFormats/TestObjects/interface/ThingCollection.h" 32 virtual int value()
const = 0;
61 auto recursivePluginPSet = iPSet.getParameter<
edm::ParameterSet>(
"pluginRecursive");
68 iDesc.
add<
int>(
"value", 5);
84 "edmtestAnotherMakerWithRecursivePlugin");
105 std::vector<int>
vint;
114 assert(testArray[0] == 2147483647);
115 assert(testArray[1] == -2147483647);
116 std::array<int, 2> testArray1 = ps.
getParameter<std::array<int, 2>>(
"vint3");
117 assert(testArray1[0] == 2147483647);
118 assert(testArray1[1] == -2147483647);
127 std::vector<unsigned> vuint;
128 vuint = ps.
getParameter<std::vector<unsigned>>(
"vuint1");
130 vuint = ps.
getParameter<std::vector<unsigned>>(
"vuint2");
131 assert(vuint[0] == 4294967295
U);
132 vuint = ps.
getParameter<std::vector<unsigned>>(
"vuint3");
133 assert(vuint[0] == 4294967295
U);
135 vuint = ps.
getParameter<std::vector<unsigned>>(
"vuint4");
136 assert(vuint[0] == 4294967295
U);
144 std::vector<long long> vint64;
145 vint64 = ps.
getParameter<std::vector<long long>>(
"vint64v1");
147 vint64 = ps.
getParameter<std::vector<long long>>(
"vint64v2");
148 assert(vint64[0] == 9000000000000000000
LL);
149 vint64 = ps.
getParameter<std::vector<long long>>(
"vint64v3");
150 assert(vint64[0] == 9000000000000000000
LL);
151 assert(vint64[1] == -9000000000000000000
LL);
152 vint64 = ps.
getParameter<std::vector<long long>>(
"vint64v4");
153 assert(vint64[0] == 9000000000000000000
LL);
154 assert(vint64[1] == -9000000000000000000
LL);
160 std::vector<unsigned long long> vuint64;
161 vuint64 = ps.
getParameter<std::vector<unsigned long long>>(
"vuint64v1");
163 vuint64 = ps.
getParameter<std::vector<unsigned long long>>(
"vuint64v2");
164 assert(vuint64[0] == 18000000000000000000ULL);
165 vuint64 = ps.
getParameter<std::vector<unsigned long long>>(
"vuint64v3");
166 assert(vuint64[0] == 18000000000000000000ULL);
168 vuint64 = ps.
getParameter<std::vector<unsigned long long>>(
"vuint64v4");
169 assert(vuint64[0] == 18000000000000000000ULL);
208 std::vector<std::string>
vstring;
226 std::vector<edm::EventID> vEventID;
227 vEventID = ps.
getParameter<std::vector<edm::EventID>>(
"vEventIDv1");
229 vEventID = ps.
getParameter<std::vector<edm::EventID>>(
"vEventIDv2");
231 vEventID = ps.
getParameter<std::vector<edm::EventID>>(
"vEventIDv3");
234 vEventID = ps.
getParameter<std::vector<edm::EventID>>(
"vEventIDv4");
244 std::vector<edm::LuminosityBlockID> vLuminosityBlockID;
245 vLuminosityBlockID = ps.
getParameter<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv1");
246 assert(vLuminosityBlockID.empty());
247 vLuminosityBlockID = ps.
getParameter<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv2");
249 vLuminosityBlockID = ps.
getParameter<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv3");
252 vLuminosityBlockID = ps.
getParameter<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv4");
264 std::vector<edm::LuminosityBlockRange> vLumiRange;
265 vLumiRange = ps.
getParameter<std::vector<edm::LuminosityBlockRange>>(
"vLumiRangev1");
266 assert(vLumiRange.empty());
267 vLumiRange = ps.
getParameter<std::vector<edm::LuminosityBlockRange>>(
"vLumiRangev2");
269 vLumiRange = ps.
getParameter<std::vector<edm::LuminosityBlockRange>>(
"vLumiRangev3");
271 assert(vLumiRange[1].startLumiID() == lumiRange2.startLumiID());
272 assert(vLumiRange[1].endLumiID() == lumiRange2.endLumiID());
281 std::vector<edm::EventRange> vEventRange;
282 vEventRange = ps.
getParameter<std::vector<edm::EventRange>>(
"vEventRangev1");
283 assert(vEventRange.empty());
284 vEventRange = ps.
getParameter<std::vector<edm::EventRange>>(
"vEventRangev2");
285 assert(vEventRange[0].startEventID() == eventRange1.startEventID());
286 vEventRange = ps.
getParameter<std::vector<edm::EventRange>>(
"vEventRangev3");
287 assert(vEventRange[0].startEventID() == eventRange1.startEventID());
288 assert(vEventRange[1].startEventID() == eventRange2.startEventID());
299 std::vector<edm::InputTag> vInputTag;
300 vInputTag = ps.
getParameter<std::vector<edm::InputTag>>(
"vInputTagv1");
301 assert(vInputTag.empty());
302 vInputTag = ps.
getParameter<std::vector<edm::InputTag>>(
"vInputTagv2");
304 vInputTag = ps.
getParameter<std::vector<edm::InputTag>>(
"vInputTagv3");
307 vInputTag = ps.
getParameter<std::vector<edm::InputTag>>(
"vInputTagv4");
311 vInputTag = ps.
getParameter<std::vector<edm::InputTag>>(
"vInputTagv5");
315 assert(vInputTag[3] == inputTag4);
324 std::vector<edm::ESInputTag> vESInputTag;
325 vESInputTag = ps.
getParameter<std::vector<edm::ESInputTag>>(
"vESInputTagv1");
326 assert(vESInputTag.empty());
327 vESInputTag = ps.
getParameter<std::vector<edm::ESInputTag>>(
"vESInputTagv2");
328 assert(vESInputTag[0] == esinputTag1);
329 vESInputTag = ps.
getParameter<std::vector<edm::ESInputTag>>(
"vESInputTagv3");
330 assert(vESInputTag[0] == esinputTag1);
331 assert(vESInputTag[1] == esinputTag2);
332 vESInputTag = ps.
getParameter<std::vector<edm::ESInputTag>>(
"vESInputTagv4");
333 assert(vESInputTag[0] == esinputTag1);
334 assert(vESInputTag[1] == esinputTag2);
335 assert(vESInputTag[2] == esinputTag3);
339 edm::FileInPath fileInPath(
"FWCore/Integration/plugins/ProducerWithPSetDesc.cc");
343 assert(
pset.getParameter<
unsigned>(
"Drinks") == 5
U);
344 assert(
pset.getUntrackedParameter<
unsigned>(
"uDrinks") == 5
U);
346 assert(
pset.getParameter<
unsigned>(
"oDrinks") == 5
U);
348 assert(
pset.getUntrackedParameter<
unsigned>(
"ouDrinks") == 5
U);
358 assert(pset0.getParameter<
unsigned>(
"Drinks") == 5
U);
359 assert(pset0.getUntrackedParameter<
unsigned>(
"uDrinks") == 5
U);
360 assert(pset0.getParameter<
unsigned>(
"oDrinks") == 11
U);
361 assert(pset0.exists(
"ouDrinks") ==
false);
362 assert(pset0.exists(
"ndoDrinks") ==
false);
363 assert(pset0.exists(
"ndouDrinks") ==
false);
367 assert(pset1.getParameter<
unsigned>(
"Drinks") == 5
U);
368 assert(pset1.getUntrackedParameter<
unsigned>(
"uDrinks") == 5
U);
369 assert(pset1.getParameter<
unsigned>(
"oDrinks") == 11
U);
370 assert(pset1.getUntrackedParameter<
unsigned>(
"ouDrinks") == 11
U);
371 assert(pset1.exists(
"ndoDrinks") ==
false);
372 assert(pset1.getUntrackedParameter<
unsigned>(
"ndouDrinks") == 11
U);
495 assert(psetAllowed.
getParameter<std::vector<std::string>>(
"testAllowedLabels").empty());
498 assert(!psetAllowed.
exists(
"testOptAllowedLabelsUntracked"));
507 std::vector<edm::ParameterSet> vpset2 = ps.
getParameter<std::vector<edm::ParameterSet>>(
"plugin2");
508 for (
auto const& pset2 : vpset2) {
512 std::vector<edm::ParameterSet> vpset3 = ps.
getParameter<std::vector<edm::ParameterSet>>(
"plugin3");
513 for (
auto const& pset3 : vpset3) {
520 std::vector<edm::ParameterSet> vpset5 = ps.
getParameter<std::vector<edm::ParameterSet>>(
"plugin5");
521 for (
auto const& pset5 : vpset5) {
525 produces<ThingCollection>();
532 auto result = std::make_unique<ThingCollection>();
547 pn = iDesc.
add<
int>(
"p_int", p_int);
549 "A big integer. I am trying to test the wrapping of comments in" 550 " the printed output by putting in a long comment to see if it gets" 551 " wrapped OK. The comment should get indented to the second column" 552 " indent on every line. By default newlines should be inserted between" 553 " words to make the lines fit in the terminal screen width. There is " 554 "a command line parameter that can be set to override this width to " 555 "any desired value. If there is no terminal then it should default to " 556 "80. The logic for setting the width is in edmPluginHelp.cpp");
558 iDesc.
addUntracked<
int>(
"p_int_untracked", -2147483647);
564 std::vector<int>
vint;
565 iDesc.
add<std::vector<int>>(
"vint1",
vint);
566 vint.push_back(2147483647);
568 vint.push_back(-2147483647);
569 iDesc.
add<std::vector<int>>(
"vint3",
vint);
571 iDesc.
add<std::vector<int>>(
"vint4",
vint);
573 iDesc.
add<
unsigned>(
"uint1", 4294967295
U);
576 std::vector<unsigned> vuint;
577 iDesc.
add<std::vector<unsigned>>(
"vuint1", vuint);
578 vuint.push_back(4294967295
U);
579 iDesc.
add<std::vector<unsigned>>(
"vuint2", vuint);
581 iDesc.
add<std::vector<unsigned>>(
"vuint3", vuint);
583 iDesc.
add<std::vector<unsigned>>(
"vuint4", vuint);
587 iDesc.
add<std::vector<unsigned>>(
"vuint5", vuint);
589 iDesc.
add<
long long>(
"int64v1", 9000000000000000000
LL);
590 iDesc.
add<
long long>(
"int64v2", -9000000000000000000
LL);
591 iDesc.
add<
long long>(
"int64v3", 0);
593 std::vector<long long> vint64;
594 iDesc.
add<std::vector<long long>>(
"vint64v1", vint64);
595 vint64.push_back(9000000000000000000
LL);
596 iDesc.
add<std::vector<long long>>(
"vint64v2", vint64);
597 vint64.push_back(-9000000000000000000
LL);
598 iDesc.
add<std::vector<long long>>(
"vint64v3", vint64);
600 iDesc.
add<std::vector<long long>>(
"vint64v4", vint64);
602 iDesc.
add<
unsigned long long>(
"uint64v1", 18000000000000000000ULL);
605 std::vector<unsigned long long> vuint64;
606 iDesc.
add<std::vector<unsigned long long>>(
"vuint64v1", vuint64);
607 vuint64.push_back(18000000000000000000ULL);
608 iDesc.
add<std::vector<unsigned long long>>(
"vuint64v2", vuint64);
609 vuint64.push_back(0);
610 iDesc.
add<std::vector<unsigned long long>>(
"vuint64v3", vuint64);
611 vuint64.push_back(11);
612 iDesc.
add<std::vector<unsigned long long>>(
"vuint64v4", vuint64);
619 iDesc.
add<std::vector<double>>(
"vdoublev1",
vdouble);
624 iDesc.
add<std::vector<double>>(
"vdoublev2",
vdouble);
626 iDesc.
add<std::vector<double>>(
"vdoublev3",
vdouble);
628 iDesc.
add<std::vector<double>>(
"vdoublev4",
vdouble);
630 iDesc.
add<std::vector<double>>(
"vdoublev5",
vdouble);
632 iDesc.
add<
bool>(
"boolv1",
true);
633 iDesc.
add<
bool>(
"boolv2",
false);
640 std::vector<std::string>
vstring;
641 iDesc.
add<std::vector<std::string>>(
"vstringv1",
vstring);
644 iDesc.
add<std::vector<std::string>>(
"vstringv2",
vstring);
647 iDesc.
add<std::vector<std::string>>(
"vstringv3",
vstring);
650 iDesc.
add<std::vector<std::string>>(
"vstringv4",
vstring);
656 std::vector<edm::EventID> vEventID;
657 iDesc.
add<std::vector<edm::EventID>>(
"vEventIDv1", vEventID);
659 vEventID.push_back(eventID3);
660 iDesc.
add<std::vector<edm::EventID>>(
"vEventIDv2", vEventID);
662 vEventID.push_back(eventID4);
663 iDesc.
add<std::vector<edm::EventID>>(
"vEventIDv3", vEventID);
665 vEventID.push_back(eventID5);
666 iDesc.
add<std::vector<edm::EventID>>(
"vEventIDv4", vEventID);
673 std::vector<edm::LuminosityBlockID> vLuminosityBlockID;
674 iDesc.
add<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv1", vLuminosityBlockID);
676 vLuminosityBlockID.push_back(luminosityID3);
677 iDesc.
add<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv2", vLuminosityBlockID);
679 vLuminosityBlockID.push_back(luminosityID4);
680 iDesc.
add<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv3", vLuminosityBlockID);
682 vLuminosityBlockID.push_back(luminosityID5);
683 iDesc.
add<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv4", vLuminosityBlockID);
690 std::vector<edm::LuminosityBlockRange> vLumiRange;
691 iDesc.
add<std::vector<edm::LuminosityBlockRange>>(
"vLumiRangev1", vLumiRange);
693 iDesc.
add<std::vector<edm::LuminosityBlockRange>>(
"vLumiRangev2", vLumiRange);
694 vLumiRange.push_back(lumiRange2);
695 iDesc.
add<std::vector<edm::LuminosityBlockRange>>(
"vLumiRangev3", vLumiRange);
702 std::vector<edm::EventRange> vEventRange;
703 iDesc.
add<std::vector<edm::EventRange>>(
"vEventRangev1", vEventRange);
705 iDesc.
add<std::vector<edm::EventRange>>(
"vEventRangev2", vEventRange);
706 vEventRange.push_back(eventRange2);
707 iDesc.
add<std::vector<edm::EventRange>>(
"vEventRangev3", vEventRange);
718 std::vector<edm::InputTag> vInputTag;
719 iDesc.
add<std::vector<edm::InputTag>>(
"vInputTagv1", vInputTag);
721 iDesc.
add<std::vector<edm::InputTag>>(
"vInputTagv2", vInputTag);
723 iDesc.
add<std::vector<edm::InputTag>>(
"vInputTagv3", vInputTag);
725 iDesc.
add<std::vector<edm::InputTag>>(
"vInputTagv4", vInputTag);
726 vInputTag.push_back(inputTag4);
727 iDesc.
add<std::vector<edm::InputTag>>(
"vInputTagv5", vInputTag);
736 std::vector<edm::ESInputTag> vESInputTag;
737 iDesc.
add<std::vector<edm::ESInputTag>>(
"vESInputTagv1", vESInputTag);
738 vESInputTag.push_back(esinputTag);
739 iDesc.
add<std::vector<edm::ESInputTag>>(
"vESInputTagv2", vESInputTag);
740 vESInputTag.push_back(esinputTag2);
741 iDesc.
add<std::vector<edm::ESInputTag>>(
"vESInputTagv3", vESInputTag);
742 vESInputTag.push_back(esinputTag3);
743 iDesc.
add<std::vector<edm::ESInputTag>>(
"vESInputTagv4", vESInputTag);
747 edm::FileInPath fileInPath(
"FWCore/Integration/plugins/ProducerWithPSetDesc.cc");
754 bar.add<
unsigned int>(
"Drinks", 5);
755 bar.addUntracked<
unsigned int>(
"uDrinks", 5);
756 bar.addOptional<
unsigned int>(
"oDrinks", 5);
757 bar.addOptionalUntracked<
unsigned int>(
"ouDrinks", 5);
758 iDesc.
add(
"bar", bar);
764 barx.
add<
unsigned int>(
"Drinks", 5);
778 std::vector<edm::ParameterSet> defaultVPSet104;
781 std::string(
"test104"), barx,
false, defaultVPSet104);
784 std::vector<edm::ParameterSet> defaultVPSet105;
786 std::string(
"test105"), barx,
false, defaultVPSet105);
835 deeplyNested.
add<
int>(
"testint", 1000);
837 barx.
add(
"testDeeplyNested", deeplyNested);
839 iDesc.
add(
"testDeeplyNested2", deeplyNested);
842 validator.
add<
int>(
"xvalue", 7);
843 std::vector<edm::ParameterSet> vDefaults;
845 vDefaults.push_back(vDefaults0);
848 vDefaults.push_back(vDefaults1);
849 barx.
addVPSet(
"anotherVPSet", validator, vDefaults);
851 std::vector<edm::ParameterSet> defaultVPSet;
855 defaultVPSet.push_back(psetInVector1);
862 std::vector<edm::ParameterSet> anotherDefaultVPSet;
866 anotherDefaultVPSet.push_back(anotherParameterSet);
867 psetInVector2.
addParameter<std::vector<edm::ParameterSet>>(
"anotherVPSet", anotherDefaultVPSet);
873 defaultVPSet.push_back(psetInVector2);
875 iDesc.
addVPSet(
"bars", barx, defaultVPSet);
882 subPsetDescription->
add<
int>(
"xvalue", 11);
891 pn->setComment(
"A comment for a wildcard parameter");
893 std::unique_ptr<edm::ParameterDescriptionNode> wnode =
894 std::make_unique<edm::ParameterWildcard<edm::ParameterSetDescription>>(
"*",
edm::RequireExactlyOne,
true);
898 wSet1.
add<
unsigned int>(
"Drinks", 5);
900 std::unique_ptr<edm::ParameterDescriptionNode> wnode2 =
901 std::make_unique<edm::ParameterWildcard<edm::ParameterSetDescription>>(
905 std::unique_ptr<edm::ParameterDescriptionNode> wnode3 =
906 std::make_unique<edm::ParameterWildcard<std::vector<edm::ParameterSet>>>(
"*",
edm::RequireExactlyOne,
true);
909 wSet1.
add<
unsigned int>(
"Drinks2", 11);
911 std::unique_ptr<edm::ParameterDescriptionNode> wnode4 =
912 std::make_unique<edm::ParameterWildcard<std::vector<edm::ParameterSet>>>(
920 std::vector<int> testIntVector;
921 testIntVector.push_back(21);
922 testIntVector.push_back(22);
929 pn->setComment(
"Comment for a ParameterSwitch");
936 ->setComment(
"If TeV refits are added, their sources need to be specified");
1037 noDefaultPset3.
addOptional<std::vector<int>>(
"noDefault2");
1038 noDefaultPset3.
addOptional<
unsigned>(
"noDefault3");
1039 noDefaultPset3.
addOptional<std::vector<unsigned>>(
"noDefault4");
1040 noDefaultPset3.
addOptional<
long long>(
"noDefault5");
1041 noDefaultPset3.
addOptional<std::vector<long long>>(
"noDefault6");
1042 noDefaultPset3.
addOptional<
unsigned long long>(
"noDefault7");
1043 noDefaultPset3.
addOptional<std::vector<unsigned long long>>(
"noDefault8");
1045 noDefaultPset3.
addOptional<std::vector<double>>(
"noDefault10");
1048 noDefaultPset3.
addOptional<std::vector<std::string>>(
"noDefault13");
1050 noDefaultPset3.
addOptional<std::vector<edm::EventID>>(
"noDefault15");
1052 noDefaultPset3.
addOptional<std::vector<edm::LuminosityBlockID>>(
"noDefault17");
1054 noDefaultPset3.
addOptional<std::vector<edm::InputTag>>(
"noDefault19");
1057 noDefaultPset3.
addOptional<std::vector<edm::LuminosityBlockRange>>(
"noDefault22");
1059 noDefaultPset3.
addOptional<std::vector<edm::EventRange>>(
"noDefault24");
1061 iDesc.
add(
"noDefaultPset3", noDefaultPset3);
1090 iDesc.
add(
"noDefaultPset4", noDefaultPset4);
1102 std::vector<edm::ParameterSet> vDefaultsPlugins2;
1103 iDesc.
addVPSet(
"plugin2", pluginDesc2, vDefaultsPlugins2);
1107 std::vector<edm::ParameterSet> vDefaultsPlugins3;
1110 vDefaultsPlugins3.push_back(vpsetDefault0);
1114 vDefaultsPlugins3.push_back(vpsetDefault1);
1116 iDesc.
addVPSet(
"plugin3", pluginDesc3, vDefaultsPlugins3);
1126 std::vector<edm::ParameterSet> vDefaultsPlugins5;
1130 vDefaultsPlugins5.push_back(vpsetDefault0);
1134 vDefaultsPlugins5.push_back(vpsetDefault1);
1136 iDesc.
addVPSet(
"plugin5", pluginDesc5, vDefaultsPlugins5);
1144 descriptions.
add(
"testProducerWithPsetDesc", iDesc);
1150 iDesc1.
setComment(
"A comment for a ParameterSetDescription");
1155 noDefaultPset1.
add<std::vector<int>>(
"noDefault2");
1156 noDefaultPset1.
add<
unsigned>(
"noDefault3");
1157 noDefaultPset1.
add<std::vector<unsigned>>(
"noDefault4");
1158 noDefaultPset1.
add<
long long>(
"noDefault5");
1159 noDefaultPset1.
add<std::vector<long long>>(
"noDefault6");
1160 noDefaultPset1.
add<
unsigned long long>(
"noDefault7");
1161 noDefaultPset1.
add<std::vector<unsigned long long>>(
"noDefault8");
1162 noDefaultPset1.
add<
double>(
"noDefault9");
1163 noDefaultPset1.
add<std::vector<double>>(
"noDefault10");
1164 noDefaultPset1.
add<
bool>(
"noDefault11");
1166 noDefaultPset1.
add<std::vector<std::string>>(
"noDefault13");
1168 noDefaultPset1.
add<std::vector<edm::EventID>>(
"noDefault15");
1170 noDefaultPset1.
add<std::vector<edm::LuminosityBlockID>>(
"noDefault17");
1172 noDefaultPset1.
add<std::vector<edm::InputTag>>(
"noDefault19");
1175 noDefaultPset1.
add<std::vector<edm::LuminosityBlockRange>>(
"noDefault22");
1177 noDefaultPset1.
add<std::vector<edm::EventRange>>(
"noDefault24");
1179 iDesc1.
add(
"noDefaultPset1", noDefaultPset1);
1184 noDefaultPset2.
addUntracked<std::vector<int>>(
"noDefault2");
1186 noDefaultPset2.
addUntracked<std::vector<unsigned>>(
"noDefault4");
1188 noDefaultPset2.
addUntracked<std::vector<long long>>(
"noDefault6");
1189 noDefaultPset2.
addUntracked<
unsigned long long>(
"noDefault7");
1190 noDefaultPset2.
addUntracked<std::vector<unsigned long long>>(
"noDefault8");
1192 noDefaultPset2.
addUntracked<std::vector<double>>(
"noDefault10");
1195 noDefaultPset2.
addUntracked<std::vector<std::string>>(
"noDefault13");
1197 noDefaultPset2.
addUntracked<std::vector<edm::EventID>>(
"noDefault15");
1199 noDefaultPset2.
addUntracked<std::vector<edm::LuminosityBlockID>>(
"noDefault17");
1201 noDefaultPset2.
addUntracked<std::vector<edm::InputTag>>(
"noDefault19");
1204 noDefaultPset2.
addUntracked<std::vector<edm::LuminosityBlockRange>>(
"noDefault22");
1206 noDefaultPset2.
addUntracked<std::vector<edm::EventRange>>(
"noDefault24");
1208 iDesc1.
add(
"noDefaultPset2", noDefaultPset2);
1209 descriptions.
add(
"testLabel1", iDesc1);
void setComment(std::string const &value)
ParameterDescriptionNode * ifValue(ParameterDescription< T > const &switchParameter, std::unique_ptr< ParameterDescriptionCases< T >> cases)
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
T getParameter(std::string const &) const
EventID startEventID() const
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
std::unique_ptr< AnotherIntMakerBase > pluginHelper_
ParameterDescriptionBase * addVPSet(U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults)
std::vector< std::unique_ptr< AnotherIntMakerBase > > pluginHelpers5_
#define EDM_REGISTER_VALIDATED_PLUGINFACTORY(_factory_, _category_)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
def create(alignables, pedeDump, additionalData, outputFile, config)
void setAllowAnything()
allow any parameter label/value pairs
AnotherOneMaker(edm::ParameterSet const &)
std::unique_ptr< AnotherIntMakerBase > pluginHelper1_
virtual ~AnotherIntMakerBase()=default
bool exists(std::string const ¶meterName) const
checks if a parameter exists
EventID endEventID() const
ParameterSet const & getParameterSet(std::string const &) const
virtual ParameterSetDescription const * parameterSetDescription() const
ParameterDescriptionNode * addNode(ParameterDescriptionNode const &node)
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
std::vector< std::unique_ptr< AnotherIntMakerBase > > pluginHelpers2_
virtual int value() const =0
AnotherValueMaker(edm::ParameterSet const &iPSet)
std::unique_ptr< AnotherIntMakerBase > recursivePluginHelper_
LuminosityBlockID endLumiID() const
T getUntrackedParameter(std::string const &, T const &) const
void setComment(std::string const &value)
AnotherMakerWithRecursivePlugin(edm::ParameterSet const &iPSet)
void addDefault(ParameterSetDescription const &psetDescription)
#define DEFINE_EDM_VALIDATED_PLUGIN(factory, type, name)
static void fillPSetDescription(edm::ParameterSetDescription &)
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
void addParameter(std::string const &name, T const &value)
ParameterDescriptionNode * addOptionalNode(ParameterDescriptionNode const &node, bool writeToCfi)
static void fillPSetDescription(edm::ParameterSetDescription &iDesc)
#define DEFINE_FWK_MODULE(type)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::vector< double > vdouble
std::unique_ptr< AnotherIntMakerBase > pluginHelper4_
void addUntrackedParameter(std::string const &name, T const &value)
ParameterDescriptionNode * ifValueOptional(ParameterDescription< T > const &switchParameter, std::unique_ptr< ParameterDescriptionCases< T >> cases, bool writeToCfi)
void produce(edm::StreamID, edm::Event &e, edm::EventSetup const &c) const override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ProducerWithPSetDesc(edm::ParameterSet const &ps)
VParameterSet const & getParameterSetVector(std::string const &name) const
bool testingAutoGeneratedCfi
std::vector< std::unique_ptr< AnotherIntMakerBase > > pluginHelpers3_
ParameterDescriptionBase * addOptionalUntracked(U const &iLabel, T const &value)
LuminosityBlockID startLumiID() const
static constexpr float d1
static void fillPSetDescription(edm::ParameterSetDescription &iDesc)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)