]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Parametrise number of modules and length of names.
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 Jun 1999 06:38:14 +0000 (06:38 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 Jun 1999 06:38:14 +0000 (06:38 +0000)
STEER/AliRun.h

index d8b71cb514adc111a474c956498913b5fde87b92..d596b503c184f3dd12832f96318cb83b82e56728 100644 (file)
@@ -13,6 +13,7 @@
 #include "AliGenerator.h"
 #include "AliLego.h"
 
+const enum {kMaxModules = 25, kLenModuleName=7};
 
 class AliDisplay;
 
@@ -38,7 +39,8 @@ protected:
   TStopwatch    fTimer;        //Timer object
   AliMagF      *fField;        //Magnetic Field Map
   AliMC        *fMC;           //pointer to MonteCarlo object
-  char          fDnames[21][7];//Array of detector names
+  char          fDnames[kMaxModules][kLenModuleName];
+                               //Array of detector names
   TArrayI      *fImedia;       //Array of correspondence between media and detectors
   Int_t         fNdets;        //Number of detectors
   Float_t       fTrRmax;       //Maximum radius for tracking