]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Loop variable declared once; typos corrected
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 28 Jul 2001 10:44:32 +0000 (10:44 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 28 Jul 2001 10:44:32 +0000 (10:44 +0000)
STEER/AliRunDigitizer.cxx

index 6ae91ad0d59a01ecb471ca21c49eccdfa7d1310b..e9326494f225df5c1fbeaeffbb61a61ed7f88458 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.1  2001/07/27 12:59:00  jchudoba
+Manager class for merging/digitization
+
 */
 
 ////////////////////////////////////////////////////////////////////////
@@ -92,19 +95,21 @@ ClassImp(AliRunDigitizer)
 {
 // default ctor
 
-  for (Int_t i=0;i<MAXDETECTORS;i++) fDigitizers[i]=0;
+  Int_t i;
+
+  for (i=0;i<MAXDETECTORS;i++) fDigitizers[i]=0;
   fNDigitizers = 0;
   fNinputs = 0;
   fOutputFileName = "digits.root";
   fOutputDirName = "/tmp/";
   fCombination.Set(MAXFILESTOMERGE);
-  for (Int_t i=0;i<MAXFILESTOMERGE;i++) {
+  for (i=0;i<MAXFILESTOMERGE;i++) {
     fArrayTreeS[i]=fArrayTreeH[i]=fArrayTreeTPCS[i]=NULL;
     fCombination[i]=-1;
   }
   fkMASKSTEP = 10000000;
   fkMASK[0] = 0;
-  for (Int_t i=0;i<MAXFILESTOMERGE;i++) {
+  for (i=0;i<MAXFILESTOMERGE;i++) {
     fkMASK[i] = fkMASK[i-1] + fkMASKSTEP;
   }
   fInputFileNames = new TClonesArray("TObjString",1);