source: trunk/Mars/mjoptim/MJOptimizeEnergy.h@ 10350

Last change on this file since 10350 was 8679, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 650 bytes
Line 
1#ifndef MARS_MJOptimizeEnergy
2#define MARS_MJOptimizeEnergy
3
4#ifndef MARS_MJOptimize
5#include "MJOptimize.h"
6#endif
7
8class MTask;
9
10class MJOptimizeEnergy : public MJOptimize
11{
12private:
13 Bool_t fOptimLog;
14
15public:
16 MJOptimizeEnergy() : MJOptimize(), fOptimLog(kFALSE) { }
17
18 void EnableOptimLog(Bool_t b=kTRUE) { fOptimLog=b; }
19
20 // Special optimizing routines
21 Bool_t RunEnergy(const char *fname, const char *rule, MTask *weights=0);
22 Bool_t RunEnergy(const char *rule, MTask *weights=0)
23 {
24 return RunEnergy(0, rule, weights);
25 }
26
27 ClassDef(MJOptimizeEnergy, 0) // Class for optimization of the Supercuts
28};
29
30#endif
Note: See TracBrowser for help on using the repository browser.