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 | public:
|
---|
32 |
|
---|
33 | MMcThresholdCalc(const UInt_t dim = 1,
|
---|
34 | const char* name = NULL, const char* title = NULL);
|
---|
35 | ~MMcThresholdCalc();
|
---|
36 |
|
---|
37 | Bool_t PreProcess(MParList* pList);
|
---|
38 | Bool_t Process();
|
---|
39 | Bool_t PostProcess();
|
---|
40 |
|
---|
41 | ClassDef(MMcThresholdCalc, 0) // Task to compute the energy threshold
|
---|
42 | };
|
---|
43 |
|
---|
44 | #endif
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.