From: schutz Date: Fri, 6 Dec 2002 18:17:02 +0000 (+0000) Subject: added debug information X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=2f909c8da2e4a5af9303f882cfbe07b88a11c406;p=u%2Fmrichter%2FAliRoot.git added debug information --- diff --git a/EMCAL/AliEMCALv0.cxx b/EMCAL/AliEMCALv0.cxx index edcdf213e91..d52dcab9f8b 100644 --- a/EMCAL/AliEMCALv0.cxx +++ b/EMCAL/AliEMCALv0.cxx @@ -163,7 +163,7 @@ void AliEMCALv0::CreateGeometry() gMC->Gspos("XEN1", 1, "ALIC", 0.0, 0.0, 0.0, idrotm, "ONLY") ; - if (fDebug) + if (fDebug==2) Info("CreateGeometry","rXEN1 = %f, %f\n", envelopA[5], envelopA[6]); // Create mini-envelopes which will contain the PreShower scintillator-Lead-scintillator-lead (XU0) @@ -187,7 +187,7 @@ void AliEMCALv0::CreateGeometry() gMC->Gspos(label.Data(), 1, "XEN1", 0.0, 0.0, 0.0, idrotm, "ONLY"); - if (fDebug) + if (fDebug==2) Info("CreateGeometry","rXU0 = %f, %f\n", envelopA[5], envelopA[6]); // Create mini-envelopes which will contain the Tower scintillator-Lead-scintillator-lead (XU1 -> XU9) @@ -213,7 +213,7 @@ void AliEMCALv0::CreateGeometry() gMC->Gspos(label.Data(), 1, "XEN1", 0.0, 0.0, 0.0, idrotm, "ONLY") ; - if (fDebug) + if (fDebug==2) Info("CreateGeometry","rXEN%d = %f, %f\n", i, envelopA[5], envelopA[6]); } // end i @@ -239,7 +239,8 @@ void AliEMCALv0::CreateGeometry() gMC->Gspos(label.Data(), 1, "XEN1", 0.0, 0.0, 0.0, idrotm, "ONLY") ; - Info("CreateGeometry","rXEN%d = %f, %f\n", i, envelopA[5], envelopA[6]); + if (fDebug==2) + Info("CreateGeometry","rXEN%d = %f, %f\n", i, envelopA[5], envelopA[6]); // Create the shapes of active material (LEAD/Aluminium/Scintillator) // to be placed