FEDRA emulsion software from the OPERA Collaboration
EGraphTool.h
Go to the documentation of this file.
1#ifndef EGRAPHTOOL_H
2#define EGRAPHTOOL_H 1
3
4#include <TApplication.h>
5#include <TGClient.h>
6#include <TGToolBar.h>
7#include <TGMenu.h>
8#include <TFile.h>
9#include <TTree.h>
10#include "EGraphRec.h"
11#include <iostream>
12
13using namespace std;
14using namespace TMath;
15
16class EGraphTool : public TGMainFrame {
17 public:
18
19 EGraphTool (const TGWindow *p, UInt_t w, UInt_t h);
20 virtual ~EGraphTool();
21
22 void ProcessEvent();
23 void ExitApplication();
24 Bool_t ProcessMessage(Long_t msg, Long_t param, Long_t);
25
26 private:
27
28 Int_t fEventId;
31 TTree *fEvtTree;
32
33 TGVerticalFrame *fMainFrame;
34 TGLayoutHints *fLayout1;
35 TGLayoutHints *fLayout2;
36 TGLayoutHints *fLayout3;
38 TGPopupMenu *fMenuFile;
39 TGToolBar *fToolBar;
40
41 void DrawFrame();
42 void AddMenuBar(TGVerticalFrame *frame);
43 void InitVariables();
44 void InitDrawVariables();
45 void InitInputFile(TString inputFileName);
46 void CloseInputFile();
47
48 ClassDef(EGraphTool,0)
49};
50
51#endif
Definition: EGraphRec.h:24
Definition: EGraphTool.h:16
TFile * fInputTreeFile
Definition: EGraphTool.h:30
TGLayoutHints * fLayout1
Definition: EGraphTool.h:34
void InitInputFile(TString inputFileName)
Definition: EGraphTool.cxx:259
Int_t fEvtNumber
Definition: EGraphTool.h:29
TGLayoutHints * fLayout3
Definition: EGraphTool.h:36
void CloseInputFile()
Definition: EGraphTool.cxx:284
TGVerticalFrame * fMainFrame
Definition: EGraphTool.h:33
TGPopupMenu * fMenuFile
Definition: EGraphTool.h:38
EGraphTool(const TGWindow *p, UInt_t w, UInt_t h)
Definition: EGraphTool.cxx:46
void InitVariables()
Definition: EGraphTool.cxx:241
void InitDrawVariables()
Definition: EGraphTool.cxx:250
Bool_t ProcessMessage(Long_t msg, Long_t param, Long_t)
Definition: EGraphTool.cxx:186
void ProcessEvent()
Definition: EGraphTool.cxx:69
void AddMenuBar(TGVerticalFrame *frame)
Definition: EGraphTool.cxx:140
TTree * fEvtTree
Definition: EGraphTool.h:31
TGToolBar * fToolBar
Definition: EGraphTool.h:39
void ExitApplication()
Definition: EGraphTool.cxx:294
TGLayoutHints * fLayout2
Definition: EGraphTool.h:35
virtual ~EGraphTool()
Definition: EGraphTool.cxx:62
void DrawFrame()
Definition: EGraphTool.cxx:77
Int_t fEventId
Definition: EGraphTool.h:28
EGraphRec * fEmGraphRec
Definition: EGraphTool.h:37
Definition: AlignmentCint.cxx:51
p
Definition: testBGReduction_AllMethods.C:8
void w(int rid=2, int nviews=2)
Definition: test.C:27