| 671 |
// |
// |
| 672 |
if ( code < 0 && verbose ) printf("\n ANTICOUNTER - ERROR: an error occurred, try to save anyway...\n"); |
if ( code < 0 && verbose ) printf("\n ANTICOUNTER - ERROR: an error occurred, try to save anyway...\n"); |
| 673 |
if ( verbose ) printf("\n Writing and closing rootple\n"); |
if ( verbose ) printf("\n Writing and closing rootple\n"); |
|
if ( runinfo ) runinfo->Close(); |
|
| 674 |
if ( ac ) ac->SetName("Anticounter"); |
if ( ac ) ac->SetName("Anticounter"); |
| 675 |
if ( file ){ |
if ( file ){ |
| 676 |
file->cd(); |
file->cd(); |
| 677 |
file->Write(); |
ac->Write("Anticounter",TObject::kOverwrite); |
| 678 |
}; |
}; |
| 679 |
// |
// |
| 680 |
if ( myfold ) gSystem->Unlink(acfolder.str().c_str()); |
if ( myfold ) gSystem->Unlink(acfolder.str().c_str()); |
| 683 |
// |
// |
| 684 |
if ( verbose ) printf("\n Exiting...\n"); |
if ( verbose ) printf("\n Exiting...\n"); |
| 685 |
// |
// |
|
if( ac ) ac->Delete(); |
|
|
if ( acl2 ) delete acl2; |
|
|
if ( acl2clone ) delete acl2clone; |
|
| 686 |
if ( glroot ) delete glroot; |
if ( glroot ) delete glroot; |
| 687 |
|
if ( runinfo ) runinfo->Close(); |
| 688 |
if ( runinfo ) delete runinfo; |
if ( runinfo ) delete runinfo; |
| 689 |
// |
// |
| 690 |
if(code < 0) throw code; |
if(code < 0) throw code; |