| Line | |
|---|
| 1 | #ifndef MARS_MPedestalCam
|
|---|
| 2 | #define MARS_MPedestalCam
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MCamEvent
|
|---|
| 5 | #include "MCamEvent.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class TClonesArray;
|
|---|
| 9 |
|
|---|
| 10 | class MGeomCam;
|
|---|
| 11 | class MPedestalPix;
|
|---|
| 12 |
|
|---|
| 13 | class MPedestalCam : public MCamEvent
|
|---|
| 14 | {
|
|---|
| 15 | private:
|
|---|
| 16 | TClonesArray *fArray; // FIXME: Change TClonesArray away from a pointer?
|
|---|
| 17 |
|
|---|
| 18 | public:
|
|---|
| 19 | MPedestalCam(const char *name=NULL, const char *title=NULL);
|
|---|
| 20 | ~MPedestalCam();
|
|---|
| 21 |
|
|---|
| 22 | void Clear(Option_t *o="");
|
|---|
| 23 |
|
|---|
| 24 | void InitSize(const UInt_t i);
|
|---|
| 25 | Int_t GetSize() const;
|
|---|
| 26 |
|
|---|
| 27 | MPedestalPix &operator[](Int_t i);
|
|---|
| 28 | MPedestalPix &operator[](Int_t i) const;
|
|---|
| 29 |
|
|---|
| 30 | Float_t GetPedestalMin(const MGeomCam *cam) const;
|
|---|
| 31 | Float_t GetPedestalMax(const MGeomCam *cam) const;
|
|---|
| 32 |
|
|---|
| 33 | Bool_t CheckBounds(Int_t i);
|
|---|
| 34 |
|
|---|
| 35 | void Print(Option_t *o="") const;
|
|---|
| 36 |
|
|---|
| 37 | Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
|
|---|
| 38 | void DrawPixelContent(Int_t num) const
|
|---|
| 39 | {
|
|---|
| 40 | }
|
|---|
| 41 |
|
|---|
| 42 | ClassDef(MPedestalCam, 1) // Storage Container for all pedestal information of the camera
|
|---|
| 43 | };
|
|---|
| 44 |
|
|---|
| 45 | #endif
|
|---|
| 46 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.