Line | |
---|
1 | #ifndef MARS_MJOptimizeEnergy
|
---|
2 | #define MARS_MJOptimizeEnergy
|
---|
3 |
|
---|
4 | #ifndef MARS_MJOptimize
|
---|
5 | #include "MJOptimize.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MTask;
|
---|
9 |
|
---|
10 | class MJOptimizeEnergy : public MJOptimize
|
---|
11 | {
|
---|
12 | private:
|
---|
13 | Bool_t fOptimLog;
|
---|
14 |
|
---|
15 | public:
|
---|
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.