source: branches/removing_cpp11_features/mpedestal/MPedPhotCalc.h

Last change on this file was 6857, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 782 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 MSignalCam;
14class MBadPixelsCam;
15class MPedPhotCalc : public MTask
16{
17
18 MPedPhotCam *fPedestals; // Pedestals of all pixels in the camera
19 MSignalCam *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.