source: trunk/MagicSoft/Mars/mgui/MCamEvent.h@ 9620

Last change on this file since 9620 was 7780, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 753 bytes
Line 
1#ifndef MARS_MCamEvent
2#define MARS_MCamEvent
3
4#ifndef ROOT_TArrayD
5#include <TArrayD.h>
6#endif
7
8class MGeomCam;
9
10class MCamEvent
11{
12public:
13 virtual ~MCamEvent() { }
14
15 virtual Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const = 0;
16 virtual void DrawPixelContent(Int_t num) const = 0;
17
18 virtual void Init(const MGeomCam &geom);
19 virtual void InitSize(const UInt_t i) { } // Used by MGeomApply see Init()
20
21 virtual Double_t GetCameraMean(const MGeomCam &cam, Int_t type=0) const;
22 virtual Double_t GetCameraRMS(const MGeomCam &cam, Int_t type=0) const;
23 virtual TArrayD GetCameraStat(const MGeomCam &cam, Int_t type=0) const;
24
25 ClassDef(MCamEvent, 0) // A camera event
26};
27
28#endif
29
Note: See TracBrowser for help on using the repository browser.