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