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 | #ifndef ROOT_TArrayI
|
---|
13 | #include <TArrayI.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | class MRawEvtData;
|
---|
17 | class MPedestalCam;
|
---|
18 | class MGeomCam;
|
---|
19 | class MPedCalcPedRun : public MTask
|
---|
20 | {
|
---|
21 |
|
---|
22 | Byte_t fNumHiGainSamples;
|
---|
23 | UInt_t fNumSamplesTot;
|
---|
24 |
|
---|
25 | MRawEvtData *fRawEvt; // raw event data (time slices)
|
---|
26 | MPedestalCam *fPedestals; // Pedestals of all pixels in the camera
|
---|
27 | MGeomCam *fGeom; // Camera geometry
|
---|
28 |
|
---|
29 | TArrayF fSumx; // sum of values
|
---|
30 | TArrayF fSumx2; // sum of squared values
|
---|
31 | TArrayF fAreaSumx; // averaged sum of values per area idx
|
---|
32 | TArrayF fAreaSumx2; // averaged sum of squared values per area idx
|
---|
33 | TArrayI fAreaValid; // number of valid pixel with area idx
|
---|
34 | TArrayF fSectorSumx; // averaged sum of values per sector
|
---|
35 | TArrayF fSectorSumx2; // averaged sum of squared values per sector
|
---|
36 | TArrayI fSectorValid; // number of valid pixel with sector idx
|
---|
37 |
|
---|
38 | Int_t PreProcess ( MParList *pList );
|
---|
39 | Bool_t ReInit ( MParList *pList );
|
---|
40 | Int_t Process ();
|
---|
41 | Int_t PostProcess();
|
---|
42 |
|
---|
43 | public:
|
---|
44 |
|
---|
45 | MPedCalcPedRun(const char *name=NULL, const char *title=NULL);
|
---|
46 |
|
---|
47 | void Clear(const Option_t *o="");
|
---|
48 | void SetNumHiGainSamples(const Byte_t n) { fNumHiGainSamples = n; }
|
---|
49 |
|
---|
50 | ClassDef(MPedCalcPedRun, 0) // Task to calculate pedestals from pedestal runs raw data
|
---|
51 | };
|
---|
52 |
|
---|
53 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.