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