]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliCalmodule.h
08-feb-2003 NvE Class AliSignal modified such that the maximum number of signal slots is
[u/mrichter/AliRoot.git] / RALICE / AliCalmodule.h
index f272e79fcb9d2fd70ac3c9410c02343a51d6c32e..5577f6017977f6217163d183df9dc29bb7828c5a 100644 (file)
 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
+  ~AliCalmodule();                                         // Default destructor
+  AliCalmodule(Int_t row,Int_t col,Float_t sig);           // Create a module and initialise data
+  virtual void SetSignal(Int_t row,Int_t col,Float_t sig); // Set or change data for certain module
+  virtual 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
  
  protected:
   Int_t fRow;      // The current row number
@@ -36,6 +36,6 @@ class AliCalmodule : public AliSignal
   Int_t fDead;     // Flag to indicate dead module (1=dead 0=alive)
   Float_t fGain;   // Gain of the module's readout system
  
- ClassDef(AliCalmodule,1) // Description of a module in a calorimeter system.
+ ClassDef(AliCalmodule,2) // Description of a module in a calorimeter system.
 };
 #endif