Geant4  10.03
CanvasInTab Class Reference

#include <CanvasInTab.hh>

+ Inheritance diagram for CanvasInTab:
+ Collaboration diagram for CanvasInTab:

Public Member Functions

 CanvasInTab (const TGWindow *p, UInt_t w, UInt_t h)
 
virtual ~CanvasInTab ()
 
size_t AddCanvas (const char *name="New tab")
 
TCanvas * GetCanvas (int i)
 
size_t GetNCanvas () const
 
void SaveCanvas ()
 

Private Attributes

TGTab * fpTab
 
std::vector
< TRootEmbeddedCanvas * > 
fEcanvas
 
TGLayoutHints * fHintPlots
 

Detailed Description

Definition at line 36 of file CanvasInTab.hh.

Constructor & Destructor Documentation

CanvasInTab::CanvasInTab ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

Definition at line 70 of file CanvasInTab.cc.

References fHintPlots, and fpTab.

CanvasInTab::~CanvasInTab ( )
virtual

Definition at line 108 of file CanvasInTab.cc.

Member Function Documentation

size_t CanvasInTab::AddCanvas ( const char *  name = "New tab")

Definition at line 121 of file CanvasInTab.cc.

References fEcanvas, fHintPlots, and fpTab.

Referenced by ProcessSingleFile().

+ Here is the caller graph for this function:

TCanvas * CanvasInTab::GetCanvas ( int  i)

Definition at line 140 of file CanvasInTab.cc.

References fEcanvas.

Referenced by ProcessSingleFile().

+ Here is the caller graph for this function:

size_t CanvasInTab::GetNCanvas ( ) const
inline

Definition at line 49 of file CanvasInTab.hh.

Referenced by ProcessSingleFile().

+ Here is the caller graph for this function:

void CanvasInTab::SaveCanvas ( )

Definition at line 145 of file CanvasInTab.cc.

References fEcanvas, fpTab, G4InuclParticleNames::name(), and SaveFileDialog().

+ Here is the call graph for this function:

Member Data Documentation

std::vector<TRootEmbeddedCanvas*> CanvasInTab::fEcanvas
private

Definition at line 40 of file CanvasInTab.hh.

Referenced by AddCanvas(), GetCanvas(), and SaveCanvas().

TGLayoutHints* CanvasInTab::fHintPlots
private

Definition at line 41 of file CanvasInTab.hh.

Referenced by AddCanvas(), and CanvasInTab().

TGTab* CanvasInTab::fpTab
private

Definition at line 39 of file CanvasInTab.hh.

Referenced by AddCanvas(), CanvasInTab(), and SaveCanvas().


The documentation for this class was generated from the following files: