]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSDigitizer.h
coverity fix
[u/mrichter/AliRoot.git] / PHOS / AliPHOSDigitizer.h
index 58e92b17ac80baf393497ffa34ccede62eb8067f..bcd7f295dd56aaa827691b83cda89bb691d21471 100644 (file)
@@ -45,7 +45,7 @@ class TClonesArray ;
 #include "AliDigitizer.h"
 #include "AliConfig.h"
 #include "AliPHOSPulseGenerator.h"
-class AliRunDigitizer ;
+class AliDigitizationInput ;
 class AliPHOSCalibData ; 
 
 class AliPHOSDigitizer: public AliDigitizer {
@@ -53,12 +53,11 @@ class AliPHOSDigitizer: public AliDigitizer {
 public:
   AliPHOSDigitizer() ;          // ctor
   AliPHOSDigitizer(TString alirunFileNameFile, TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ; 
-  AliPHOSDigitizer(const AliPHOSDigitizer & dtizer) ;
-  AliPHOSDigitizer(AliRunDigitizer * manager) ;
+  AliPHOSDigitizer(AliDigitizationInput * digInput) ;
   virtual ~AliPHOSDigitizer() ;       
 
   void    Digitize(Int_t event) ;            // Make Digits from SDigits 
-  void    Exec(Option_t *option);                  // Supervising method
+  void    Digitize(Option_t *option);                  // Supervising method
 
   void   SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
 
@@ -67,14 +66,9 @@ public:
 
   void    Print(const Option_t * = "")const ;
  
-  AliPHOSDigitizer & operator = (const AliPHOSDigitizer & /*rvalue*/)  {
-    // assignement operator requested by coding convention but not needed
-    Fatal("operator =", "not implemented") ;
-    return *this ; 
-  }
-
-  
 private:
+  AliPHOSDigitizer(const AliPHOSDigitizer & dtizer) ;
+  AliPHOSDigitizer & operator = (const AliPHOSDigitizer & /*rvalue*/);
 
   virtual Bool_t Init() ; 
   void    InitParameters() ; 
@@ -113,8 +107,8 @@ private:
   Int_t fEventCounter ;             //! counts the events processed
 
   AliPHOSPulseGenerator *fPulse;    //! Pulse shape generator
-  Int_t *fADCValuesLG;              //! Array og low-gain ALTRO samples
-  Int_t *fADCValuesHG;              //! Array og high-gain ALTRO samples
+  Int_t *fADCValuesLG;              //! Array of low-gain ALTRO samples
+  Int_t *fADCValuesHG;              //! Array of high-gain ALTRO samples
   
   ClassDef(AliPHOSDigitizer,5)  // description