From: alla Date: Mon, 26 Apr 2004 12:01:50 +0000 (+0000) Subject: Tomas's corrections X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=5d77991f2202b51cfab8d0ccea94141413b8af1c Tomas's corrections --- diff --git a/FMD/AliFMDDigitizer.cxx b/FMD/AliFMDDigitizer.cxx index 2e26081db51..08b23751d04 100644 --- a/FMD/AliFMDDigitizer.cxx +++ b/FMD/AliFMDDigitizer.cxx @@ -197,6 +197,7 @@ void AliFMDDigitizer::Exec(Option_t * /*option*/) } //track loop } //if FMD + } // Put noise and make ADC signal @@ -222,6 +223,7 @@ void AliFMDDigitizer::Exec(Option_t * /*option*/) } //iSector } //iRing + pOutFMD->LoadDigits("update"); TTree* treeD = pOutFMD->TreeD(); if (treeD == 0x0) { @@ -235,12 +237,12 @@ void AliFMDDigitizer::Exec(Option_t * /*option*/) brD = treeD->GetBranch("FMD"); - treeD->Fill(); //this operator does not work for events >1 + treeD->Fill(); pOutFMD->WriteDigits("OVERWRITE"); pOutFMD->UnloadHits(); - inRL->GetAliRun() ->ResetDigits(); - } + pOutFMD->UnloadDigits(); + fFMD->ResetDigits(); }