source: trunk/MagicSoft/Mars/manalysis/MArrivalTime.h@ 2744

Last change on this file since 2744 was 2651, checked in by raducci, 21 years ago
*** empty log message ***
File size: 905 bytes
Line 
1#ifndef MARS_MArrivalTime
2#define MARS_MArrivalTime
3
4#ifndef ROOT_TArrayD
5#include <TArrayD.h>
6#endif
7#ifndef MARS_MCamEvent
8#include "MCamEvent.h"
9#endif
10
11class MGeomCam;
12class MRawEvtData;
13class MRawEvtPixelIter;
14
15class MArrivalTime : public MCamEvent
16{
17private:
18 TArrayD fData; // Stores the arrival times
19
20public:
21 MArrivalTime(const char *name=NULL, const char *title=NULL);
22 ~MArrivalTime() { }
23
24 UInt_t GetNumPixels() const { return fData.GetSize(); }
25
26 void Calc(const MRawEvtData &evt, const MGeomCam &geom); // Calculates arrival times
27
28 const TArrayD &GetData() const { return fData; }
29
30 Double_t operator[](int i) { return fData[i]; }
31
32 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
33 void DrawPixelContent(Int_t num) const;
34
35 ClassDef(MArrivalTime, 0) // class for an event containing the arrival times
36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.