]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed compiling error for HP (multiple declaration)
authorjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Jun 2000 13:06:38 +0000 (13:06 +0000)
committerjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Jun 2000 13:06:38 +0000 (13:06 +0000)
RICH/AliRICHv0.cxx
RICH/AliRICHv1.cxx

index 4e2aab971b3f2b01414ad0647e283dd00860cd92..9132ede87451945c9b92c0eca6c2d7df5482177d 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
   $Log$
+  Revision 1.11  2000/06/12 15:35:44  jbarbosa
+  Cleaned up version.
+
   Revision 1.10  2000/06/09 14:59:25  jbarbosa
   New default version. No setters needed, no hits.
 
@@ -121,15 +124,16 @@ AliRICHv0::AliRICHv0(const char *name, const char *title)
     
     fCkovNumber=0;
     fFreonProd=0;
+    Int_t i=0;
     
     fChambers = new TObjArray(kNCH);
-    for (Int_t i=0; i<kNCH; i++) {
+    for (i=0; i<kNCH; i++) {
       
       (*fChambers)[i] = new AliRICHChamber();  
       
     }
   
-    for (Int_t i=0; i<kNCH; i++) {
+    for (i=0; i<kNCH; i++) {
       SetGeometryModel(i,geometry);
       SetSegmentationModel(i, segmentationV0);
       SetResponseModel(i, responseV0);
index 2e393114227348a41338426422a11e33858ec544..96770c707aea8f7168046ea8ab5037ff844823de 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
   $Log$
+  Revision 1.2  2000/06/12 15:36:16  jbarbosa
+  Cleaned up version.
+
   Revision 1.1  2000/06/09 15:00:31  jbarbosa
   New full version. All parameters configurable.
 
@@ -80,9 +83,10 @@ AliRICHv1::AliRICHv1(const char *name, const char *title)
 
     fCkovNumber=0;
     fFreonProd=0;
+    Int_t i=0;
 
     fChambers = new TObjArray(kNCH);
-    for (Int_t i=0; i<kNCH; i++) {
+    for (i=0; i<kNCH; i++) {
     
        (*fChambers)[i] = new AliRICHChamber();  
        
@@ -106,7 +110,7 @@ void AliRICHv1::Init()
     // 
     // Initialize Tracking Chambers
     //
-    for (Int_t i=1; i<kNCH; i++) {
+    for (i=1; i<kNCH; i++) {
        //printf ("i:%d",i);
        ( (AliRICHChamber*) (*fChambers)[i])->Init();  
     }