]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removed call to SetNSec() (obsolete). Fixed bug in chamber initialisation (not all...
authorjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Feb 2001 20:10:45 +0000 (20:10 +0000)
committerjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Feb 2001 20:10:45 +0000 (20:10 +0000)
RICH/AliRICHv0.cxx
RICH/AliRICHv1.cxx
RICH/AliRICHv2.cxx

index b951c95d771735df7676cb8944d32e7bf55e3c90..755eda28108d82e13815535d26ef7a2e21e33880 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
   $Log$
+  Revision 1.18  2000/12/20 14:07:36  jbarbosa
+  Removed dependencies on TGeant3 (thanks to F. Carminati and I. Hrivnacova)
+
   Revision 1.17  2000/12/18 17:44:29  jbarbosa
   Took two lines out of output.
 
@@ -154,7 +157,6 @@ AliRICHv0::AliRICHv0(const char *name, const char *title)
       SetGeometryModel(i,geometry);
       SetSegmentationModel(i, segmentationV0);
       SetResponseModel(i, responseV0);
-      SetNsec(i,1);
       SetDebugLevel(0);
     }
 }
@@ -180,7 +182,7 @@ void AliRICHv0::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(i);  
     }  
@@ -229,7 +231,7 @@ void AliRICHv0::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("*                                                                               *\n");
     printf("*********************************************************************************\n");
 
index 18b859e41ab0d65f16da554eb7ce5bfa3f491677..724e3cb11e454cef364e81eaedcb573f10871e41 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
   $Log$
+  Revision 1.10  2000/12/20 14:08:02  jbarbosa
+  Removed dependencies on TGeant3 (thanks to F. Carminati and I. Hrivnacova)
+
   Revision 1.9  2000/12/18 17:44:40  jbarbosa
   Took two lines out of output.
 
@@ -161,7 +164,6 @@ AliRICHv1::AliRICHv1(const char *name, const char *title)
       SetGeometryModel(i,geometry);
       SetSegmentationModel(i, segmentationV0);
       SetResponseModel(i, responseV0);
-      SetNsec(i,1);
       SetDebugLevel(0);
     }
 
@@ -185,7 +187,7 @@ void AliRICHv1::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(i);  
     }  
@@ -234,7 +236,7 @@ void AliRICHv1::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("*********************************************************************************\n");
index 48d34c55d4c97cdda1b0fc49570cb872277f5d77..59338b3ee962ae691366948c6b017a1fd562c344 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
   $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.
 
@@ -126,7 +129,7 @@ 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(i);  
     }  
@@ -175,7 +178,7 @@ 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("*********************************************************************************\n");