source: trunk/MagicSoft/Mars/mmontecarlo/MMcThresholdCalc.h@ 866

Last change on this file since 866 was 866, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.4 KB
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
16class MMcEvt;
17class MMcTrig;
18class MHMcEnergy;
19
20class MMcThresholdCalc : public MTask
21{
22private:
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
33public:
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.