source: trunk/MagicSoft/Mars/mmain/MMonteCarlo.h@ 984

Last change on this file since 984 was 961, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 830 bytes
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
12class TGTextEntry;
13class TGRadioButton;
14
15class MMonteCarlo : public MBrowser
16{
17private:
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
33public:
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' browser
40};
41
42#endif
43
44
Note: See TracBrowser for help on using the repository browser.