]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRaw2Digits.h
eff C++ warnings corrected.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRaw2Digits.h
index f76b5001dcd335d49e7c4e7d0e6e236c22804f54..771fc40c77aaa2965d06e3f13e0c9c97998ab45f 100644 (file)
@@ -3,7 +3,12 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/* $id */
+/* $Id$ */
+
+/* History of cvs commits:
+ *
+ * $Log$
+ */
 
 //_________________________________________________________________________
 //  Base Class for PHOS     
@@ -27,10 +32,11 @@ class AliPHOSRaw2Digits : public TTask {
 
 public:
   AliPHOSRaw2Digits() ;          // ctor
-  AliPHOSRaw2Digits(const char * inputFileName,Bool_t toSplit = kTRUE) ;         
+  AliPHOSRaw2Digits(const char * inputFileName) ;         
+  AliPHOSRaw2Digits(AliPHOSRaw2Digits & r2d) ;          // cpy ctor
   virtual ~AliPHOSRaw2Digits() ; // dtor
 
-  void Exec(Option_t *option) ;
+  void Exec(const Option_t * = "") ;
 
   void SetBeamEnergy(Float_t energy){fBeamEnergy = energy ;}
   void SetInputFile(TString inname="Run_1234.fz"){fInName=inname ; }
@@ -45,10 +51,11 @@ public:
     {for(Int_t i=0;i<3;i++)fTarget[i]=pos[i] ;}
   void SetConTableDB(AliPHOSConTableDB * ctdb){fctdb = ctdb ;}
   void SetMaxEventsPerFile(Int_t nev=20000){fMaxPerFile = nev ;}
-  void Print(Option_t *option="")const ;
-
+  void Print(const Option_t * = "")const ;
+  AliPHOSRaw2Digits & operator = ( AliPHOSRaw2Digits & /*r2d*/ ) { return *this ; } 
+  
 private:
-  Bool_t StartRootFiles(void) ;
+  Bool_t StartRootFiles(void) const ;
   Bool_t CloseRootFiles(void) ;
   Bool_t ProcessRawFile() ;
   void Swab4(void *from, void *to, size_t nwords) const ;
@@ -69,7 +76,7 @@ private:
   TString fInName ;        // FileName of the input file
   Bool_t  fDebug ;         //!
   Bool_t  fIsInitialized ; //!
-  Bool_t  fToSplit ;       //To produce splitted output
   UInt_t  fMK1 ;     //!ZEBRA markers
   UInt_t  fMK2 ;     //!ZEBRA markers
   UInt_t  fMK3 ;     //!ZEBRA markers