36 typedef std::vector<edm::ParameterSet> VPSet;
37 typedef std::vector<std::string>
vstring;
38 typedef boost::escaped_list_separator<char> elsc;
40 elsc commonEscapes(
"\\",
" \t",
"\'");
44 for ( vstring::const_iterator normCmd = normCmds.begin();
45 normCmd != normCmds.end(); ++normCmd )
47 if ( normCmd->empty() )
continue;
48 boost::tokenizer<elsc> tokens(*normCmd, commonEscapes);
51 for(boost::tokenizer<elsc>::const_iterator iToken = tokens.begin();
52 iToken != tokens.end(); ++iToken) {
53 if ( iToken->empty() )
continue;
54 args.push_back(*iToken);
57 if ( args.empty()
or args.size() > 2 ) {
58 LogInfo(
"DQMRivetClient") <<
"Wrong input to normCmds\n";
70 for ( VPSet::const_iterator normSet = normSets.begin();
71 normSet != normSets.end(); ++normSet )
74 opt.
name = normSet->getUntrackedParameter<
string>(
"name");
75 opt.
normHistName = normSet->getUntrackedParameter<
string>(
"normalizedTo", opt.
name);
82 for ( vstring::const_iterator lumiCmd = lumiCmds.begin();
83 lumiCmd != lumiCmds.end(); ++lumiCmd )
85 if ( lumiCmd->empty() )
continue;
86 boost::tokenizer<elsc> tokens(*lumiCmd, commonEscapes);
89 for(boost::tokenizer<elsc>::const_iterator iToken = tokens.begin();
90 iToken != tokens.end(); ++iToken) {
91 if ( iToken->empty() )
continue;
92 args.push_back(*iToken);
95 if ( args.size() != 2 ) {
96 LogInfo(
"DQMRivetClient") <<
"Wrong input to lumiCmds\n";
112 for ( vstring::const_iterator scaleCmd = scaleCmds.begin();
113 scaleCmd != scaleCmds.end(); ++scaleCmd )
115 if ( scaleCmd->empty() )
continue;
116 boost::tokenizer<elsc> tokens(*scaleCmd, commonEscapes);
119 for(boost::tokenizer<elsc>::const_iterator iToken = tokens.begin();
120 iToken != tokens.end(); ++iToken) {
121 if ( iToken->empty() )
continue;
122 args.push_back(*iToken);
125 if ( args.empty()
or args.size() > 2 ) {
126 LogInfo(
"DQMRivetClient") <<
"Wrong input to normCmds\n";
130 ScaleFactorOption opt;
132 opt.scale = atof(args[1].c_str());
std::vector< ScaleFactorOption > scaleOptions_
T getUntrackedParameter(std::string const &, T const &) const
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::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
std::vector< DQMGenericClient::NormOption > normOptions_
std::string outputFileName_
std::vector< LumiOption > lumiOptions_
std::vector< std::string > subDirs_