Line | |
---|
1 | #ifndef MARS_MAddGainFluctuation
|
---|
2 | #define MARS_MAddGainFluctuation
|
---|
3 |
|
---|
4 | /////////////////////////////////////////////////////////////////////////////
|
---|
5 | // //
|
---|
6 | // MCerPhotCalc //
|
---|
7 | // //
|
---|
8 | // Integrates the desired ADC time slices of one pixel and substracts the //
|
---|
9 | // pedestal (offset) value //
|
---|
10 | // //
|
---|
11 | /////////////////////////////////////////////////////////////////////////////
|
---|
12 | #ifndef ROOT_TArrayF
|
---|
13 | #include <TArrayF.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #ifndef ROOT_TH1F
|
---|
17 | #include <TH1F.h>
|
---|
18 | #endif
|
---|
19 |
|
---|
20 | #ifndef MARS_MTask
|
---|
21 | #include "MTask.h"
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | class MCerPhotEvt;
|
---|
25 | class MGainFluctuationCam;
|
---|
26 | class MGeomCam;
|
---|
27 | class TH1F;
|
---|
28 |
|
---|
29 | class MAddGainFluctuation : public MTask
|
---|
30 | {
|
---|
31 | const MGeomCam *fGeomCam;
|
---|
32 | MCerPhotEvt *fCerPhotEvt; // Cerenkov Photon Event used for calculation
|
---|
33 | MGainFluctuationCam *fGainFlucCam; // Gain Fluctuation
|
---|
34 | TH1F *fGainsDistribution; // Distribution of Gain fluctuatins in the Camera
|
---|
35 | Int_t fAddFluctuations; // If 0 skip Process
|
---|
36 |
|
---|
37 | void Fill();
|
---|
38 |
|
---|
39 | Int_t PreProcess(MParList *pList);
|
---|
40 | Int_t Process();
|
---|
41 |
|
---|
42 | Bool_t ReInit(MParList *pList);
|
---|
43 |
|
---|
44 | public:
|
---|
45 | MAddGainFluctuation(const char *name=NULL, const char *title=NULL);
|
---|
46 |
|
---|
47 | void SetHist(int bins, float fb, float lb, float *values);
|
---|
48 | void FillHist(int flag, float sigma);
|
---|
49 |
|
---|
50 | ClassDef(MAddGainFluctuation, 0) // Task to add Gain fluctuations
|
---|
51 | };
|
---|
52 |
|
---|
53 |
|
---|
54 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.