X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=START%2FAliSTARTv0.cxx;h=e5e67cc4bfba6fffc9971edafaa7ac76e2a8e5ba;hb=4951e00319bd2e94edc59bbb2611816c320987f3;hp=5ccd96a113ad020bcf7600bc4e8ebdeb7d5a75d1;hpb=7c1698cb66e7941397bf4189119b0b7612e6ff2e;p=u%2Fmrichter%2FAliRoot.git diff --git a/START/AliSTARTv0.cxx b/START/AliSTARTv0.cxx index 5ccd96a113a..e5e67cc4bfb 100755 --- a/START/AliSTARTv0.cxx +++ b/START/AliSTARTv0.cxx @@ -43,6 +43,7 @@ #include "AliRun.h" #include "AliSTARThit.h" #include "AliSTARTv0.h" +#include "AliLog.h" ClassImp(AliSTARTv0) @@ -271,7 +272,7 @@ void AliSTARTv0::CreateGeometry() // Bottom glass gMC->Gsvolu("0BOT","TUBE",idtmed[kGlass],pbot,3); z=ppmt[2]-pbot[2]; - if(fDebug) printf("%s: Z bottom %f\n",ClassName(),z); + AliDebugClass(1,Form(" Z bottom %f\n",z)); gMC->Gspos("0BOT",1,"0PMT",0,0,z,0,"ONLY"); // Side cylinder glass gMC->Gsvolu("0OUT","TUBE",idtmed[kGlass],pglass,3); @@ -523,7 +524,7 @@ void AliSTARTv0::CreateMaterials() AliMedium(14, "PenoPlast$", 9, 0, isxfld, sxmgmx, 10., .01, 1., .003, .003); AliMedium(15, "Aluminium$", 11, 0, isxfld, sxmgmx, 10., .01, 1., .003, .003); - if(fDebug) cout<