@@ -63,7 +63,6 @@ namespace edm {
6363 destinationPSets (pset);
6464 defaultPSet (pset);
6565 statisticsPSets (pset);
66- fwkJobReportPSets (pset);
6766 categoryPSets (pset, " MessageLogger" );
6867
6968 // No other PSets -- unless they contain optionalPSet or placeholder=True
@@ -104,29 +103,12 @@ namespace edm {
104103 noKeywords (statistics, " MessageLogger" , " statistics" );
105104 noNonPSetUsage (pset, statistics, " MessageLogger" , " statistics" );
106105
107- fwkJobReports = check<vString>(pset, " MessageLogger" , " fwkJobReports" );
108- noDuplicates (fwkJobReports, " MessageLogger" , " fwkJobReports" );
109- noKeywords (fwkJobReports, " MessageLogger" , " fwkJobReports" );
110- noNonPSetUsage (pset, fwkJobReports, " MessageLogger" , " fwkJobReports" );
111- noDuplicates (fwkJobReports, destinations, " MessageLogger" , " fwkJobReports" , " destinations" );
112- noDuplicates (fwkJobReports, statistics, " MessageLogger" , " fwkJobReports" , " statistics" );
113-
114106 categories = check<vString>(pset, " MessageLogger" , " categories" );
115107 noDuplicates (categories, " MessageLogger" , " categories" );
116108 noKeywords (categories, " MessageLogger" , " categories" );
117109 noNonPSetUsage (pset, categories, " MessageLogger" , " categories" );
118110 noDuplicates (categories, destinations, " MessageLogger" , " categories" , " destinations" );
119111 noDuplicates (categories, statistics, " MessageLogger" , " categories" , " statistics" );
120- noDuplicates (categories, fwkJobReports, " MessageLogger" , " categories" , " fwkJobReports" );
121-
122- messageIDs = check<vString>(pset, " MessageLogger" , " messageIDs" );
123- noDuplicates (messageIDs, " MessageLogger" , " messageIDs" );
124- noKeywords (messageIDs, " MessageLogger" , " messageIDs" );
125- noNonPSetUsage (pset, messageIDs, " MessageLogger" , " messageIDs" );
126- noDuplicates (messageIDs, destinations, " MessageLogger" , " messageIDs" , " destinations" );
127- noDuplicates (messageIDs, statistics, " MessageLogger" , " messageIDs" , " statistics" );
128- noDuplicates (messageIDs, fwkJobReports, " MessageLogger" , " messageIDs" , " fwkJobReports" );
129- noDuplicates (messageIDs, fwkJobReports, " MessageLogger" , " messageIDs" , " categories" );
130112
131113 } // psetLists
132114
@@ -209,12 +191,8 @@ namespace edm {
209191 return true ;
210192 if (s == " destinations" )
211193 return true ;
212- if (s == " fwkJobReports" )
213- return true ;
214194 if (s == " categories" )
215195 return true ;
216- if (s == " messageIDs" )
217- return true ;
218196 if (s == " debugModules" )
219197 return true ;
220198 if (s == " suppressInfo" )
@@ -319,10 +297,6 @@ namespace edm {
319297 return false ;
320298 if (word == " categories" )
321299 return false ;
322- if (word == " messageIDs" )
323- return false ;
324- if (word == " fwkJobReports" )
325- return false ;
326300 if (word == " destinations" )
327301 return false ;
328302 if (word == " statistics" )
@@ -428,12 +402,8 @@ namespace edm {
428402 continue ;
429403 if (lookForMatch (statistics, *i))
430404 continue ;
431- if (lookForMatch (fwkJobReports, *i))
432- continue ;
433405 if (lookForMatch (categories, *i))
434406 continue ;
435- if (lookForMatch (messageIDs, *i))
436- continue ;
437407 if ((*i) == " default" )
438408 continue ;
439409 ParameterSet empty_PSet;
@@ -630,54 +600,6 @@ namespace edm {
630600
631601 } // statisticsPSet
632602
633- void edm::service::MessageServicePSetValidation::fwkJobReportPSets (ParameterSet const & pset) {
634- ParameterSet empty_PSet;
635- std::vector<std::string>::const_iterator end = fwkJobReports.end ();
636- for (std::vector<std::string>::const_iterator i = fwkJobReports.begin (); i != end; ++i) {
637- ParameterSet const & d = pset.getUntrackedParameterSet (*i, empty_PSet);
638- fwkJobReportPSet (d, *i);
639- }
640- } // fwkJobReportPSets
641-
642- void edm::service::MessageServicePSetValidation::fwkJobReportPSet (ParameterSet const & pset,
643- std::string const & psetName) {
644- // Category PSets
645-
646- categoryPSets (pset, psetName);
647-
648- // No other PSets -- unless they contain optionalPSet or placeholder=True
649-
650- noNoncategoryPsets (pset, psetName);
651-
652- // General parameters
653-
654- check<bool >(pset, psetName, " placeholder" );
655- std::string s = check<std::string>(pset, " psetName" , " filename" );
656- if ((s == " cerr" ) || (s == " cout" )) {
657- flaws << psetName << " PSet: \n " << s << " is not allowed as a value of filename \n " ;
658- }
659- s = check<std::string>(pset, " psetName" , " extension" );
660- if ((s == " cerr" ) || (s == " cout" )) {
661- flaws << psetName << " PSet: \n " << s << " is not allowed as a value of extension \n " ;
662- }
663- s = check<std::string>(pset, " psetName" , " output" );
664-
665- // No other parameters
666-
667- noneExcept<int >(pset, psetName, " int" );
668-
669- vString okbool;
670- okbool.push_back (" placeholder" );
671- okbool.push_back (" optionalPSet" );
672- noneExcept<bool >(pset, psetName, " bool" , okbool);
673- vString okstring;
674- okstring.push_back (" output" );
675- okstring.push_back (" filename" );
676- okstring.push_back (" extension" );
677- noneExcept<std::string>(pset, psetName, " string" , okstring);
678-
679- } // fwkJobReportPSet
680-
681603 void edm::service::MessageServicePSetValidation::noNoncategoryPsets (ParameterSet const & pset,
682604 std::string const & psetName) {
683605 vString psnames;
@@ -686,8 +608,6 @@ namespace edm {
686608 for (vString::const_iterator i = psnames.begin (); i != end; ++i) {
687609 if (lookForMatch (categories, *i))
688610 continue ;
689- if (lookForMatch (messageIDs, *i))
690- continue ;
691611 if ((*i) == " default" )
692612 continue ;
693613 if ((*i) == " ERROR" )
0 commit comments