source: trunk/Mars/manalysis/MParameterCalc.h@ 11551

Last change on this file since 11551 was 8073, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MParameterCalc
2#define MARS_MParameterCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MData;
9class MParameterD;
10
11class MParameterCalc : public MTask
12{
13private:
14 MData *fData; //-> Input MDataPhrase with rule
15 MParameterD *fParameter; //! Output parameter
16
17 TString fNameParameter; //! Name for output parameter
18
19 ULong_t fCounter[2]; //! Counterf for continues
20
21 // MTask
22 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
23
24 Int_t PreProcess(MParList *plist);
25 Int_t Process();
26 Int_t PostProcess();
27
28
29public:
30 MParameterCalc(const char *def=0, const char *name=NULL, const char *title=NULL);
31 ~MParameterCalc();
32
33 // Setter
34 Bool_t SetRule(const char *rule);
35 void SetVariables(const TArrayD &);
36 void SetNameParameter(const char *name) { fNameParameter=name; }
37
38 // TObject
39 void Print(Option_t *o="") const; //*MENU*
40
41 ClassDef(MParameterCalc, 1) // Task to estimate the energy by a rule
42};
43
44#endif
45
Note: See TracBrowser for help on using the repository browser.