source: trunk/MagicSoft/Mars/mpedestal/MPedPhotCalc.h@ 6217

Last change on this file since 6217 was 3803, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 784 bytes
Line 
1#ifndef MARS_MPedPhotCalc
2#define MARS_MPedPhotCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#ifndef ROOT_TArrayF
9#include <TArrayF.h>
10#endif
11
12class MPedPhotCam;
13class MCerPhotEvt;
14class MBadPixelsCam;
15class MPedPhotCalc : public MTask
16{
17
18 MPedPhotCam *fPedestals; // Pedestals of all pixels in the camera
19 MCerPhotEvt *fCerPhot; // Calibrated Cherenkov events
20 MBadPixelsCam *fBadPixels; // Bad Pixels
21
22 TArrayF fSumx; // sum of values
23 TArrayF fSumx2; // sum of squared values
24
25 Bool_t ReInit(MParList *pList);
26
27 Int_t PreProcess(MParList *pList);
28 Int_t Process();
29 Int_t PostProcess();
30
31public:
32 MPedPhotCalc(const char *name=NULL, const char *title=NULL);
33
34 ClassDef(MPedPhotCalc, 0) //Task to calculate pedestals in units of photons
35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.