All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
evd::HeaderPad Class Reference

#include <HeaderPad.h>

Inheritance diagram for evd::HeaderPad:
evd::DrawingPad

Public Member Functions

 HeaderPad (const char *nm, const char *ti, double x1, double y1, double x2, double y2, const char *opt)
 
 ~HeaderPad ()
 
void Draw (const char *opt="")
 
- Public Member Functions inherited from evd::DrawingPad
 DrawingPad (const char *nm, const char *ti, double x1, double y1, double y2, double x2)
 
 ~DrawingPad ()
 
TPad * Pad ()
 
HeaderDrawerHeaderDraw ()
 
evd_tool::IExperimentDrawerGeometryDraw ()
 
SimulationDrawerSimulationDraw ()
 
RawDataDrawerRawDataDraw ()
 
RecoBaseDrawerRecoBaseDraw ()
 
AnalysisBaseDrawerAnalysisBaseDraw ()
 
HitSelectorHitSelectorGet ()
 

Private Attributes

evdb::View2D * fView
 Collection of drawn objects. More...
 

Additional Inherited Members

- Protected Types inherited from evd::DrawingPad
using IExperimentDrawerPtr = std::unique_ptr< evd_tool::IExperimentDrawer >
 
- Protected Attributes inherited from evd::DrawingPad
TPad * fPad
 The ROOT graphics pad. More...
 
HeaderDrawerfHeaderDraw
 Drawer for event header info. More...
 
IExperimentDrawerPtr fGeometryDraw
 Drawer for detector geometry. More...
 
SimulationDrawerfSimulationDraw
 Drawer for simulation objects. More...
 
RawDataDrawerfRawDataDraw
 Drawer for raw data. More...
 
RecoBaseDrawerfRecoBaseDraw
 Drawer for recobase objects. More...
 
AnalysisBaseDrawerfAnalysisBaseDraw
 Drawer for analysisbase objects. More...
 

Detailed Description

Definition at line 13 of file HeaderPad.h.

Constructor & Destructor Documentation

evd::HeaderPad::HeaderPad ( const char *  nm,
const char *  ti,
double  x1,
double  y1,
double  x2,
double  y2,
const char *  opt 
)

Definition at line 23 of file HeaderPad.cxx.

26  :
27  DrawingPad(nm, ti, x1, y1, x2, y2)
28  {
29  fView = new evdb::View2D();
30  }
evdb::View2D * fView
Collection of drawn objects.
Definition: HeaderPad.h:23
DrawingPad(const char *nm, const char *ti, double x1, double y1, double y2, double x2)
Definition: DrawingPad.cxx:36
evd::HeaderPad::~HeaderPad ( )

Definition at line 34 of file HeaderPad.cxx.

35  {
36  if (fView!=0) { delete fView; fView = 0; }
37  }
evdb::View2D * fView
Collection of drawn objects.
Definition: HeaderPad.h:23

Member Function Documentation

void evd::HeaderPad::Draw ( const char *  opt = "")

Definition at line 41 of file HeaderPad.cxx.

42  {
43  fView->Clear();
44 
45  this->HeaderDraw()->Header(fView);
46 
47  this->Pad()->Clear();
48  this->Pad()->cd();
49  fView->Draw();
50  }
void Header(evdb::View2D *view)
evdb::View2D * fView
Collection of drawn objects.
Definition: HeaderPad.h:23
HeaderDrawer * HeaderDraw()
Definition: DrawingPad.cxx:72
TPad * Pad()
Definition: DrawingPad.h:37

Member Data Documentation

evdb::View2D* evd::HeaderPad::fView
private

Collection of drawn objects.

Definition at line 23 of file HeaderPad.h.


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