29 string suffix =
".hddm";
30 if (source.length() < suffix.length())
32 if (source.substr(source.length() - suffix.length()) != suffix)
35 ifstream ifs(source.c_str());
49 if (source.find(
"_rest") != source.npos ||
50 source.find(
"rest_") != source.npos)
54 else if (source.find(
"hdgeant") != source.npos)
58 else if (source.find(
"_smeared") != source.npos ||
59 source.find(
"smeared_") != source.npos)
63 else if (source.find(
"_events") != source.npos ||
64 source.find(
"events_") != source.npos)
const char * Description(void)
JEventSource * MakeJEventSource(string source)
double CheckOpenable(string source)