10 eventlistmap_.clear();
19 TEventList* event_indexs =
new TEventList(cms4path.c_str());
20 unsigned int event_index;
22 std::stringstream
ss(
line);
24 ss >> cms4path >> number_of_events;
26 for (
int ii = 0;
ii < number_of_events; ++
ii) {
28 event_indexs->Enter(event_index);
31 eventlistmap_[cms4path] = event_indexs;
37 return eventlistmap_.find(cms4file) != eventlistmap_.end();
42 if (not hasEventList(cms4file))
43 error(TString::Format(
"Does not have the event list for the input %s but asked for it!", cms4file.Data()),
46 return eventlistmap_[cms4file];
void load(TString filename)
void error(TString msg, const char *fname="", int is_error=1)
bool hasEventList(TString)
TEventList * getEventList(TString)