remove/add print statements
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 17 Nov 2002 00:02:16 +0000 (00:02 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 17 Nov 2002 00:02:16 +0000 (00:02 +0000)
EMCAL/AliEMCALClusterizerv1.cxx
EMCAL/AliEMCALGeometry.cxx
EMCAL/AliEMCALGetter.cxx
EMCAL/AliEMCALTowerRecPoint.cxx

index 9c6bad43087cdbdaaad01d164b91bb690b1f7af9..6461b45967dc5fa6f2c09ee10b58c4451ab1b098 100644 (file)
@@ -681,11 +681,11 @@ void AliEMCALClusterizerv1::Print(Option_t * option)const
     message += fTowerLocMaxCut ; 
     message += "\n                       EMC Logarothmic weight   = " ;
     message += fW0 ;
-    message += "\n                       CPV Clustering threshold = " ; 
+    message += "\n                       Pre Shower Clustering threshold = " ; 
     message += fPreShoClusteringThreshold ;
-    message += "\n                       CPV Local Maximum cut    = " ;
+    message += "\n                       Pre Shower  Local Maximum cut    = " ;
     message += fPreShoLocMaxCut ;
-    message += "\n                       CPV Logarothmic weight   = " ; 
+    message += "\n                       Pre Shower Logarothmic weight   = " ; 
     message += fW0CPV ;
     if(fToUnfold)
       message +="\nUnfolding on\n" ;
index d31b087a6cad9828eb2846fc986eccba721b802f..4c133c109326cfc1ca508076b15458cac054d90b 100644 (file)
@@ -90,7 +90,7 @@ void AliEMCALGeometry::Init(void){
     fAirGap         = 5.0; // cm, air gap between EMCAL mother volume and 
                            // active material.
     fAlFrontThick   = 3.18; // cm, Thickness of front Al layer
-    fPbRadThickness = 0.5; // cm, Thickness of theh Pb radiators.
+    fPbRadThickness = 0.5; // cm, Thickness of the Pb radiators.
     fPreShowerSintThick = 0.6; // cm, Thickness of the sintilator for the
                                // preshower part of the calorimeter
     fFullShowerSintThick = 0.5; // cm, Thickness of the sintilator for the
@@ -382,7 +382,7 @@ void AliEMCALGeometry::XYZFromIndex(const Int_t *relid,Float_t &x,Float_t &y, Fl
     kDeg2Rad = TMath::Pi() / static_cast<Double_t>(180) ; 
     cyl_radius = GetIPDistance()+ GetAirGap() ;
     x =  cyl_radius * TMath::Cos(phi * kDeg2Rad ) ;
-    y =  cyl_radius * TMath::Cos(phi * kDeg2Rad ) ; 
+    y =  cyl_radius * TMath::Sin(phi * kDeg2Rad ) ; 
     z =  cyl_radius / TMath::Tan(theta * kDeg2Rad ) ; 
  
  return;
index 3f1272f338d1de4d08dea1182003f62e60e41a92..40cbc9fad6c65d9b190bd7bc1346a8c273c66799 100644 (file)
@@ -1499,7 +1499,7 @@ Int_t AliEMCALGetter::ReadTreeR(const Int_t event)
     TFile * file = static_cast<TFile*>(gROOT->GetFile(fRecPointsFileName)); 
     if(!file) 
       file = TFile::Open(fRecPointsFileName) ;      
-
+    Info("ReadTreeR", "file=%s\n",fRecPointsFileName.Data()); 
     // Get Digits Tree header from file
 
     TString treeName("TreeR") ;
index d430599e27315cd9a8d0fa8a6459fcc55060f692..c2b6f08bd66ac146511189f7f11208b6ed1488ad 100644 (file)
@@ -301,7 +301,6 @@ void AliEMCALTowerRecPoint::ExecuteEvent(Int_t event, Int_t px, Int_t py) const
 void  AliEMCALTowerRecPoint::EvalDispersion(Float_t logWeight,TClonesArray * digits)
 {
   // Calculates the dispersion of the shower at the origine of the RecPoint
-  printf("**************** EVAL Dispersion *****************") ; 
 
   Float_t d    = 0. ;
   Float_t wtot = 0. ;
@@ -363,7 +362,6 @@ void  AliEMCALTowerRecPoint::EvalDispersion(Float_t logWeight,TClonesArray * dig
     Float_t w = TMath::Max(0.,logWeight+TMath::Log(fEnergyList[iDigit]/fAmp ) ) ;
     d += w*((xi-x)*(xi-x) + (yi-y)*(yi-y)+ (zi-z)*(zi-z) ) ; 
     wtot+=w ;
-    printf("xi=%f, x=%f\n yi=%f, y=%f\n zi=%f, z=%f\n phi=%f phii=%f theta=%f thetaii=%f\n\n",xi,x,yi,y,zi,z, fPhi, phii, fTheta, thetai) ;  
   }
   
   if ( wtot > 0 )