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>();
546 pn = iDesc.
add<
int>(
"p_int", 2147483647);
548 "A big integer. I am trying to test the wrapping of comments in" 549 " the printed output by putting in a long comment to see if it gets" 550 " wrapped OK. The comment should get indented to the second column" 551 " indent on every line. By default newlines should be inserted between" 552 " words to make the lines fit in the terminal screen width. There is " 553 "a command line parameter that can be set to override this width to " 554 "any desired value. If there is no terminal then it should default to " 555 "80. The logic for setting the width is in edmPluginHelp.cpp");
557 iDesc.
addUntracked<
int>(
"p_int_untracked", -2147483647);
563 std::vector<int>
vint;
564 iDesc.
add<std::vector<int>>(
"vint1",
vint);
565 vint.push_back(2147483647);
567 vint.push_back(-2147483647);
568 iDesc.
add<std::vector<int>>(
"vint3",
vint);
570 iDesc.
add<std::vector<int>>(
"vint4",
vint);
572 iDesc.
add<
unsigned>(
"uint1", 4294967295
U);
575 std::vector<unsigned> vuint;
576 iDesc.
add<std::vector<unsigned>>(
"vuint1", vuint);
577 vuint.push_back(4294967295
U);
578 iDesc.
add<std::vector<unsigned>>(
"vuint2", vuint);
580 iDesc.
add<std::vector<unsigned>>(
"vuint3", vuint);
582 iDesc.
add<std::vector<unsigned>>(
"vuint4", vuint);
586 iDesc.
add<std::vector<unsigned>>(
"vuint5", vuint);
588 iDesc.
add<
long long>(
"int64v1", 9000000000000000000
LL);
589 iDesc.
add<
long long>(
"int64v2", -9000000000000000000
LL);
590 iDesc.
add<
long long>(
"int64v3", 0);
592 std::vector<long long> vint64;
593 iDesc.
add<std::vector<long long>>(
"vint64v1", vint64);
594 vint64.push_back(9000000000000000000
LL);
595 iDesc.
add<std::vector<long long>>(
"vint64v2", vint64);
596 vint64.push_back(-9000000000000000000
LL);
597 iDesc.
add<std::vector<long long>>(
"vint64v3", vint64);
599 iDesc.
add<std::vector<long long>>(
"vint64v4", vint64);
601 iDesc.
add<
unsigned long long>(
"uint64v1", 18000000000000000000ULL);
604 std::vector<unsigned long long> vuint64;
605 iDesc.
add<std::vector<unsigned long long>>(
"vuint64v1", vuint64);
606 vuint64.push_back(18000000000000000000ULL);
607 iDesc.
add<std::vector<unsigned long long>>(
"vuint64v2", vuint64);
608 vuint64.push_back(0);
609 iDesc.
add<std::vector<unsigned long long>>(
"vuint64v3", vuint64);
610 vuint64.push_back(11);
611 iDesc.
add<std::vector<unsigned long long>>(
"vuint64v4", vuint64);
618 iDesc.
add<std::vector<double>>(
"vdoublev1",
vdouble);
623 iDesc.
add<std::vector<double>>(
"vdoublev2",
vdouble);
625 iDesc.
add<std::vector<double>>(
"vdoublev3",
vdouble);
627 iDesc.
add<std::vector<double>>(
"vdoublev4",
vdouble);
629 iDesc.
add<std::vector<double>>(
"vdoublev5",
vdouble);
631 iDesc.
add<
bool>(
"boolv1",
true);
632 iDesc.
add<
bool>(
"boolv2",
false);
639 std::vector<std::string>
vstring;
640 iDesc.
add<std::vector<std::string>>(
"vstringv1",
vstring);
643 iDesc.
add<std::vector<std::string>>(
"vstringv2",
vstring);
646 iDesc.
add<std::vector<std::string>>(
"vstringv3",
vstring);
649 iDesc.
add<std::vector<std::string>>(
"vstringv4",
vstring);
655 std::vector<edm::EventID> vEventID;
656 iDesc.
add<std::vector<edm::EventID>>(
"vEventIDv1", vEventID);
658 vEventID.push_back(eventID3);
659 iDesc.
add<std::vector<edm::EventID>>(
"vEventIDv2", vEventID);
661 vEventID.push_back(eventID4);
662 iDesc.
add<std::vector<edm::EventID>>(
"vEventIDv3", vEventID);
664 vEventID.push_back(eventID5);
665 iDesc.
add<std::vector<edm::EventID>>(
"vEventIDv4", vEventID);
672 std::vector<edm::LuminosityBlockID> vLuminosityBlockID;
673 iDesc.
add<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv1", vLuminosityBlockID);
675 vLuminosityBlockID.push_back(luminosityID3);
676 iDesc.
add<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv2", vLuminosityBlockID);
678 vLuminosityBlockID.push_back(luminosityID4);
679 iDesc.
add<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv3", vLuminosityBlockID);
681 vLuminosityBlockID.push_back(luminosityID5);
682 iDesc.
add<std::vector<edm::LuminosityBlockID>>(
"vLuminosityBlockIDv4", vLuminosityBlockID);
689 std::vector<edm::LuminosityBlockRange> vLumiRange;
690 iDesc.
add<std::vector<edm::LuminosityBlockRange>>(
"vLumiRangev1", vLumiRange);
692 iDesc.
add<std::vector<edm::LuminosityBlockRange>>(
"vLumiRangev2", vLumiRange);
693 vLumiRange.push_back(lumiRange2);
694 iDesc.
add<std::vector<edm::LuminosityBlockRange>>(
"vLumiRangev3", vLumiRange);
701 std::vector<edm::EventRange> vEventRange;
702 iDesc.
add<std::vector<edm::EventRange>>(
"vEventRangev1", vEventRange);
704 iDesc.
add<std::vector<edm::EventRange>>(
"vEventRangev2", vEventRange);
705 vEventRange.push_back(eventRange2);
706 iDesc.
add<std::vector<edm::EventRange>>(
"vEventRangev3", vEventRange);
717 std::vector<edm::InputTag> vInputTag;
718 iDesc.
add<std::vector<edm::InputTag>>(
"vInputTagv1", vInputTag);
720 iDesc.
add<std::vector<edm::InputTag>>(
"vInputTagv2", vInputTag);
722 iDesc.
add<std::vector<edm::InputTag>>(
"vInputTagv3", vInputTag);
724 iDesc.
add<std::vector<edm::InputTag>>(
"vInputTagv4", vInputTag);
725 vInputTag.push_back(inputTag4);
726 iDesc.
add<std::vector<edm::InputTag>>(
"vInputTagv5", vInputTag);
735 std::vector<edm::ESInputTag> vESInputTag;
736 iDesc.
add<std::vector<edm::ESInputTag>>(
"vESInputTagv1", vESInputTag);
737 vESInputTag.push_back(esinputTag);
738 iDesc.
add<std::vector<edm::ESInputTag>>(
"vESInputTagv2", vESInputTag);
739 vESInputTag.push_back(esinputTag2);
740 iDesc.
add<std::vector<edm::ESInputTag>>(
"vESInputTagv3", vESInputTag);
741 vESInputTag.push_back(esinputTag3);
742 iDesc.
add<std::vector<edm::ESInputTag>>(
"vESInputTagv4", vESInputTag);
746 edm::FileInPath fileInPath(
"FWCore/Integration/plugins/ProducerWithPSetDesc.cc");
753 bar.add<
unsigned int>(
"Drinks", 5);
754 bar.addUntracked<
unsigned int>(
"uDrinks", 5);
755 bar.addOptional<
unsigned int>(
"oDrinks", 5);
756 bar.addOptionalUntracked<
unsigned int>(
"ouDrinks", 5);
757 iDesc.
add(
"bar", bar);
763 barx.
add<
unsigned int>(
"Drinks", 5);
776 std::vector<edm::ParameterSet> defaultVPSet104;
779 std::string(
"test104"), barx,
false, defaultVPSet104);
782 std::vector<edm::ParameterSet> defaultVPSet105;
784 std::string(
"test105"), barx,
false, defaultVPSet105);
833 deeplyNested.
add<
int>(
"testint", 1000);
835 barx.
add(
"testDeeplyNested", deeplyNested);
837 iDesc.
add(
"testDeeplyNested2", deeplyNested);
840 validator.
add<
int>(
"xvalue", 7);
841 std::vector<edm::ParameterSet> vDefaults;
843 vDefaults.push_back(vDefaults0);
846 vDefaults.push_back(vDefaults1);
847 barx.
addVPSet(
"anotherVPSet", validator, vDefaults);
849 std::vector<edm::ParameterSet> defaultVPSet;
853 defaultVPSet.push_back(psetInVector1);
860 std::vector<edm::ParameterSet> anotherDefaultVPSet;
864 anotherDefaultVPSet.push_back(anotherParameterSet);
865 psetInVector2.
addParameter<std::vector<edm::ParameterSet>>(
"anotherVPSet", anotherDefaultVPSet);
871 defaultVPSet.push_back(psetInVector2);
873 iDesc.
addVPSet(
"bars", barx, defaultVPSet);
880 subPsetDescription->
add<
int>(
"xvalue", 11);
889 pn->setComment(
"A comment for a wildcard parameter");
891 std::unique_ptr<edm::ParameterDescriptionNode> wnode =
892 std::make_unique<edm::ParameterWildcard<edm::ParameterSetDescription>>(
"*",
edm::RequireExactlyOne,
true);
896 wSet1.
add<
unsigned int>(
"Drinks", 5);
898 std::unique_ptr<edm::ParameterDescriptionNode> wnode2 =
899 std::make_unique<edm::ParameterWildcard<edm::ParameterSetDescription>>(
903 std::unique_ptr<edm::ParameterDescriptionNode> wnode3 =
904 std::make_unique<edm::ParameterWildcard<std::vector<edm::ParameterSet>>>(
"*",
edm::RequireExactlyOne,
true);
907 wSet1.
add<
unsigned int>(
"Drinks2", 11);
909 std::unique_ptr<edm::ParameterDescriptionNode> wnode4 =
910 std::make_unique<edm::ParameterWildcard<std::vector<edm::ParameterSet>>>(
918 std::vector<int> testIntVector;
919 testIntVector.push_back(21);
920 testIntVector.push_back(22);
927 pn->setComment(
"Comment for a ParameterSwitch");
934 ->setComment(
"If TeV refits are added, their sources need to be specified");
1034 noDefaultPset3.
addOptional<std::vector<int>>(
"noDefault2");
1035 noDefaultPset3.
addOptional<
unsigned>(
"noDefault3");
1036 noDefaultPset3.
addOptional<std::vector<unsigned>>(
"noDefault4");
1037 noDefaultPset3.
addOptional<
long long>(
"noDefault5");
1038 noDefaultPset3.
addOptional<std::vector<long long>>(
"noDefault6");
1039 noDefaultPset3.
addOptional<
unsigned long long>(
"noDefault7");
1040 noDefaultPset3.
addOptional<std::vector<unsigned long long>>(
"noDefault8");
1042 noDefaultPset3.
addOptional<std::vector<double>>(
"noDefault10");
1045 noDefaultPset3.
addOptional<std::vector<std::string>>(
"noDefault13");
1047 noDefaultPset3.
addOptional<std::vector<edm::EventID>>(
"noDefault15");
1049 noDefaultPset3.
addOptional<std::vector<edm::LuminosityBlockID>>(
"noDefault17");
1051 noDefaultPset3.
addOptional<std::vector<edm::InputTag>>(
"noDefault19");
1054 noDefaultPset3.
addOptional<std::vector<edm::LuminosityBlockRange>>(
"noDefault22");
1056 noDefaultPset3.
addOptional<std::vector<edm::EventRange>>(
"noDefault24");
1058 iDesc.
add(
"noDefaultPset3", noDefaultPset3);
1087 iDesc.
add(
"noDefaultPset4", noDefaultPset4);
1099 std::vector<edm::ParameterSet> vDefaultsPlugins2;
1100 iDesc.
addVPSet(
"plugin2", pluginDesc2, vDefaultsPlugins2);
1104 std::vector<edm::ParameterSet> vDefaultsPlugins3;
1107 vDefaultsPlugins3.push_back(vpsetDefault0);
1111 vDefaultsPlugins3.push_back(vpsetDefault1);
1113 iDesc.
addVPSet(
"plugin3", pluginDesc3, vDefaultsPlugins3);
1123 std::vector<edm::ParameterSet> vDefaultsPlugins5;
1127 vDefaultsPlugins5.push_back(vpsetDefault0);
1131 vDefaultsPlugins5.push_back(vpsetDefault1);
1133 iDesc.
addVPSet(
"plugin5", pluginDesc5, vDefaultsPlugins5);
1137 descriptions.
add(
"testProducerWithPsetDesc", iDesc);
1142 iDesc1.
add<
int>(
"p_int", 1);
1144 iDesc1.
setComment(
"A comment for a ParameterSetDescription");
1149 noDefaultPset1.
add<std::vector<int>>(
"noDefault2");
1150 noDefaultPset1.
add<
unsigned>(
"noDefault3");
1151 noDefaultPset1.
add<std::vector<unsigned>>(
"noDefault4");
1152 noDefaultPset1.
add<
long long>(
"noDefault5");
1153 noDefaultPset1.
add<std::vector<long long>>(
"noDefault6");
1154 noDefaultPset1.
add<
unsigned long long>(
"noDefault7");
1155 noDefaultPset1.
add<std::vector<unsigned long long>>(
"noDefault8");
1156 noDefaultPset1.
add<
double>(
"noDefault9");
1157 noDefaultPset1.
add<std::vector<double>>(
"noDefault10");
1158 noDefaultPset1.
add<
bool>(
"noDefault11");
1160 noDefaultPset1.
add<std::vector<std::string>>(
"noDefault13");
1162 noDefaultPset1.
add<std::vector<edm::EventID>>(
"noDefault15");
1164 noDefaultPset1.
add<std::vector<edm::LuminosityBlockID>>(
"noDefault17");
1166 noDefaultPset1.
add<std::vector<edm::InputTag>>(
"noDefault19");
1169 noDefaultPset1.
add<std::vector<edm::LuminosityBlockRange>>(
"noDefault22");
1171 noDefaultPset1.
add<std::vector<edm::EventRange>>(
"noDefault24");
1173 iDesc1.
add(
"noDefaultPset1", noDefaultPset1);
1178 noDefaultPset2.
addUntracked<std::vector<int>>(
"noDefault2");
1180 noDefaultPset2.
addUntracked<std::vector<unsigned>>(
"noDefault4");
1182 noDefaultPset2.
addUntracked<std::vector<long long>>(
"noDefault6");
1183 noDefaultPset2.
addUntracked<
unsigned long long>(
"noDefault7");
1184 noDefaultPset2.
addUntracked<std::vector<unsigned long long>>(
"noDefault8");
1186 noDefaultPset2.
addUntracked<std::vector<double>>(
"noDefault10");
1189 noDefaultPset2.
addUntracked<std::vector<std::string>>(
"noDefault13");
1191 noDefaultPset2.
addUntracked<std::vector<edm::EventID>>(
"noDefault15");
1193 noDefaultPset2.
addUntracked<std::vector<edm::LuminosityBlockID>>(
"noDefault17");
1195 noDefaultPset2.
addUntracked<std::vector<edm::InputTag>>(
"noDefault19");
1198 noDefaultPset2.
addUntracked<std::vector<edm::LuminosityBlockRange>>(
"noDefault22");
1200 noDefaultPset2.
addUntracked<std::vector<edm::EventRange>>(
"noDefault24");
1202 iDesc1.
add(
"noDefaultPset2", noDefaultPset2);
1203 descriptions.
add(
"testLabel1", iDesc1);
1208 iDesc2.
add<
int>(
"p_int", 2);
1214 iDesc3.
add<
int>(
"p_int", 3);
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)