X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliLegoGenerator.cxx;h=e6ba5e14b94ad6abf2581e88c77c429d416ac09d;hb=0661bdda4bf45d1d51744b832925cdc1aaa87903;hp=3fd56ab318763953754f911d849207d77f9cfc6b;hpb=5d12ce3847b64498d417a697c24fb86f715f2752;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliLegoGenerator.cxx b/STEER/AliLegoGenerator.cxx index 3fd56ab3187..e6ba5e14b94 100644 --- a/STEER/AliLegoGenerator.cxx +++ b/STEER/AliLegoGenerator.cxx @@ -25,6 +25,7 @@ #include "AliLegoGenerator.h" #include "AliRun.h" #include "AliMC.h" +#include "AliLog.h" ClassImp(AliLegoGenerator) @@ -94,11 +95,11 @@ void AliLegoGenerator::Generate() // Prepare for next step if(fCoor1Bin>=fNCoor1-1) if(fCoor2Bin>=fNCoor2-1) { - Warning("Generate","End of Lego Generation"); + AliWarning("End of Lego Generation"); return; } else { fCoor2Bin++; - printf("Generating rays in phi bin:%d\n",fCoor2Bin); + AliDebug(1, Form("Generating rays in phi bin:%d",fCoor2Bin)); fCoor1Bin=0; } else fCoor1Bin++;