From: jchudoba Date: Thu, 4 Apr 2002 09:28:04 +0000 (+0000) Subject: Change default names of TPC trees. Use update instead of recreate for the output... X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=9b31ff31cf962768d260a1b8deb0ec17f90929e1;p=u%2Fmrichter%2FAliRoot.git Change default names of TPC trees. Use update instead of recreate for the output file. Overwrite the AliRunDigitizer object in the output if it exists. --- diff --git a/STEER/AliRunDigitizer.cxx b/STEER/AliRunDigitizer.cxx index b52b2b3e477..1888f9f617f 100644 --- a/STEER/AliRunDigitizer.cxx +++ b/STEER/AliRunDigitizer.cxx @@ -15,6 +15,9 @@ /* $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 @@ -201,8 +204,8 @@ AliRunDigitizer::AliRunDigitizer(Int_t nInputStreams, Int_t sperb) : TTask("AliR 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; i2) { cerr<<"AliRunDigitizer::InitOutputGlobal(): file "<cd(); - this->Write(); + this->Write(0,TObject::kOverwrite); if (fCopyTreesFromInput > -1) { fInputFiles[fCopyTreesFromInput]->Get("TE")->Clone()->Write(); gAlice->Write();