| 382 |
// |
// |
| 383 |
fOpen = false; |
fOpen = false; |
| 384 |
printf(" Check if output file already exists \n"); |
printf(" Check if output file already exists \n"); |
| 385 |
Target = TFile::Open((this->GetFilename()).Data(), "READ" ); |
ifstream myfile; |
| 386 |
// |
myfile.open((this->GetFilename()).Data()); |
| 387 |
if ( Target ){ |
if ( myfile ){ |
| 388 |
Target->Close(); |
// Target = TFile::Open((this->GetFilename()).Data(), "READ" ); |
| 389 |
|
// |
| 390 |
|
// if ( Target ){ |
| 391 |
|
// Target->Close(); |
| 392 |
|
myfile.close(); |
| 393 |
printf("Error opening target file, %s already exist!\n",(this->GetFilename()).Data()); |
printf("Error opening target file, %s already exist!\n",(this->GetFilename()).Data()); |
| 394 |
return(false); |
return(false); |
| 395 |
} else { |
} else { |