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 |
|
---|
12 | class MRawEvtData;
|
---|
13 | class MPedestalCam;
|
---|
14 |
|
---|
15 | class 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 |
|
---|
32 | public:
|
---|
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.