From 500aecccb265a77c5ab6af51832e7317ce8763f1 Mon Sep 17 00:00:00 2001 From: hristov Date: Fri, 5 Aug 2005 15:36:09 +0000 Subject: [PATCH] Debug printout commented out --- EMCAL/AliEMCALGeometry.cxx | 16 ++++++++-------- EMCAL/AliEMCALRecPoint.cxx | 20 ++++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/EMCAL/AliEMCALGeometry.cxx b/EMCAL/AliEMCALGeometry.cxx index a641e9437bd..6a9fc2ee4d5 100644 --- a/EMCAL/AliEMCALGeometry.cxx +++ b/EMCAL/AliEMCALGeometry.cxx @@ -579,13 +579,13 @@ Int_t AliEMCALGeometry::GetAbsCellId(const int nSupMod, const int nTower, const id += fNPHIdiv *(nIphi-1); id += nIeta; if(id<=0 || id > fNCells) { - printf(" wrong numerations !!\n"); - printf(" id %6i(will be force to -1)\n", id); - printf(" fNCells %6i\n", fNCells); - printf(" nSupMod %6i\n", nSupMod); - printf(" nTower %6i\n", nTower); - printf(" nIphi %6i\n", nIphi); - printf(" nIeta %6i\n", nIeta); +// printf(" wrong numerations !!\n"); +// printf(" id %6i(will be force to -1)\n", id); +// printf(" fNCells %6i\n", fNCells); +// printf(" nSupMod %6i\n", nSupMod); +// printf(" nTower %6i\n", nTower); +// printf(" nIphi %6i\n", nIphi); +// printf(" nIeta %6i\n", nIeta); id = -1; } return id; @@ -603,7 +603,7 @@ Bool_t AliEMCALGeometry::GetCellIndex(const Int_t absId,Int_t &nSupMod,Int_t &nT { // 21-sep-04 static Int_t tmp=0; if(absId<=0 || absId>fNCells) { - Info("GetCellIndex"," wrong abs Id %i !! \n", absId); +// Info("GetCellIndex"," wrong abs Id %i !! \n", absId); return kFALSE; } nSupMod = (absId-1) / fNCellsInSupMod + 1; diff --git a/EMCAL/AliEMCALRecPoint.cxx b/EMCAL/AliEMCALRecPoint.cxx index 57507367ed2..40469d822d7 100644 --- a/EMCAL/AliEMCALRecPoint.cxx +++ b/EMCAL/AliEMCALRecPoint.cxx @@ -308,20 +308,20 @@ void AliEMCALRecPoint::EvalAll(Float_t logWeight,TClonesArray * digits) // Evaluates all shower parameters EvalLocalPosition(logWeight, digits) ; - printf("eval position done\n"); + // printf("eval position done\n"); EvalElipsAxis(logWeight, digits) ; - printf("eval axis done\n"); + // printf("eval axis done\n"); EvalDispersion(logWeight, digits) ; - printf("eval dispersion done\n"); + // printf("eval dispersion done\n"); // EvalCoreEnergy(logWeight, digits); // printf("eval energy done\n"); EvalTime(digits) ; - printf("eval time done\n"); + // printf("eval time done\n"); EvalPrimaries(digits) ; - printf("eval pri done\n"); + // printf("eval pri done\n"); EvalParents(digits); - printf("eval parent done\n"); + // printf("eval parent done\n"); } //____________________________________________________________________________ @@ -365,14 +365,14 @@ void AliEMCALRecPoint::EvalDispersion(Float_t logWeight, TClonesArray * digits) geom->GetCellPhiEtaIndexInSModule(nTower,nIphi,nIeta, iphi,ieta); etai=(Float_t)ieta; phii=(Float_t)iphi; - printf("%f,%d,%d \n", fAmp, ieta, iphi) ; + // printf("%f,%d,%d \n", fAmp, ieta, iphi) ; /* Sub geom->EtaPhiFromIndex(digit->GetId(), etai, phii); phii = phii * kDeg2Rad; */ /////////////////////////// - if(fAmp>0)printf("%f %d %f", fAmp,iDigit,fEnergyList[iDigit]) ; +// if(fAmp>0)printf("%f %d %f", fAmp,iDigit,fEnergyList[iDigit]) ; ///////////////////////// if (gDebug == 2) @@ -389,7 +389,7 @@ void AliEMCALRecPoint::EvalDispersion(Float_t logWeight, TClonesArray * digits) d = 0. ; fDispersion = TMath::Sqrt(d) ; - printf("Dispersion: = %f", fDispersion) ; + // printf("Dispersion: = %f", fDispersion) ; } //____________________________________________________________________________ @@ -441,7 +441,7 @@ void AliEMCALRecPoint::EvalLocalPosition(Float_t logWeight, TClonesArray * digit fLocPos.SetZ(geom->GetIP2ECASection()); // if (gDebug==2) - printf("EvalLocalPosition: eta,phi,r = %f,%f,%f", fLocPos.X(), fLocPos.Y(), fLocPos.Z()) ; +// printf("EvalLocalPosition: eta,phi,r = %f,%f,%f", fLocPos.X(), fLocPos.Y(), fLocPos.Z()) ; fLocPosM = 0 ; } -- 2.43.0