Last change
on this file since 1148 was 1148, checked in by blanch, 23 years ago |
Container that tells the analysis which pixels should not be used.
|
File size:
684 bytes
|
Line | |
---|
1 | #ifndef MARS_MBlindPixels
|
---|
2 | #define MARS_MBlindPixels
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef ROOT_TArrayC
|
---|
9 | #include <TArrayC.h>
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class MBlindPixels : public MParContainer
|
---|
13 | {
|
---|
14 | private:
|
---|
15 | TArrayC fPixels; // Boolean value for every pixel 0=on, 1=blind
|
---|
16 |
|
---|
17 | public:
|
---|
18 | MBlindPixels(const char *name=NULL, const char *title=NULL);
|
---|
19 |
|
---|
20 | void SetPixelBlind(UShort_t id, Bool_t val=kTRUE);
|
---|
21 | void AdoptPixels(Char_t pixels[577]) { fPixels.Adopt(577, pixels); }
|
---|
22 |
|
---|
23 | void Clear(Option_t *o="") { fPixels.Reset(); }
|
---|
24 |
|
---|
25 | Bool_t IsBlind(UShort_t id) { return (Bool_t)fPixels[id]; }
|
---|
26 |
|
---|
27 | ClassDef(MBlindPixels, 1) // container of Blind pixels
|
---|
28 | };
|
---|
29 |
|
---|
30 | #endif
|
---|
31 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.