Public Member Functions | Public Attributes | List of all members
Plotter Struct Reference

Public Member Functions

 Plotter (const std::string &fname)
 
 ~Plotter ()
 
void operator() ()
 

Public Attributes

TCanvas canvas
 
std::string filename
 

Detailed Description

Definition at line 14 of file test_response.cxx.

Constructor & Destructor Documentation

Plotter::Plotter ( const std::string fname)
inline

Definition at line 17 of file test_response.cxx.

18  : canvas("test_response", "Response functions", 500,500)
19  , filename(fname)
20  {
21  canvas.Print((filename+"[").c_str(), "pdf");
22  }
std::string filename
TCanvas canvas
Plotter::~Plotter ( )
inline

Definition at line 23 of file test_response.cxx.

23  {
24  canvas.Print((filename+"]").c_str(), "pdf");
25  }
std::string filename
TCanvas canvas

Member Function Documentation

void Plotter::operator() ( void  )
inline

Definition at line 26 of file test_response.cxx.

26  {
27  canvas.Print(filename.c_str(), "pdf");
28  }
std::string filename
TCanvas canvas

Member Data Documentation

TCanvas Plotter::canvas

Definition at line 15 of file test_response.cxx.

std::string Plotter::filename

Definition at line 16 of file test_response.cxx.


The documentation for this struct was generated from the following file: