Using const char * instead of char * for the file names
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Apr 2003 13:50:30 +0000 (13:50 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 23 Apr 2003 13:50:30 +0000 (13:50 +0000)
TOF/AliTOFSDigitizer.cxx
TOF/AliTOFSDigitizer.h

index 827766ffc6ed83b0315778132d0b0117bfdaa1d1..ca3a93343afc6d9dfc9023926737f2529686a10b 100644 (file)
@@ -66,7 +66,7 @@ ClassImp(AliTOFSDigitizer)
 }
            
 //____________________________________________________________________________ 
-  AliTOFSDigitizer::AliTOFSDigitizer(char* HeaderFile, Int_t evNumber1, Int_t nEvents):TTask("AliTOFSDigitizer","") 
+  AliTOFSDigitizer::AliTOFSDigitizer(const char* HeaderFile, Int_t evNumber1, Int_t nEvents):TTask("AliTOFSDigitizer","") 
 {
   fEvent1=evNumber1;
   fEvent2=fEvent1+nEvents;
index 4eaf9a77f8cbee8315e23df90351c984617fc775..ecb58f04daebcd8f4c16a1125e2a1ac68b94aa2d 100644 (file)
@@ -21,12 +21,12 @@ class AliTOFSDigitizer: public TTask {
 
 public:
   AliTOFSDigitizer() ;          // ctor
-  AliTOFSDigitizer(char* HeaderFile, Int_t evNumber1=0, Int_t nEvents=1) ; // par ctor
+  AliTOFSDigitizer(const char* HeaderFile, Int_t evNumber1=0, Int_t nEvents=1) ; // par ctor
 
   virtual ~AliTOFSDigitizer() ; // dtor
 
   virtual void  Exec(Option_t *verboseOption, Option_t *allEvents="noAll"); 
-  void SetSDigitsFile(char * file ) {;}
+  void SetSDigitsFile(const char* file ) {;}
   
   void InitParameters();
   virtual void PrintParameters() const ;