]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - ITS/AliITSOnlineSDD.h
added default OCDB configuration objects for ITS components
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineSDD.h
... / ...
CommitLineData
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>
13
14class AliITSOnlineSDD : public TObject {
15
16 public:
17 AliITSOnlineSDD();
18 AliITSOnlineSDD(Int_t nddl, Int_t ncarlos, Int_t sid);
19 virtual ~AliITSOnlineSDD(){};
20
21 void SetDDL(Int_t nd){fDDL=nd;}
22 void SetCarlos(Int_t nc){fCarlos=nc;}
23 void SetDetectorSide(Int_t sid){fSide=sid;}
24 void SetFirstGoodTB(Int_t itb=1){fFirstGoodTB=itb;}
25 void SetLastGoodTB(Int_t itb=126){fLastGoodTB=itb;}
26
27 Int_t GetDDL() const {return fDDL;}
28 Int_t GetCarlos() const {return fCarlos;}
29 Int_t GetDetectorSide() const {return fSide;}
30 Int_t GetFirstGoodTB() const {return fFirstGoodTB;}
31 Int_t GetLastGoodTB() const {return fLastGoodTB;}
32
33 protected:
34 static const Int_t fgkNAnodes = 256; // number of anodes in each half-module
35 Int_t fDDL; // SDD DDL number (from 0 to 24)
36 Int_t fCarlos; // carlos number inside DDL (from 0 to 11)
37 Int_t fSide; // detector side (0-1)
38 Int_t fFirstGoodTB; // first good time bin (to exclude time bin 0)
39 Int_t fLastGoodTB; // last good time bin (to exclude time bin 255)
40
41 ClassDef(AliITSOnlineSDD,3);
42};
43#endif