31 vector<ParameterSet> recordsToMap = pSet.
getParameter<vector<ParameterSet> >(
"recordsToMap");
32 for(vector<ParameterSet>::const_iterator recordPset = recordsToMap.begin();
33 recordPset != recordsToMap.end();
36 string record = (*recordPset).getUntrackedParameter<
string>(
"record");
37 map<string, string> jrInfo;
39 vector<string> paramKeys = (*recordPset).getParameterNames();
40 for(vector<string>::const_iterator
key = paramKeys.begin();
41 key != paramKeys.end();
43 jrInfo[
"Source"] =
"AlcaHarvesting";
44 jrInfo[
"FileClass"] =
"ALCA";
45 if(*
key !=
"record") {
46 jrInfo[*
key] = (*recordPset).getUntrackedParameter<
string>(*key);
50 recordMap[
record] = jrInfo;
85 for(
map<
string, map<string, string> >::const_iterator recordAndMap = recordMap.begin();
86 recordAndMap != recordMap.end();
89 string record = (*recordAndMap).first;
91 map<string, string> jrInfo = (*recordAndMap).second;
97 jrInfo[
"inputtag"] = poolDbService->
tag(record);
T getParameter(std::string const &) const
const std::string & connectionString() const
#define DEFINE_FWK_MODULE(type)
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
std::string tag(const std::string &recordName)
cond::DbSession session() const
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
T const * product() const