source: trunk/MagicSoft/Mars/manalysis/MArrivalTimeCalc.h@ 2876

Last change on this file since 2876 was 2752, checked in by raducci, 21 years ago
*** empty log message ***
File size: 1.7 KB
Line 
1#ifndef MARS_MArrivalTimeCalc
2#define MARS_MArrivalTimeCalc
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MArrivalTimeCalc //
7// //
8// Evaluates the Arrival Times //
9// //
10// //
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef MARS_MTask
14#include "MTask.h"
15#endif
16
17class MRawEvtData;
18class MCameraData;
19class MRawRunHeader;
20class MGeomCam;
21class MArrivalTime;
22
23class MArrivalTimeCalc : public MTask
24{
25 MRawEvtData *fRawEvt; // raw event data (time slices)
26 MCameraData *fCamData; // Cerenkov Photon Event used for calculation
27 MRawRunHeader *fRunHeader; // RunHeader information
28 MGeomCam *fGeom; // Geometry information
29 MArrivalTime *fArrTime; // Container with the photons arrival times
30
31 Bool_t fEnableFix; // fix for a bug in files from older camera versions (<=40)
32 Bool_t fIsMcFile;
33
34 Int_t PreProcess(MParList *pList);
35 Int_t Process();
36 Int_t PostProcess() {return kTRUE;}
37 Bool_t ReInit(MParList *pList) {
38 return kTRUE;
39 }
40
41public:
42 MArrivalTimeCalc(const char *name=NULL, const char *title=NULL);
43
44 ~MArrivalTimeCalc(){}
45
46 ClassDef(MArrivalTimeCalc, 0) // Task to calculate Arrival Times from raw data
47};
48
49
50#endif
Note: See TracBrowser for help on using the repository browser.