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

Last change on this file since 1106 was 1091, checked in by blanch, 23 years ago
Added fNumLoGainFadcSlices and fNumHiGainFadcSlices member variables because they are needed for Pedestal substraction.
File size: 1.3 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;
20
21class MCerPhotCalc : public MTask
22{
23 const MPedestalCam *fPedestals; // Pedestals of all pixels in the camera
24 MRawEvtData *fRawEvt; // raw event data (time slices)
25 MCerPhotEvt *fCerPhotEvt; // Cerenkov Photon Event used for calculation
26 UShort_t fNumLoGainFadcSlices; //
27 UShort_t fNumHiGainFadcSlices; //
28
29public:
30 MCerPhotCalc(const char *name=NULL, const char *title=NULL);
31
32 Bool_t PreProcess(MParList *pList);
33 Bool_t Process();
34
35 ClassDef(MCerPhotCalc, 0) // Task to calculate cerenkov photons from raw data
36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.