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