source: trunk/MagicSoft/Mars/manalysis/MPedestalCam.h@ 2951

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