source: trunk/Mars/mjoptim/MJOptimizeDisp.h@ 19958

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