KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVSpIdGUI.h
1
3
4#ifndef __KVSPIDGUI_H
5#define __KVSPIDGUI_H
6
7#include "TGFrame.h"
8#include "TGMenu.h"
9#include "TGListBox.h"
10#include "TGButtonGroup.h"
11#include "TGButton.h"
12#include "KVIDGraph.h"
13#include "RQ_OBJECT.h"
14#include <TGComboBox.h>
15#include <TGLabel.h>
16#include <TGNumberEntry.h>
17#include <TGTextEntry.h>
18#include <TGProgressBar.h>
19#include <TGComboBox.h>
20#include "KVCanvas.h"
21#include "KVIDZALine.h"
22#include "KVIDZAGrid.h"
23#include "KVSpiderIdentificator.h"
24
30class KVSpIdGUI {
31 RQ_OBJECT("KVSpIdGUI")
32
33public:
39
40protected:
42
46
49
54
59
62
66
70
74
78
81
85
88
91
94
98
102
104
105 static Int_t fZp;
117
122
125
128
129public:
130 KVSpIdGUI(KVIDGraph* g = 0, TH2* data_histo = 0, Double_t xm = -1.,
131 Double_t ym = -1., Double_t pdx = -1., Double_t pdy = -1., const char* opt = "DRLF");
132 KVSpIdGUI(const KVSpIdGUI&) ;
133 virtual ~KVSpIdGUI();
134
135 void DoClose();
136 void CloseWindow();
138
139 void SetDebug(Bool_t deb)
140 {
141 fDebug = deb;
142 }
144 {
145 fUseCut = uc;
146 }
148 {
149 fPiedestal = pied;
150 }
151 void SetUserParameter(Bool_t par);
152
154
155 ClassDef(KVSpIdGUI, 1) //
156};
157
158#endif
int Int_t
#define RQ_OBJECT(sender_class)
bool Bool_t
double Double_t
#define ClassDef(name, id)
Base class for particle identification in a 2D map.
Definition KVIDGraph.h:32
TGCheckButton * fCutBut
Definition KVSpIdGUI.h:77
static Double_t fSpFactor
Definition KVSpIdGUI.h:106
TGHorizontalFrame * fNPointsFrame
Definition KVSpIdGUI.h:71
virtual ~KVSpIdGUI()
Delete all widgets.
TGHorizontalFrame * fButtonsFrame
Definition KVSpIdGUI.h:95
static Bool_t fUseZp
Definition KVSpIdGUI.h:110
static Double_t fAlpha
Definition KVSpIdGUI.h:107
TString fOption
Definition KVSpIdGUI.h:127
TGCheckButton * fZpRadio
Definition KVSpIdGUI.h:53
static Bool_t fUseCut
Definition KVSpIdGUI.h:111
void SetUseCut(Bool_t uc)
Definition KVSpIdGUI.h:143
TGComboBox * fPiedChoice
Definition KVSpIdGUI.h:69
static Int_t fZp
Definition KVSpIdGUI.h:105
TGLabel * fGNameLabel
Definition KVSpIdGUI.h:45
TGGroupFrame * fOptFrame
options
Definition KVSpIdGUI.h:61
TGLabel * fNPointsLabel
Definition KVSpIdGUI.h:72
TGNumberEntry * fSpiderFactorEntry
Definition KVSpIdGUI.h:57
TGLabel * fPiedLabel
Definition KVSpIdGUI.h:68
static Int_t fAnglesUp
Definition KVSpIdGUI.h:112
static Bool_t fDebug
Definition KVSpIdGUI.h:108
void SetDebug(Bool_t deb)
Definition KVSpIdGUI.h:139
Double_t fXm
Definition KVSpIdGUI.h:118
TGLabel * fTypeLabel
Definition KVSpIdGUI.h:64
TGCheckButton * fDebugBut
Definition KVSpIdGUI.h:76
TGLabel * fSpiderFactorLabel
Definition KVSpIdGUI.h:56
TGLabel * fZpLabel
Definition KVSpIdGUI.h:51
TGHorizontalFrame * fHdataFrame
Definition KVSpIdGUI.h:43
Double_t fYm
Definition KVSpIdGUI.h:119
void SpiderIdentification()
TGHorizontalFrame * fDebugFrame
Definition KVSpIdGUI.h:75
TH2F * fScaledHisto
Definition KVSpIdGUI.h:101
Double_t fSfy
Definition KVSpIdGUI.h:124
TGNumberEntry * fNPointsEntry
Definition KVSpIdGUI.h:73
TGTextButton * fCloseButton
Definition KVSpIdGUI.h:97
Double_t fSfx
Definition KVSpIdGUI.h:123
TGLabel * fHdataNameLabel
Definition KVSpIdGUI.h:44
Double_t fPdx
Definition KVSpIdGUI.h:120
void SetPiedestal(Bool_t pied)
Definition KVSpIdGUI.h:147
Bool_t fUserParameter
Definition KVSpIdGUI.h:126
TGLabel * fAngleDownLabel
Definition KVSpIdGUI.h:86
TH2 * fHisto
Definition KVSpIdGUI.h:100
static Int_t fPiedType
Definition KVSpIdGUI.h:115
TGHorizontalFrame * fPiedFrame
Definition KVSpIdGUI.h:67
Double_t GetFactor()
TGNumberEntry * fAngleDownEntry
Definition KVSpIdGUI.h:87
static Int_t fMatrixType
Definition KVSpIdGUI.h:114
TGNumberEntry * fZpEntry
Definition KVSpIdGUI.h:52
TGHorizontalFrame * fTypeFrame
Definition KVSpIdGUI.h:63
TGHorizontalFrame * fZpFrame
Definition KVSpIdGUI.h:50
static Int_t fAnglesDown
Definition KVSpIdGUI.h:113
static Bool_t fPiedestal
Definition KVSpIdGUI.h:109
TGComboBox * fTypeChoice
Definition KVSpIdGUI.h:65
TGNumberEntry * fApertureUpEntry
Definition KVSpIdGUI.h:90
TGHorizontalFrame * fSpiderFactorFrame
Definition KVSpIdGUI.h:55
TGHProgressBar * fProgressBar
Progress Bar and buttons.
Definition KVSpIdGUI.h:93
void DoClose()
void SetUserParameter(Bool_t par)
TGGroupFrame * fAdOptFrame
advanced options
Definition KVSpIdGUI.h:80
void CloseWindow()
TGTransientFrame * fMain
Definition KVSpIdGUI.h:41
KVIDGraph * fGrid
Definition KVSpIdGUI.h:99
TGTextButton * fTestButton
Definition KVSpIdGUI.h:96
TGNumberEntry * fAngleUpEntry
Definition KVSpIdGUI.h:84
TGHorizontalFrame * fAngleUpFrame
Definition KVSpIdGUI.h:82
TGGroupFrame * fInitFrame
initialisation parameters frame
Definition KVSpIdGUI.h:48
Double_t fPdy
Definition KVSpIdGUI.h:121
TGLabel * fApertureLabel
Definition KVSpIdGUI.h:89
TGCheckButton * fSpiderFactorRadio
Definition KVSpIdGUI.h:58
static Int_t fNPoints
Definition KVSpIdGUI.h:116
KVSpiderIdentificator * fIdentificator
Definition KVSpIdGUI.h:103
TGLabel * fAngleUpLabel
Definition KVSpIdGUI.h:83
Semi-automatic identification grid generator.