source: trunk/MagicSoft/Mars/manalysis/MPedPhotCam.h@ 2901

Last change on this file since 2901 was 2630, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MPedPhotCam
2#define MARS_MPedPhotCam
3
4#ifndef MARS_MCamEvent
5#include "MCamEvent.h"
6#endif
7
8class TClonesArray;
9
10class MGeomCam;
11class MPedPhotPix;
12
13class MPedPhotCam : public MCamEvent
14{
15private:
16 TClonesArray *fArray; // FIXME: Change TClonesArray away from a pointer?
17
18public:
19 MPedPhotCam(const char *name=NULL, const char *title=NULL);
20 ~MPedPhotCam();
21
22 void Clear(Option_t *o="");
23
24 void InitSize(const UInt_t i);
25 Int_t GetSize() const;
26
27 MPedPhotPix &operator[](Int_t i);
28 MPedPhotPix &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(MPedPhotCam, 1) // Storage Container for all pedestal information of the camera (in units of photons)
41};
42
43#endif
44
Note: See TracBrowser for help on using the repository browser.