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

Last change on this file since 2841 was 2837, checked in by rico, 21 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MPedPhotCalc
2#define MARS_MPedPhotCalc
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MPedPhotCalc //
7// //
8// Evaluate the pedestals from pedestal runs using charge extraction //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MARS_MTask
13#include "MTask.h"
14#endif
15
16#include <TArrayF.h>
17
18class MPedPhotCam;
19class MRawEvtData;
20class MCerPhotEvt;
21
22class MPedPhotCalc : public MTask
23{
24 UShort_t fNumPixels;
25
26 MPedPhotCam *fPedestals; // Pedestals of all pixels in the camera
27 MCerPhotEvt *fCerPhot;
28
29 TArrayF fSumx; // sum of values
30 TArrayF fSumx2; // sum of squared values
31
32 Bool_t ReInit(MParList *pList);
33
34 Int_t PreProcess(MParList *pList);
35 Int_t Process();
36 Int_t PostProcess();
37
38public:
39 MPedPhotCalc(const char *name=NULL, const char *title=NULL);
40
41 ClassDef(MPedPhotCalc, 0) // Task to calculate pedestals from pedestal runs raw data
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.