29 vector<ParameterSet> recordsToMap = pSet.
getParameter<vector<ParameterSet> >(
"recordsToMap");
30 for(vector<ParameterSet>::const_iterator recordPset = recordsToMap.begin();
31 recordPset != recordsToMap.end();
34 string record = (*recordPset).getUntrackedParameter<
string>(
"record");
35 map<string, string> jrInfo;
37 vector<string> paramKeys = (*recordPset).getParameterNames();
38 for(vector<string>::const_iterator
key = paramKeys.begin();
39 key != paramKeys.end();
41 jrInfo[
"Source"] =
"AlcaHarvesting";
42 jrInfo[
"FileClass"] =
"ALCA";
43 if(*
key !=
"record") {
44 jrInfo[*
key] = (*recordPset).getUntrackedParameter<
string>(*key);
48 recordMap[
record] = jrInfo;
83 for(
map<
string, map<string, string> >::const_iterator recordAndMap = recordMap.begin();
84 recordAndMap != recordMap.end();
87 string record = (*recordAndMap).first;
89 map<string, string> jrInfo = (*recordAndMap).second;
95 jrInfo[
"inputtag"] = poolDbService->
tag(record);
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
cond::persistency::Session session() const
std::string tag(const std::string &recordName)
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
std::string connectionString()
T const * product() const
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)