| Line | |
|---|
| 1 | #ifndef MARS_MMonteCarlo
|
|---|
| 2 | #define MARS_MMonteCarlo
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MBrowser
|
|---|
| 5 | #include "MBrowser.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class TGTextEntry;
|
|---|
| 9 | class TGRadioButton;
|
|---|
| 10 |
|
|---|
| 11 | class MMonteCarlo : public MBrowser
|
|---|
| 12 | {
|
|---|
| 13 | private:
|
|---|
| 14 | TGRadioButton *fRadioButton1;
|
|---|
| 15 | TGRadioButton *fRadioButton2;
|
|---|
| 16 | TGRadioButton *fRadioButton3;
|
|---|
| 17 |
|
|---|
| 18 | TGTextEntry *fNumEntry;
|
|---|
| 19 |
|
|---|
| 20 | Int_t GetDim() const;
|
|---|
| 21 |
|
|---|
| 22 | void CalculateCollectionArea();
|
|---|
| 23 | void CalculateTriggerRate();
|
|---|
| 24 | void CalculateThreshold();
|
|---|
| 25 |
|
|---|
| 26 | void AddButtons();
|
|---|
| 27 | void AddSetupTab();
|
|---|
| 28 |
|
|---|
| 29 | public:
|
|---|
| 30 | MMonteCarlo(/*const TGWindow *main=NULL,*/ const TGWindow *p=NULL,
|
|---|
| 31 | const UInt_t w=500, const UInt_t h=500);
|
|---|
| 32 |
|
|---|
| 33 | Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
|
|---|
| 34 |
|
|---|
| 35 | ClassDef(MMonteCarlo, 0) // GUI: The 'monte-carlo' browser
|
|---|
| 36 | };
|
|---|
| 37 |
|
|---|
| 38 | #endif
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.