public:
AliCalmodule(); // Default constructor
virtual ~AliCalmodule(); // Default destructor
- AliCalmodule(AliCalmodule& m); // Copy constructor
+ 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=""); // Make a deep copy and provide its pointer
+ virtual TObject* Clone(const char* name="") const; // Make a deep copy and provide its pointer
virtual void SetSignal(Double_t sig,Int_t j=1); // Set or change data for certain module
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(); // Return the row number of the module
- Int_t GetColumn(); // Return 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(); // Return module signal 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
- ClassDef(AliCalmodule,7) // Description of a module in a calorimeter system.
+ ClassDef(AliCalmodule,8) // Description of a module in a calorimeter system.
};
#endif