25 size_t pos = stream.find(
':');
26 int event = atoi(stream.substr(0, pos).c_str());
27 stream.erase(0, pos + 1);
28 pos = stream.find(
':');
29 int run = atoi(stream.substr(0, pos).c_str());
30 stream.erase(0, pos + 1);
31 pos = stream.find(
':');
32 int experiment = atoi(stream.substr(0, pos).c_str());