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 |
|
---|
18 | class MPedPhotCam;
|
---|
19 | class MRawEvtData;
|
---|
20 | class MCerPhotEvt;
|
---|
21 |
|
---|
22 | class 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 |
|
---|
38 | public:
|
---|
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.