X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=STEER%2FAliLegoGeneratorEta.cxx;h=e1844441553f6037c258dcf0756bdbe4099e3019;hp=ca803d5a179d166993021d467caa934d5de0f8a3;hb=8862e6bf480ad04e4d406aad3fac1480bed26c75;hpb=5d12ce3847b64498d417a697c24fb86f715f2752 diff --git a/STEER/AliLegoGeneratorEta.cxx b/STEER/AliLegoGeneratorEta.cxx index ca803d5a179..e1844441553 100644 --- a/STEER/AliLegoGeneratorEta.cxx +++ b/STEER/AliLegoGeneratorEta.cxx @@ -25,6 +25,7 @@ #include "AliLegoGeneratorEta.h" #include "AliRun.h" #include "AliMC.h" +#include "AliLog.h" ClassImp(AliLegoGeneratorEta) @@ -45,11 +46,11 @@ void AliLegoGeneratorEta::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 eta bin:%d\n",fCoor2Bin); + AliDebug(1, Form("Generating rays in eta bin:%d",fCoor2Bin)); fCoor1Bin=0; } else fCoor1Bin++;