#include "AliLegoGeneratorPhiZ.h"
#include "AliRun.h"
#include "AliMC.h"
+#include "AliLog.h"
ClassImp(AliLegoGeneratorPhiZ)
// 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++;
fCurCoor1 = (fCoor1Min+(fCoor1Bin+0.5)*(fCoor1Max-fCoor1Min)/fNCoor1);