source: trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.h@ 2881

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