]>
Commit | Line | Data |
---|---|---|
e526983e | 1 | #ifndef ALITRDENTRIESINFO_H |
2 | #define ALITRDENTRIESINFO_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id: AliTRDEntriesInfo.h 27946 2008-08-13 15:26:24Z cblume $ */ | |
7 | ||
8 | ////////////////////////////////////////////////// | |
9 | // // | |
10 | // TRD calibration base class for one ROC // | |
11 | // // | |
12 | ////////////////////////////////////////////////// | |
13 | ||
14 | #include <AliTRDUshortInfo.h> | |
15 | ||
16 | //_____________________________________________________________________________ | |
17 | class AliTRDEntriesInfo : public AliTRDUshortInfo | |
18 | { | |
19 | ||
20 | public: | |
21 | ||
22 | AliTRDEntriesInfo(); | |
23 | AliTRDEntriesInfo(Int_t n); | |
24 | AliTRDEntriesInfo(const AliTRDEntriesInfo &c); | |
25 | virtual ~AliTRDEntriesInfo(); | |
26 | AliTRDEntriesInfo &operator=(const AliTRDEntriesInfo &c); | |
27 | ||
28 | ||
29 | Int_t At(Int_t bin) const { return (Int_t) fData[bin]; }; | |
30 | ||
31 | void AddAt(Int_t value, Int_t bin) { fData[bin] = (UShort_t) value; }; | |
32 | ||
33 | // | |
34 | // statistic | |
35 | // | |
2c919856 | 36 | Int_t GetSum() const; |
e526983e | 37 | |
38 | // algebra | |
39 | Bool_t TestAdd(const AliTRDEntriesInfo * info); | |
40 | void Add(const AliTRDEntriesInfo *info); | |
41 | void AddIf(const AliTRDEntriesInfo *info); | |
42 | ||
43 | protected: | |
44 | ||
45 | ClassDef(AliTRDEntriesInfo, 2) | |
46 | ||
47 | }; | |
48 | ||
49 | #endif |