source: trunk/MagicSoft/Mars/manalysis/MBlindPixels.h@ 1509

Last change on this file since 1509 was 1466, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 700 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
12class MBlindPixels : public MParContainer
13{
14private:
15 TArrayC fPixels; // Boolean value for every pixel 0=on, 1=blind
16
17public:
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 fPixels.GetSize() && fPixels[id]; }
26
27 ClassDef(MBlindPixels, 1) // container to store blind pixels
28};
29
30#endif
31
Note: See TracBrowser for help on using the repository browser.