15int main(
int argc,
char *argv[])
17 for (
int i = 1; i < argc; ++i) {
18 const char *cRootFileName = argv[i];
19 std::string sRootFileName(cRootFileName), sBanFileName;
20 sBanFileName = sRootFileName.substr(0, sRootFileName.length() - 4);
21 sBanFileName.append(
"ban");
22 TFile *file =
new TFile(sRootFileName.c_str());