5 #include "FWCore/ParameterSet/interface/ParameterSet.h"
6 #include "FWCore/Utilities/interface/InputTag.h"
7 #include "boost/format.hpp"
10 std::string label = config.getParameter<std::string>(
"@module_label");
11 std::string type = config.getParameter<std::string>(
"@module_type");
12 std::string header = (boost::format(
"%-39s%39s") % type % label).str();
14 std::cout << std::string(78,
'-') <<
"\n";
15 std::cout << header <<
"\n";
16 std::cout << boost::format(
"%-15s : %-60s\n") %
"Branch" % branch;
20 edm::InputTag
const& in, std::string branch) {
21 std::string label = config.getParameter<std::string>(
"@module_label");
22 std::string type = config.getParameter<std::string>(
"@module_type");
23 std::string header = (boost::format(
"%-39s%39s") % type % label).str();
25 std::cout << std::string(78,
'-') <<
"\n";
26 std::cout << header <<
"\n";
28 std::cout << boost::format(
"%-15s : %-60s\n") %
"Input" % in.encode();
29 std::cout << boost::format(
"%-15s : %-60s\n") %
"Branch" % branch;
34 std::cout << boost::format(
"%s- [%c] %s\n")
35 % std::string(depth,
' ')