minor fix
[u/mrichter/AliRoot.git] / ITS / AliITSBadChannelsSSD.h
CommitLineData
fb4dfab9 1#ifndef ALIITSBADCHANNELSSSD_H
2#define ALIITSBADCHANNELSSSD_H
3
88128115 4#include "TObjArray.h"
5#include "TArrayI.h"
6
fb4dfab9 7//////////////////////////////////////////////
88128115 8// Response class for SSD //
fb4dfab9 9// //
10//////////////////////////////////////////////
11class AliITSBadChannelsSSD : public TObject {
12
13 public:
14 AliITSBadChannelsSSD();
15 virtual ~AliITSBadChannelsSSD();
16
88128115 17 void SetNBadPChannelsList(Int_t n) { fBadPChannelsList.Set(n); }
18 void AddBadPChannel(Int_t c, Int_t n) { fBadPChannelsList.AddAt(n,c);}
19 TArrayI GetBadPChannelsList() const {return fBadPChannelsList; }
20 Int_t GetBadPChannel(Int_t n) {return fBadPChannelsList.At(n); }
21 void SetNBadNChannelsList(Int_t n) { fBadNChannelsList.Set(n); }
22 void AddBadNChannel(Int_t c, Int_t n) { fBadNChannelsList.AddAt(n,c);}
23 TArrayI GetBadNChannelsList() const {return fBadNChannelsList; }
24 Int_t GetBadNChannel(Int_t n) {return fBadNChannelsList.At(n); }
25 //
fb4dfab9 26
88128115 27 void SetMod(UShort_t mod) {fMod = mod;}
7ab0e0a5 28 UShort_t GetMod() const { return fMod;}
fb4dfab9 29
30 protected:
31
88128115 32 UShort_t fMod; // module number (from 0 to 1535). Needed by the preprocessor to
33 // extract the information from the Detector Algorithm
34
35 TArrayI fBadNChannelsList; // list of P side dead channels
36 TArrayI fBadPChannelsList; // list of N side dead channels
37
fb4dfab9 38 private:
88128115 39 AliITSBadChannelsSSD(const AliITSBadChannelsSSD &source); // copy constructor
40 AliITSBadChannelsSSD& operator=(const AliITSBadChannelsSSD &source); // ass. op.
fb4dfab9 41
88128115 42 ClassDef(AliITSBadChannelsSSD,1) //Response class for SSD
43};
fb4dfab9 44#endif