source: tags/Mars-V0.9.1/manalysis/MEnergyEstimate.h

Last change on this file was 6932, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 691 bytes
Line 
1#ifndef MARS_MEnergyEstimate
2#define MARS_MEnergyEstimate
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MData;
9class MParameterD;
10
11class MEnergyEstimate : public MTask
12{
13private:
14 MData *fData; //->
15 MParameterD *fEnergy; //!
16
17 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
18
19public:
20 MEnergyEstimate(const char *name=NULL, const char *title=NULL);
21 ~MEnergyEstimate();
22
23 Bool_t SetRule(const char *rule);
24
25 Int_t PreProcess(MParList *plist);
26 Int_t Process();
27
28 void SetVariables(const TArrayD &);
29
30 void Print(Option_t *o="") const;
31
32 ClassDef(MEnergyEstimate, 1) // Task to estimate the energy by a rule
33};
34
35#endif
36
Note: See TracBrowser for help on using the repository browser.