]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSOnlineSDD.h
The GMS source file system changed from kDAQ to kDCS
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineSDD.h
CommitLineData
348f80b7 1#ifndef ALIITSONLINESDD_H
2#define ALIITSONLINESDD_H
3
4
5///////////////////////////////////////////////////////////////////
6// //
7// Base class for SDD detector algorithms //
8// Origin: F.Prino, Torino, prino@to.infn.it //
9// //
10///////////////////////////////////////////////////////////////////
11
12#include<TObject.h>
348f80b7 13
14class AliITSOnlineSDD : public TObject {
15
16 public:
17 AliITSOnlineSDD();
18 AliITSOnlineSDD(Int_t mod, Int_t sid);
19 virtual ~AliITSOnlineSDD(){};
20
21 void SetModule(Int_t mod){fModuleId=mod;}
22 void SetDetectorSide(Int_t sid){fSide=sid;}
23
24 Int_t GetModuleId() const {return fModuleId;}
25 Int_t GetDetectorSide() const {return fSide;}
26
27 protected:
beb262b4 28 static const Int_t fgkNAnodes = 256; // number of anodes in each half-module
348f80b7 29 Int_t fModuleId; // module number from 0 to 255
30 Int_t fSide; // detector side (0-1)
31
32 ClassDef(AliITSOnlineSDD,1);
33};
34#endif