]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RICH/AliRICHv2.cxx
Testing TreeS, removing of output.
[u/mrichter/AliRoot.git] / RICH / AliRICHv2.cxx
index a08a2eddd48d58f333366916a68751af4eaac8f3..59338b3ee962ae691366948c6b017a1fd562c344 100644 (file)
 
 /*
   $Log$
+  Revision 1.5  2000/12/20 14:08:14  jbarbosa
+  Removed dependencies on TGeant3 (thanks to F. Carminati and I. Hrivnacova)
+
+  Revision 1.4  2000/12/18 17:44:49  jbarbosa
+  Took two lines out of output.
+
+  Revision 1.3  2000/10/03 21:44:09  morsch
+  Use AliSegmentation and AliHit abstract base classes.
+
+  Revision 1.2  2000/07/10 15:28:39  fca
+  Correction of the inheritance scheme
+
   Revision 1.1  2000/06/30 16:40:03  dibari
   New configurale version.
 
@@ -70,7 +82,6 @@
 #include "AliCallf77.h"
 #include "AliConst.h" 
 #include "AliPDG.h" 
-#include "TGeant3.h"
 
 ClassImp(AliRICHv2)
     
@@ -110,7 +121,7 @@ void AliRICHv2::Init()
   printf("*                                                                               *\n");
 
   
-  AliRICHSegmentation*  segmentation;
+  AliSegmentation*  segmentation;
   AliRICHGeometry*  geometry;
   AliRICHResponse*  response;
 
@@ -118,9 +129,9 @@ void AliRICHv2::Init()
     // 
     // Initialize Tracking Chambers
     //
-    for (Int_t i=1; i<kNCH; i++) {
+    for (Int_t i=0; i<kNCH; i++) {
        //printf ("i:%d",i);
-       ( (AliRICHChamber*) (*fChambers)[i])->Init();  
+       ( (AliRICHChamber*) (*fChambers)[i])->Init(i);  
     }  
     
     //
@@ -167,11 +178,9 @@ void AliRICHv2::Init()
     printf("*                            Radiator Length : %5.1f cm                         *\n",geometry->GetQuartzLength());
     printf("*                            Freon Thickness : %5.1f cm                         *\n",geometry->GetFreonThickness());
     printf("*                            Charge Slope    : %5.1f ADC                        *\n",response->ChargeSlope());
-    printf("*                            Feedback Prob.  : %5.2f %%                         *\n",response->AlphaFeedback()*100);
+    printf("*                            Feedback Prob.  : %5.2f %%                          *\n",response->AlphaFeedback()*100);
     printf("*                            Debug Level     : %3d                              *\n",GetDebugLevel());
     printf("*                                                                               *\n");
-    printf("*                                   Success!                                    *\n");
-    printf("*                                                                               *\n");
     printf("*********************************************************************************\n");
 
 }