source: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.h@ 3080

Last change on this file since 3080 was 3068, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.2 KB
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
11class TClonesArray;
12class MBadPixelsPix;
13
14class MBadPixelsCam : public MParContainer, public MCamEvent
15{
16private:
17 TClonesArray *fArray; //->
18
19public:
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.