source: trunk/MagicSoft/Mars/manalysis/MCerPhotCalc.h@ 1468

Last change on this file since 1468 was 1291, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MCerPhotCalc
2#define MARS_MCerPhotCalc
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MCerPhotCalc //
7// //
8// Integrates the time slices of one pixel and substracts the pedestal //
9// (offset) value //
10// //
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef MARS_MTask
14#include "MTask.h"
15#endif
16
17class MRawEvtData;
18class MPedestalCam;
19class MCerPhotEvt;
20class MRawRunHeader;
21
22class MCerPhotCalc : public MTask
23{
24 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera
25 MRawEvtData *fRawEvt; // raw event data (time slices)
26 MCerPhotEvt *fCerPhotEvt; // Cerenkov Photon Event used for calculation
27 MRawRunHeader *fRunHeader; // RunHeader information
28
29 Bool_t fEnableFix; // fix for a bug in files from older camera versions (<=40)
30
31public:
32 MCerPhotCalc(const char *name=NULL, const char *title=NULL);
33
34 Bool_t PreProcess(MParList *pList);
35 Bool_t Process();
36
37 Bool_t ReInit(MParList *pList);
38
39 ClassDef(MCerPhotCalc, 0) // Task to calculate cerenkov photons from raw data
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.