]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/AliCalmodule.h
Coverity correction.
[u/mrichter/AliRoot.git] / RALICE / AliCalmodule.h
1 #ifndef ALICALMODULE_H
2 #define ALICALMODULE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 // $Id$
7
8 #include "AliSignal.h"
9  
10 class AliCalmodule : public AliSignal
11 {
12  public:
13   AliCalmodule();                                          // Default constructor
14   virtual ~AliCalmodule();                                 // Default destructor
15   AliCalmodule(const AliCalmodule& m);                     // Copy constructor
16   AliCalmodule(Int_t row,Int_t col,Double_t sig);          // Create a module and initialise data
17   virtual TObject* Clone(const char* name="") const;       // Make a deep copy and provide its pointer
18   using AliSignal::SetSignal;
19   virtual void SetSignal(Double_t sig,Int_t j=1);          // Set or change data for certain module
20   using AliSignal::AddSignal;
21   virtual void AddSignal(Double_t sig,Int_t j=1);          // Add signal to a certain module
22   void SetRow(Int_t i);                                    // Set the row number of the module
23   void SetColumn(Int_t i);                                 // Set the column number of the module
24   Int_t GetRow() const;                                    // Return the row number of the module
25   Int_t GetColumn() const;                                 // Return the column number of the module
26   void SetClusteredSignal(Double_t val);                   // Set the signal of the module after clustering
27   Float_t GetClusteredSignal() const;                      // Return module signal after clustering
28  
29  protected:
30   Int_t fRow;        // The current row number
31   Int_t fCol;        // The current column number
32   Float_t fSigc;     // The signal after clustering
33  
34  ClassDef(AliCalmodule,9) // Description of a module in a calorimeter system.
35 };
36 #endif