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

Last change on this file since 865 was 861, checked in by jlopez, 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
31public:
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.