From 53bd4056256b1e3b097be73034ba0be094147176 Mon Sep 17 00:00:00 2001 From: prsnko Date: Fri, 14 Mar 2008 18:24:40 +0000 Subject: [PATCH] Add example of mixing with RAW --- PHOS/macros/Embed/Sim.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PHOS/macros/Embed/Sim.C b/PHOS/macros/Embed/Sim.C index 2e198c31277..154cd41779f 100644 --- a/PHOS/macros/Embed/Sim.C +++ b/PHOS/macros/Embed/Sim.C @@ -5,6 +5,8 @@ void Sim(const Int_t nevents=10, //with previouly reconstructed Digits from //raw event. We assume they are in dir "Bg" + AliPHOSSimParam * phosSimParam = AliPHOSSimParam::GetInstance() ; + AliLog::SetGlobalDebugLevel(debLevel); AliSimulation sim; sim.SetMakeSDigits("PHOS") ; @@ -14,6 +16,8 @@ void Sim(const Int_t nevents=10, //Set path to reconstricted raw digits //and set number of simulated events per one raw sim.MergeWith("Bg/galice.root",1) ; + phosSimParam->SetStreamDigits(1) ; //Mark this stream as digits and not SDigits + sim.Run(nevents); -- 2.39.3