Public Member Functions | Public Attributes | List of all members
WireCell::Test::MultiPdf Struct Reference

#include <MultiPdf.h>

Public Member Functions

 MultiPdf (const char *name)
 
 ~MultiPdf ()
 
void operator() ()
 
void close ()
 
 MultiPdf (const char *name)
 
 ~MultiPdf ()
 
void operator() ()
 
void close ()
 

Public Attributes

TCanvas canvas
 
const char * name
 

Detailed Description

Definition at line 8 of file MultiPdf.h.

Constructor & Destructor Documentation

WireCell::Test::MultiPdf::MultiPdf ( const char *  name)
inline

Definition at line 11 of file MultiPdf.h.

11  : canvas("c","canvas",500,500), name(name) {
12  canvas.Print(Form("%s.pdf[", name), "pdf");
13  }
const char * name
Definition: MultiPdf.h:10
WireCell::Test::MultiPdf::~MultiPdf ( )
inline

Definition at line 14 of file MultiPdf.h.

14  {
15  close();
16  }
WireCell::Test::MultiPdf::MultiPdf ( const char *  name)
inline

Definition at line 11 of file MultiPdf.h.

11  : canvas("c","canvas",500,500), name(name) {
12  canvas.Print(Form("%s.pdf[", name), "pdf");
13  }
const char * name
Definition: MultiPdf.h:10
WireCell::Test::MultiPdf::~MultiPdf ( )
inline

Definition at line 14 of file MultiPdf.h.

14  {
15  close();
16  }

Member Function Documentation

void WireCell::Test::MultiPdf::close ( )
inline

Definition at line 21 of file MultiPdf.h.

21  {
22  if (name) {
23  canvas.Print(Form("%s.pdf]", name), "pdf");
24  name = nullptr;
25  }
26  }
const char * name
Definition: MultiPdf.h:10
void WireCell::Test::MultiPdf::close ( )
inline

Definition at line 21 of file MultiPdf.h.

21  {
22  if (name) {
23  canvas.Print(Form("%s.pdf]", name), "pdf");
24  name = nullptr;
25  }
26  }
const char * name
Definition: MultiPdf.h:10
void WireCell::Test::MultiPdf::operator() ( void  )
inline

Definition at line 17 of file MultiPdf.h.

17  {
18  canvas.Print(Form("%s.pdf", name), "pdf");
19  canvas.Clear();
20  }
const char * name
Definition: MultiPdf.h:10
void WireCell::Test::MultiPdf::operator() ( void  )
inline

Definition at line 17 of file MultiPdf.h.

17  {
18  canvas.Print(Form("%s.pdf", name), "pdf");
19  canvas.Clear();
20  }
const char * name
Definition: MultiPdf.h:10

Member Data Documentation

TCanvas WireCell::Test::MultiPdf::canvas

Definition at line 9 of file MultiPdf.h.

const char * WireCell::Test::MultiPdf::name

Definition at line 10 of file MultiPdf.h.


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