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
13
using namespace
std
;
14
using namespace
TMath;
15
16
class
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
;
29
Int_t
fEvtNumber
;
30
TFile *
fInputTreeFile
;
31
TTree *
fEvtTree
;
32
33
TGVerticalFrame *
fMainFrame
;
34
TGLayoutHints *
fLayout1
;
35
TGLayoutHints *
fLayout2
;
36
TGLayoutHints *
fLayout3
;
37
EGraphRec
*
fEmGraphRec
;
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
EGraphRec.h
EGraphRec
Definition:
EGraphRec.h:24
EGraphTool
Definition:
EGraphTool.h:16
EGraphTool::fInputTreeFile
TFile * fInputTreeFile
Definition:
EGraphTool.h:30
EGraphTool::fLayout1
TGLayoutHints * fLayout1
Definition:
EGraphTool.h:34
EGraphTool::InitInputFile
void InitInputFile(TString inputFileName)
Definition:
EGraphTool.cxx:259
EGraphTool::fEvtNumber
Int_t fEvtNumber
Definition:
EGraphTool.h:29
EGraphTool::fLayout3
TGLayoutHints * fLayout3
Definition:
EGraphTool.h:36
EGraphTool::CloseInputFile
void CloseInputFile()
Definition:
EGraphTool.cxx:284
EGraphTool::fMainFrame
TGVerticalFrame * fMainFrame
Definition:
EGraphTool.h:33
EGraphTool::fMenuFile
TGPopupMenu * fMenuFile
Definition:
EGraphTool.h:38
EGraphTool::EGraphTool
EGraphTool(const TGWindow *p, UInt_t w, UInt_t h)
Definition:
EGraphTool.cxx:46
EGraphTool::InitVariables
void InitVariables()
Definition:
EGraphTool.cxx:241
EGraphTool::InitDrawVariables
void InitDrawVariables()
Definition:
EGraphTool.cxx:250
EGraphTool::ProcessMessage
Bool_t ProcessMessage(Long_t msg, Long_t param, Long_t)
Definition:
EGraphTool.cxx:186
EGraphTool::ProcessEvent
void ProcessEvent()
Definition:
EGraphTool.cxx:69
EGraphTool::AddMenuBar
void AddMenuBar(TGVerticalFrame *frame)
Definition:
EGraphTool.cxx:140
EGraphTool::fEvtTree
TTree * fEvtTree
Definition:
EGraphTool.h:31
EGraphTool::fToolBar
TGToolBar * fToolBar
Definition:
EGraphTool.h:39
EGraphTool::ExitApplication
void ExitApplication()
Definition:
EGraphTool.cxx:294
EGraphTool::fLayout2
TGLayoutHints * fLayout2
Definition:
EGraphTool.h:35
EGraphTool::~EGraphTool
virtual ~EGraphTool()
Definition:
EGraphTool.cxx:62
EGraphTool::DrawFrame
void DrawFrame()
Definition:
EGraphTool.cxx:77
EGraphTool::fEventId
Int_t fEventId
Definition:
EGraphTool.h:28
EGraphTool::fEmGraphRec
EGraphRec * fEmGraphRec
Definition:
EGraphTool.h:37
std
Definition:
AlignmentCint.cxx:51
p
p
Definition:
testBGReduction_AllMethods.C:8
w
void w(int rid=2, int nviews=2)
Definition:
test.C:27
fedra_doxygen
src
libEGraphTool
EGraphTool.h
Generated by
1.9.3