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

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