17 #include "TRootEmbeddedCanvas.h"
26 #include "TGFileDialog.h"
TGCompositeFrame * fButtonFrame
Button frame.
std::map< std::string, TH1 * > fAnalysisH
Analysis histograms.
Definition of interface Reader.
TGTextButton * fClearEventCache
Button.
TCanvas * fEventImageCanvas
Event canvas.
void DrawEvent()
Draw evemt.
TGTextButton * fNextEvent
Button.
TCanvas * fAnalysisCanvas
Analysis canvas.
HepMC3::GenEvent * fCurrentEvent
Event.
TRootEmbeddedCanvas * fEmbEventImageCanvas
Event canvas.
std::shared_ptr< HepMC3::Reader > fReader
Reader.
Stores event-related information.
std::vector< HepMC3::GenEvent * > fEventsCache
Cache of events.
void ClearEventCache()
slot
TGTextButton * fExit
Button.
virtual ~HepMC3ViewerFrame()
Destructor.
TGTextButton * fChooseInput
Button.
static const size_t m_char_buffer_size
Size of writer buffer.
TImage * fGraphImage
Image passed from graphviz.
TGCompositeFrame * fMainFrame
Main frame.
TRootEmbeddedCanvas * fEmbAnalysisCanvas
Analysis canvas.
Definition of class GenEvent.
Definition of class HepMC3ViewerFrame used for simple GUI viewer.
HepMC3ViewerFrame(const TGWindow *p, UInt_t w, UInt_t h)
Constructor.
void DoAnalysis()
Do analysis.
void ReadFile(const char *a)
Open file.
TGTextButton * fPreviousEvent
Button.