]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RALICE/AliCalmodule.h
New version of RALICE introduced
[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
6/* $Id$ */
7
d88f97cc 8#include <iostream.h>
9
10#include "AliSignal.h"
11
12class AliCalmodule : public AliSignal
13{
14 public:
15 AliCalmodule(); // Default constructor
16 ~AliCalmodule(); // Default destructor
17 AliCalmodule(Int_t row,Int_t col,Float_t sig); // Create a module and initialise data
18 void SetSignal(Int_t row,Int_t col,Float_t sig); // Set or change data for certain module
19 void AddSignal(Int_t row,Int_t col,Float_t sig); // Add signal to a certain module
20 void SetRow(Int_t i); // Set the row number of the module
21 void SetColumn(Int_t i); // Set the column number of the module
22 Int_t GetRow(); // Return the row number of the module
23 Int_t GetColumn(); // Return the column number of the module
d88f97cc 24 void SetClusteredSignal(Float_t val); // Set the signal of the module after clustering
25 Float_t GetClusteredSignal(); // Return module signal after clustering
26 void SetEdgeOn(); // Set flag to indicate modules at edges
27 void SetEdgeOff(); // Set flag to indicate modules not at edges
28 void EdgeUp(); // Increase edge value by 1
29 void EdgeDown(); // Decrease edge value by 1
30 Int_t GetEdgeValue(); // Return the value of the edge indicator
31 void SetDead(); // Set flag to indicate dead modules
32 void SetAlive(); // Set flag to indicate active modules
33 Int_t GetDeadValue(); // Return the value of the dead module indicator
34 void SetGain(Float_t gain); // Set gain of the module's readout system
35 Float_t GetGain(); // Return the gain value
36
37 protected:
38 Int_t fRow; // The current row number
39 Int_t fCol; // The current column number
40 Float_t fSigc; // The signal after clustering
41 Int_t fEdge; // Flag to indicate edge module (>0=edge 0=no edge)
42 Int_t fDead; // Flag to indicate dead module (1=dead 0=alive)
43 Float_t fGain; // Gain of the module's readout system
44
959fbac5 45 ClassDef(AliCalmodule,1) // Description of a module in a calorimeter system.
d88f97cc 46};
47#endif