Corrections for subscript out of range (Alpha)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Oct 2002 17:20:38 +0000 (17:20 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Oct 2002 17:20:38 +0000 (17:20 +0000)
CRT/AliCRTv0.cxx
EVGEN/AliGenGeVSim.cxx
EVGEN/AliGenGeVSim.h
STRUCT/AliSHILv0.cxx
STRUCT/AliSHILvF.cxx

index 5f5bf2ffc9d12d5e3a4db70e4c033b4a31cf9f31..935e1f4b0746e2664996ed5d01994b4832067e8f 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
 
 /*
 $Log$
+Revision 1.9  2002/10/23 06:47:56  alibrary
+Introducing Riostream.h
+
 Revision 1.8  2002/10/14 14:55:34  hristov
 Merging the VirtualMC branch to the main development branch (HEAD)
 
 Revision 1.8  2002/10/14 14:55:34  hristov
 Merging the VirtualMC branch to the main development branch (HEAD)
 
@@ -656,7 +659,7 @@ void AliCRTv0::StepManager()
   TLorentzVector pos;
   TLorentzVector mom;
 
   TLorentzVector pos;
   TLorentzVector mom;
 
-  static Float_t hits[13];
+  static Float_t hits[14];
   Int_t tracknumber = gAlice->CurrentTrack();
 
   static Float_t eloss;
   Int_t tracknumber = gAlice->CurrentTrack();
 
   static Float_t eloss;
index 36162f2e6001aaeb3869f54addbb0e4bcd616cab..5a8beb0d712ea32fa89778e236b238cdecda0b59 100644 (file)
@@ -534,7 +534,7 @@ void AliGenGeVSim::SetFormula(Int_t pdg) {
       fPtYHist = (TH2D*)gROOT->FindObject(buff);
     }
 
       fPtYHist = (TH2D*)gROOT->FindObject(buff);
     }
 
-    if (!fPtYHist) Error(where, msg[4], pdg);
+    if (!fPtYHist) Error(where, msg[3], pdg);
   }
 
 }
   }
 
 }
index 08848bcb23e0f1ee6674bb3d7f5000f52b2292c6..9e8b84c448c83ef8271870bd6013d35e4641faad 100644 (file)
@@ -87,7 +87,7 @@ class AliGenGeVSim : public AliGenerator {
 
   TF1 *fPtFormula;           //! Pt formula for model (1)
   TF1 *fYFormula;            //! Y formula for model (1)
 
   TF1 *fPtFormula;           //! Pt formula for model (1)
   TF1 *fYFormula;            //! Y formula for model (1)
-  TF2 *fPtYFormula[3];       //! Pt,Y formulae for model (2)-(4)
+  TF2 *fPtYFormula[4];       //! Pt,Y formulae for model (2)-(4)
   TF1 *fPhiFormula;          //! phi formula 
   
   TFormula *fCurrentForm;    //! currently used formula
   TF1 *fPhiFormula;          //! phi formula 
   
   TFormula *fCurrentForm;    //! currently used formula
index 346ab9a2b8f04a3fa647087e57bb1d7f2d1352c5..f0f234809d3b7621eee4fb2f6b613433a910d499 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
 
 /*
 $Log$
+Revision 1.20  2002/10/29 09:53:40  morsch
+Constants start with k. Warnings corrected.
+
 
 Revision 1.19  2002/10/14 14:57:39  hristov
 Merging the VirtualMC branch to the main development branch (HEAD)
 
 Revision 1.19  2002/10/14 14:57:39  hristov
 Merging the VirtualMC branch to the main development branch (HEAD)
@@ -145,8 +148,8 @@ void AliSHILv0::CreateGeometry()
   */
   //End_Html
 
   */
   //End_Html
 
-    Float_t cpar[5], cpar0[5], tpar[3], par1[39], pars1[100], par2[27], par3[27], 
-       par4[21], par0[45];
+    Float_t cpar[5], cpar0[5], tpar[3], par1[39], pars1[100], par2[36], par3[27], 
+       par4[24], par0[87];
     Float_t dz, dZ;
   
     Int_t *idtmed = fIdtmed->GetArray()-1699;
     Float_t dz, dZ;
   
     Int_t *idtmed = fIdtmed->GetArray()-1699;
index c50fc45f981e73bdadbfc1be97334075dd6a5ca1..475757f7017e1c85366488e0283fecc63d5bd12e 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
 
 /*
 $Log$
+Revision 1.18  2002/10/29 09:53:40  morsch
+Constants start with k. Warnings corrected.
+
 Revision 1.17  2002/10/14 14:57:39  hristov
 Merging the VirtualMC branch to the main development branch (HEAD)
 
 Revision 1.17  2002/10/14 14:57:39  hristov
 Merging the VirtualMC branch to the main development branch (HEAD)
 
@@ -117,7 +120,7 @@ void AliSHILvF::CreateGeometry()
   //End_Html
 
     Float_t cpar[5], cpar0[5], tpar[3], par1[100], pars1[100], par2[100], par3[100], 
   //End_Html
 
     Float_t cpar[5], cpar0[5], tpar[3], par1[100], pars1[100], par2[100], par3[100], 
-       par4[21], par0[100];
+       par4[24], par0[100];
     Float_t dz, dZ;
   
     Int_t *idtmed = fIdtmed->GetArray()-1699;
     Float_t dz, dZ;
   
     Int_t *idtmed = fIdtmed->GetArray()-1699;