Line | |
---|
1 | #ifndef MARS_MBadPixelsCam
|
---|
2 | #define MARS_MBadPixelsCam
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 | #ifndef MARS_MCamEvent
|
---|
8 | #include "MCamEvent.h"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | class TClonesArray;
|
---|
12 | class MBadPixelsPix;
|
---|
13 |
|
---|
14 | class MBadPixelsCam : public MParContainer, public MCamEvent
|
---|
15 | {
|
---|
16 | private:
|
---|
17 | TClonesArray *fArray; //->
|
---|
18 |
|
---|
19 | public:
|
---|
20 | MBadPixelsCam(const char *name=NULL, const char *title=NULL);
|
---|
21 | ~MBadPixelsCam();
|
---|
22 |
|
---|
23 | void Clear(Option_t *o="");
|
---|
24 | void Print(Option_t *o="") const;
|
---|
25 | void Copy(TObject &object) const;
|
---|
26 |
|
---|
27 | void InitSize(const UInt_t i);
|
---|
28 | Int_t GetSize() const;
|
---|
29 |
|
---|
30 | MBadPixelsPix &operator[](Int_t i);
|
---|
31 | const MBadPixelsPix &operator[](Int_t i) const;
|
---|
32 |
|
---|
33 | void Merge(const MBadPixelsCam &cam);
|
---|
34 |
|
---|
35 | void AsciiRead(ifstream &fin, UInt_t run);
|
---|
36 | void AsciiRead(ifstream &fin) { AsciiRead(fin, 0); }
|
---|
37 | Bool_t AsciiWrite(ostream &out, UInt_t run) const;
|
---|
38 | Bool_t AsciiWrite(ostream &out) const { return AsciiWrite(out, 0); }
|
---|
39 |
|
---|
40 | Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
|
---|
41 | void DrawPixelContent(Int_t num) const;
|
---|
42 |
|
---|
43 | ClassDef(MBadPixelsCam, 1) //Storage container to store bad pixel of the camera...
|
---|
44 | };
|
---|
45 |
|
---|
46 | #endif
|
---|
47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.