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 |
|
---|
18 | class MRawEvtData;
|
---|
19 | class MPedestalCam;
|
---|
20 | class MExtractedSignalCam;
|
---|
21 |
|
---|
22 | class MPedCalcPedRun : public MTask
|
---|
23 | {
|
---|
24 | Byte_t fNumHiGainSamples;
|
---|
25 | UShort_t fNumPixels;
|
---|
26 | ULong_t fNumSamplesTot;
|
---|
27 |
|
---|
28 | MRawEvtData *fRawEvt; // raw event data (time slices)
|
---|
29 | MPedestalCam *fPedestals; // Pedestals of all pixels in the camera
|
---|
30 | MExtractedSignalCam *fSignals; // Signals of all pixels in the camera
|
---|
31 |
|
---|
32 | TArrayF fSumx; // sum of values
|
---|
33 | TArrayF fSumx2; // sum of squared values
|
---|
34 |
|
---|
35 | Bool_t fUseHists;
|
---|
36 |
|
---|
37 | Bool_t ReInit(MParList *pList);
|
---|
38 |
|
---|
39 | Int_t PreProcess(MParList *pList);
|
---|
40 | Int_t Process();
|
---|
41 | Int_t PostProcess();
|
---|
42 |
|
---|
43 | public:
|
---|
44 | MPedCalcPedRun(const char *name=NULL, const char *title=NULL);
|
---|
45 |
|
---|
46 | void Clear(const Option_t *o="");
|
---|
47 |
|
---|
48 | void SetUseHists(const Bool_t b = kTRUE) { fUseHists = b; }
|
---|
49 | Bool_t IsUseHists() const { return fUseHists; }
|
---|
50 |
|
---|
51 | ClassDef(MPedCalcPedRun, 0) // Task to calculate pedestals from pedestal runs raw data
|
---|
52 | };
|
---|
53 |
|
---|
54 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.