| 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 |
|
|---|
| 11 | class MGeomCam;
|
|---|
| 12 | class MRawEvtData;
|
|---|
| 13 | class MRawEvtPixelIter;
|
|---|
| 14 |
|
|---|
| 15 | class MArrivalTime : public MCamEvent
|
|---|
| 16 | {
|
|---|
| 17 | private:
|
|---|
| 18 | TArrayD fData; // Stores the arrival times
|
|---|
| 19 |
|
|---|
| 20 | public:
|
|---|
| 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.