Line | |
---|
1 | #ifndef MMCTHREASHOLDCALC_H
|
---|
2 | #define MMCTHREASHOLDCALC_H
|
---|
3 |
|
---|
4 | /////////////////////////////////////////////////////////////////////////////
|
---|
5 | // //
|
---|
6 | // MMcThresholdCalc //
|
---|
7 | // //
|
---|
8 | // Compute the energy threshold from Monte Carlo data //
|
---|
9 | // //
|
---|
10 | /////////////////////////////////////////////////////////////////////////////
|
---|
11 |
|
---|
12 | #ifndef MTASK_h
|
---|
13 | #include "MTask.h"
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | class MMcEvt;
|
---|
17 | class MMcTrig;
|
---|
18 | class MHMcEnergy;
|
---|
19 |
|
---|
20 | class MMcThresholdCalc : public MTask
|
---|
21 | {
|
---|
22 | private:
|
---|
23 | UInt_t fDimension;
|
---|
24 |
|
---|
25 | const MMcEvt *fMcEvt; // Container with Monte Carlo information
|
---|
26 | MMcTrig **fMcTrig; // Container with Monte Carlo trigger information
|
---|
27 | MHMcEnergy **fHMcEnergy; // Container where we save the energy (threshold)
|
---|
28 |
|
---|
29 | Bool_t *fMustDelete; // delete indicator for selfcreated energy hists
|
---|
30 |
|
---|
31 | const static Float_t fSqrt2; // sqrt(2)
|
---|
32 |
|
---|
33 | public:
|
---|
34 |
|
---|
35 | MMcThresholdCalc(const UInt_t dim = 1,
|
---|
36 | const char* name = NULL, const char* title = NULL);
|
---|
37 | ~MMcThresholdCalc();
|
---|
38 |
|
---|
39 | Bool_t PreProcess(MParList* pList);
|
---|
40 | Bool_t Process();
|
---|
41 | Bool_t PostProcess();
|
---|
42 |
|
---|
43 | ClassDef(MMcThresholdCalc, 0) // Task to compute the energy threshold
|
---|
44 | };
|
---|
45 |
|
---|
46 | #endif
|
---|
47 |
|
---|
48 |
|
---|
49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.