Line | |
---|
1 | #ifndef MARS_MPedPhotCam
|
---|
2 | #define MARS_MPedPhotCam
|
---|
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 |
|
---|
13 | class MGeomCam;
|
---|
14 | class MPedPhotPix;
|
---|
15 |
|
---|
16 | class MPedPhotCam : public MParContainer, public MCamEvent
|
---|
17 | {
|
---|
18 | private:
|
---|
19 | TClonesArray *fArray; // FIXME: Change TClonesArray away from a pointer?
|
---|
20 |
|
---|
21 | public:
|
---|
22 | MPedPhotCam(const char *name=NULL, const char *title=NULL);
|
---|
23 | ~MPedPhotCam();
|
---|
24 |
|
---|
25 | void Clear(Option_t *o="");
|
---|
26 |
|
---|
27 | void InitSize(const UInt_t i);
|
---|
28 | Int_t GetSize() const;
|
---|
29 |
|
---|
30 | MPedPhotPix &operator[](Int_t i);
|
---|
31 | MPedPhotPix &operator[](Int_t i) const;
|
---|
32 |
|
---|
33 | // Float_t GetPedestalMin(const MGeomCam *cam) const;
|
---|
34 | // Float_t GetPedestalMax(const MGeomCam *cam) const;
|
---|
35 |
|
---|
36 | // Bool_t CheckBounds(Int_t i);
|
---|
37 |
|
---|
38 | void Print(Option_t *o="") const;
|
---|
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(MPedPhotCam, 1) // Storage Container for all pedestal information of the camera (in units of photons)
|
---|
44 | };
|
---|
45 |
|
---|
46 | #endif
|
---|
47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.