Public Member Functions | Private Attributes | List of all members
gar::evd::HeaderPad Class Reference

#include <HeaderPad.h>

Inheritance diagram for gar::evd::HeaderPad:
gar::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 gar::evd::DrawingPad
 DrawingPad (const char *nm, const char *ti, double x1, double y1, double y2, double x2)
 
 ~DrawingPad ()
 
TPad * Pad ()
 
HeaderDrawerHeaderDraw ()
 
GeometryDrawerGeometryDraw ()
 
SimulationDrawerSimulationDraw ()
 
RawDataDrawerRawDataDraw ()
 
RecoBaseDrawerRecoBaseDraw ()
 
AnalysisBaseDrawerAnalysisBaseDraw ()
 
HitSelector * HitSelectorGet ()
 

Private Attributes

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

Additional Inherited Members

- Protected Attributes inherited from gar::evd::DrawingPad
TPad * fPad
 The ROOT graphics pad. More...
 
HeaderDrawerfHeaderDraw
 Drawer for event header info. More...
 
GeometryDrawerfGeometryDraw
 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 15 of file HeaderPad.h.

Constructor & Destructor Documentation

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

Definition at line 26 of file HeaderPad.cxx.

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

Definition at line 37 of file HeaderPad.cxx.

38  {
39  if (fView != nullptr) { delete fView; fView = nullptr; }
40  }
evdb::View2D * fView
Collection of drawn objects.
Definition: HeaderPad.h:28

Member Function Documentation

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

Definition at line 44 of file HeaderPad.cxx.

45  {
46  fView->Clear();
47 
48  this->HeaderDraw()->Header(fView);
49 
50  this->Pad()->Clear();
51  this->Pad()->cd();
52  fView->Draw();
53  }
HeaderDrawer * HeaderDraw()
Definition: DrawingPad.cxx:76
void Header(evdb::View2D *view)
evdb::View2D * fView
Collection of drawn objects.
Definition: HeaderPad.h:28

Member Data Documentation

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

Collection of drawn objects.

Definition at line 28 of file HeaderPad.h.


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