Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664207
OnTheFlyGui.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
OnTheFlyGui.hh
View Options
#ifndef _ONTHEFLYGUI_H
#define _ONTHEFLYGUI_H
#include
<TGButton.h>
#include
<TGLabel.h>
#include
<TGNumberEntry.h>
#include
<TGComboBox.h>
#include
"JetRetrieverLive.hh"
#include
"SpartyEventDrawer.hh"
#include
"SpartyGui.hh"
#include
"Parameters.hh"
#include
<TGFrame.h>
#include
<string>
#include
<vector>
using
namespace
std
;
class
TCanvas
;
namespace
SpartyJet
{
class
JetRetrieverLive
;
class
SpartyEventDrawer
;
class
SPartyGui
;
enum
OnTheFlyMessage
{
MSG_ONTHEFLY_APPLY
,
MSG_ONTHEFLY_CLOSE
,
MSG_ONTHEFLY_COMBOBOX
};
class
OnTheFlyGui
:
public
TGMainFrame
{
public
:
#define OTF_GUI_W 300
#define OTF_GUI_H 300
OnTheFlyGui
()
:
TGMainFrame
(
new
TGWindow
(),
OTF_GUI_W
,
OTF_GUI_H
)
{};
OnTheFlyGui
(
JetRetrieverLive
*
parent
,
SpartyEventDrawer
*
,
SpartyGui
*
);
~
OnTheFlyGui
();
Bool_t
ProcessMessage
(
long
msg
,
long
parm1
,
long
parm2
);
void
deleteCurrentButtons
();
void
init
();
void
Close
();
void
Apply
();
void
updateFromParent
();
void
addNewLabel
(
string
name
);
void
addCheckButton
(
string
name
,
bool
initial_value
);
void
addTextEntry
(
string
name
,
string
value
);
void
updateButtons
();
void
updateGui
();
vector
<
TGNumberEntry
*>
m_currentNumberEntries
;
vector
<
TGLabel
*>
m_currentLabels
;
vector
<
TGCheckButton
*>
m_currentCheckButtons
;
vector
<
TGTextEntry
*>
m_currentTextEntries
;
vector
<
TObject
*>
m_miscObjects
;
TGGroupFrame
*
m_currentGroup
;
JetRetrieverLive
*
m_parent
;
SpartyEventDrawer
*
m_drawer
;
SpartyGui
*
m_spartygui
;
AlgCode
m_selectedAlgCode
;
AlgCode
m_oldAlgCode
;
Parameters
*
m_param
;
TGVerticalLayout
*
m_vert_layout
;
TGLayoutHints
*
m_fLayout
;
TGTextEntry
*
name_entry
;
TGComboBox
*
combobox
;
};
}
// namespace SpartyJet
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Apr 24, 6:32 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4834620
Default Alt Text
OnTheFlyGui.hh (1 KB)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment