/*
$Log$
+Revision 1.13 2002/02/13 09:03:32 jchudoba
+Pass option to subtasks. Delete input TTrees. Use gAlice from memory if it is present (user must delete the default one created by aliroot if he/she wants to use gAlice from the input file!). Add new data member to store name of the special TPC TTrees.
+
Revision 1.12 2001/12/10 16:40:52 jchudoba
Import gAlice from the signal file before InitGlobal() to allow detectors to use it during initialization
fTreeD = 0;
fTreeDTPC = 0;
fTreeDTRD = 0;
- fTreeDTPCBaseName = "TreeD_75x40_100x60_";
- fTreeTPCSBaseName = "TreeS_75x40_100x60_";
+ fTreeDTPCBaseName = "TreeD_75x40_100x60_150x60_";
+ fTreeTPCSBaseName = "TreeS_75x40_100x60_150x60_";
for (i=0; i<kMaxStreamsToMerge; i++) fInputFiles[i]=0;
}
TString fn;
fn = fOutputDirName + '/' + fOutputFileName;
- fOutput = new TFile(fn,"recreate");
+ fOutput = new TFile(fn,"update");
if (GetDebug()>2) {
cerr<<"AliRunDigitizer::InitOutputGlobal(): file "<<fn.Data()<<" was opened"<<endl;
}
// save unique objects to the output file
fOutput->cd();
- this->Write();
+ this->Write(0,TObject::kOverwrite);
if (fCopyTreesFromInput > -1) {
fInputFiles[fCopyTreesFromInput]->Get("TE")->Clone()->Write();
gAlice->Write();