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

Last change on this file since 2744 was 2659, 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 number of time slice into which the signal reaches a max. //
9// P R E L I M I N A R Y //
10// Other more sophisticated methods have to be implemented. //
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 // FIXME: The array size should be checked!
45
46 ~MArrivalTimeCalc(){}
47
48 ClassDef(MArrivalTimeCalc, 0) // Task to calculate cerenkov photons from raw data
49};
50
51
52#endif
Note: See TracBrowser for help on using the repository browser.