fix outfile name
This commit is contained in:
parent
f842b37378
commit
7531c9c4c4
|
@ -62,8 +62,9 @@ int main(int argc, char **argv) {
|
|||
}else{
|
||||
TString temp = inFileName[0];
|
||||
temp.Remove(0, pos+1);
|
||||
temp.Remove(3);
|
||||
outFileName = "run" + temp;
|
||||
int pos = temp.Last('.');
|
||||
temp.Remove(pos);
|
||||
outFileName = Form("run%03d", atoi(temp));
|
||||
if( timeWindow < 0 ) {
|
||||
outFileName +="_single.root";
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue
Block a user