]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliCalmodule.h
warning fixed
[u/mrichter/AliRoot.git] / RALICE / AliCalmodule.h
index 0929165c19c2cb2e0108a92a106737afee8ce34b..135770862ff80f2261841a0c45a63405af0a7db9 100644 (file)
@@ -3,39 +3,34 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/* $Id$ */
+// $Id$
 
-#include <iostream.h>
 #include "AliSignal.h"
  
 class AliCalmodule : public AliSignal
 {
  public:
-  AliCalmodule();                                  // Default constructor
-  ~AliCalmodule();                                 // Default destructor
-  AliCalmodule(Int_t row,Int_t col,Float_t sig);   // Create a module and initialise data
-  void SetSignal(Int_t row,Int_t col,Float_t sig); // Set or change data for certain module
-  void AddSignal(Int_t row,Int_t col,Float_t sig); // Add signal to a certain module
-  void SetRow(Int_t i);                            // Set the row number of the module
-  void SetColumn(Int_t i);                         // Set the column number of the module
-  Int_t GetRow();                                  // Return the row number of the module
-  Int_t GetColumn();                               // Return the column number of the module
-  void SetClusteredSignal(Float_t val);            // Set the signal of the module after clustering
-  Float_t GetClusteredSignal();                    // Return module signal after clustering
-  void SetDead();                                  // Set flag to indicate dead modules
-  void SetAlive();                                 // Set flag to indicate active modules
-  Int_t GetDeadValue();                            // Return the value of the dead module indicator
-  void SetGain(Float_t gain);                      // Set gain of the module's readout system
-  Float_t GetGain();                               // Return the gain value
+  AliCalmodule();                                          // Default constructor
+  virtual ~AliCalmodule();                                 // Default destructor
+  AliCalmodule(const AliCalmodule& m);                     // Copy constructor
+  AliCalmodule(Int_t row,Int_t col,Double_t sig);          // Create a module and initialise data
+  virtual TObject* Clone(const char* name="") const;       // Make a deep copy and provide its pointer
+  using AliSignal::SetSignal;
+  virtual void SetSignal(Double_t sig,Int_t j=1);          // Set or change data for certain module
+  using AliSignal::AddSignal;
+  virtual void AddSignal(Double_t sig,Int_t j=1);          // Add signal to a certain module
+  void SetRow(Int_t i);                                    // Set the row number of the module
+  void SetColumn(Int_t i);                                 // Set the column number of the module
+  Int_t GetRow() const;                                    // Return the row number of the module
+  Int_t GetColumn() const;                                 // Return the column number of the module
+  void SetClusteredSignal(Double_t val);                   // Set the signal of the module after clustering
+  Float_t GetClusteredSignal() const;                      // Return module signal after clustering
  
  protected:
-  Int_t fRow;      // The current row number
-  Int_t fCol;      // The current column number
-  Float_t fSigc;   // The signal after clustering
-  Int_t fDead;     // Flag to indicate dead module (1=dead 0=alive)
-  Float_t fGain;   // Gain of the module's readout system
+  Int_t fRow;        // The current row number
+  Int_t fCol;        // The current column number
+  Float_t fSigc;     // The signal after clustering
  
- ClassDef(AliCalmodule,1) // Description of a module in a calorimeter system.
+ ClassDef(AliCalmodule,9) // Description of a module in a calorimeter system.
 };
 #endif