source: tags/Mars-V0.8.3/manalysis/MPedestalCam.h

Last change on this file was 2416, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 998 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
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 ClassDef(MPedestalCam, 1) // Storage Container for all pedestal information of the camera
41};
42
43#endif
44
Note: See TracBrowser for help on using the repository browser.