source: trunk/MagicSoft/Mars/manalysis/MPedPhotCalc.h@ 2970

Last change on this file since 2970 was 2848, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 743 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;
14
15class MPedPhotCalc : public MTask
16{
17 MPedPhotCam *fPedestals; // Pedestals of all pixels in the camera
18 MCerPhotEvt *fCerPhot;
19
20 TArrayF fSumx; // sum of values
21 TArrayF fSumx2; // sum of squared values
22
23 Bool_t ReInit(MParList *pList);
24
25 Int_t PreProcess(MParList *pList);
26 Int_t Process();
27 Int_t PostProcess();
28
29public:
30 MPedPhotCalc(const char *name=NULL, const char *title=NULL);
31
32 ClassDef(MPedPhotCalc, 0)//Task to calculate pedestals from the charge computed from pedestal runs (in units of photons)
33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.