source: trunk/MagicSoft/Mars/mreflector/MRflEvtData.h@ 2876

Last change on this file since 2876 was 2229, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 863 bytes
Line 
1#ifndef MARS_MRflEvtData
2#define MARS_MRflEvtData
3
4#ifndef MARS_MCamEvent
5#include "MCamEvent.h"
6#endif
7
8#ifndef ROOT_TClonesArray
9#include <TClonesArray.h>
10#endif
11
12class MRflSinglePhoton;
13
14class MRflEvtData : public MCamEvent
15{
16 TClonesArray fList;
17 Int_t fPos;
18
19public:
20 MRflEvtData(const char *name=NULL, const char *title=NULL);
21
22 void Reset() { fPos = 0; }
23
24 Int_t GetNumPhotons() const { return fList.GetEntriesFast(); }
25
26 MRflSinglePhoton &GetNewPhoton();
27 void FixSize();
28
29 const MRflSinglePhoton &GetPhoton(Int_t i) const;
30
31 void Print(Option_t *o="") const;
32 void Paint(Option_t *o="");
33
34 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
35 void DrawPixelContent(Int_t num) const;
36
37 ClassDef(MRflEvtData, 0) // All Photons of a event from the reflector program
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.