![]() |
AliPhysics
5be3bab (5be3bab)
|
#include <QABase.h>
Public Member Functions | |
QABase (const TString &dataType, Int_t prodYear, const TString &period, const TString &pass) | |
QABase (const QABase &o) | |
QABase & | operator= (const QABase &) |
virtual | ~QABase () |
void | SetOutputName (const char *name) |
const char * | OutputName () const |
virtual Bool_t | MakeTree (bool read) |
Bool_t | Init (bool read=false) |
void | MakeCanvas (const char *title) |
void | CanvasTitle (const char *title) |
void | PutCanvasTitle (const char *title) |
void | PrintCanvas (const char *pngName, UInt_t) |
void | PrintCanvas (const char *pngName, TCollection *areas=0) |
virtual void | WriteImageFooter (std::ostream &o, const char *) |
void | Close (bool deletePNGs=true) |
virtual void | WriteLinks () |
virtual void | WriteFooter () |
Public Attributes | |
QARing * | fFMD1i |
QARing * | fFMD2i |
QARing * | fFMD2o |
QARing * | fFMD3i |
QARing * | fFMD3o |
Global * | fGlobal |
TTree * | fTree |
TFile * | fOutput |
TFile * | fStore |
std::ofstream * | fTeX |
std::ofstream * | fHtml |
TString | fTeXName |
TString | fToDelete |
TCanvas * | fCanvas |
TString | fOutputName |
TString | fDataType |
Int_t | fYear |
TString | fPeriod |
TString | fPass |
Base class for active QA classes. This manages the I/O files, like the tree file, the LaTeX file, and the storage file
|
inline |
|
inline |
Put a title on the canvas. Also clears page in LaTeX file
title | Title |
Definition at line 261 of file QABase.h.
Referenced by QATrender::MakeCanvasTitle(), QAPlotter::Plot(), and QAPlotter::PlotMulti().
|
inline |
Close the LaTeX and storage files. Runs PDFLaTeX on LaTeX file. Makes sure that the files are group writable.
deletePNGs | If true, delete intermident PNG files |
Definition at line 391 of file QABase.h.
Referenced by QATrender::CloseCurrent(), and QAPlotter::Plot().
|
inline |
Initialize
read | If true initialise for reading tree file |
Definition at line 154 of file QABase.h.
Referenced by QAPlotter::Run(), and QATrender::Run().
|
inline |
Make a canvas, LaTeX file, and storage file
title | Title of canvas and files |
Definition at line 176 of file QABase.h.
Referenced by QAPlotter::Plot(), and QATrender::ProcessOne().
|
inlinevirtual |
Make a tree
read | If true, read from file |
Reimplemented in QAPlotter.
Definition at line 131 of file QABase.h.
Referenced by Init(), and QAPlotter::MakeTree().
|
inline |
The name of the TTree output file
Definition at line 123 of file QABase.h.
Referenced by QATrender::Finish(), and MakeTree().
|
inline |
Print the canvas to PNG and include it into LaTeX file
pngName | Base name of PNG |
Definition at line 314 of file QABase.h.
Referenced by QAPlotter::Plot(), QAPlotter::PlotMulti(), QATrender::ProcessDensityCalculator(), QATrender::ProcessELossFitter(), and QATrender::ProcessSharingFilter().
|
inline |
|
inline |
Put a title on the canvas
title | Title |
Definition at line 298 of file QABase.h.
Referenced by CanvasTitle(), and QAPlotter::Plot().
|
inline |
Set the output file name
name | Name of output (tree) file |
Definition at line 117 of file QABase.h.
Referenced by RunFileQA().
|
inlinevirtual |
Write full job footer
Reimplemented in QAPlotter.
Definition at line 452 of file QABase.h.
Referenced by Close(), and QAPlotter::WriteFooter().
|
inlinevirtual |
Write out image footer
o | Output stream |
Reimplemented in QAPlotter.
Definition at line 375 of file QABase.h.
Referenced by PrintCanvas(), and QAPlotter::WriteImageFooter().
|
inlinevirtual |
Output links
Reimplemented in QATrender.
Definition at line 429 of file QABase.h.
Referenced by Close(), and QATrender::WriteLinks().
TCanvas* QABase::fCanvas |
Definition at line 476 of file QABase.h.
Referenced by QAPlotter::AddRuns(), CanvasTitle(), QATrender::GetPad(), MakeCanvas(), QATrender::MakeCanvasTitle(), QAPlotter::PlotMulti(), PrintCanvas(), QATrender::ProcessELossFitter(), and QATrender::ProcessSharingFilter().
TString QABase::fDataType |
Definition at line 478 of file QABase.h.
Referenced by QATrender::Finish(), QAPlotter::Plot(), QATrender::ProcessOne(), QAPlotter::Run(), and WriteLinks().
QARing* QABase::fFMD1i |
Definition at line 463 of file QABase.h.
Referenced by QATrender::GetRing(), Init(), QAPlotter::Plot(), QATrender::ProcessELossFitter(), QAPlotter::QAPlotter(), QATrender::QATrender(), QAPlotter::Run(), and ~QABase().
QARing* QABase::fFMD2i |
Definition at line 464 of file QABase.h.
Referenced by QATrender::GetRing(), Init(), QAPlotter::Plot(), QATrender::ProcessELossFitter(), QAPlotter::QAPlotter(), QATrender::QATrender(), QAPlotter::Run(), and ~QABase().
QARing* QABase::fFMD2o |
Definition at line 465 of file QABase.h.
Referenced by QATrender::GetRing(), Init(), QAPlotter::Plot(), QATrender::ProcessELossFitter(), QAPlotter::QAPlotter(), QATrender::QATrender(), QAPlotter::Run(), and ~QABase().
QARing* QABase::fFMD3i |
Definition at line 466 of file QABase.h.
Referenced by QATrender::GetRing(), Init(), QAPlotter::Plot(), QATrender::ProcessELossFitter(), QAPlotter::QAPlotter(), QATrender::QATrender(), QAPlotter::Run(), and ~QABase().
QARing* QABase::fFMD3o |
Definition at line 467 of file QABase.h.
Referenced by QATrender::GetRing(), Init(), QAPlotter::Plot(), QATrender::ProcessELossFitter(), QAPlotter::QAPlotter(), QATrender::QATrender(), QAPlotter::Run(), and ~QABase().
Global* QABase::fGlobal |
Definition at line 468 of file QABase.h.
Referenced by Init(), QATrender::ProcessDensityCalculator(), QATrender::ProcessELossFitter(), QATrender::ProcessGlobal(), QATrender::ProcessOne(), QATrender::ProcessSharingFilter(), QAPlotter::Run(), QATrender::WriteLinks(), and ~QABase().
std::ofstream* QABase::fHtml |
Definition at line 473 of file QABase.h.
Referenced by CanvasTitle(), Close(), MakeCanvas(), PrintCanvas(), WriteFooter(), QAPlotter::WriteFooter(), WriteLinks(), QATrender::WriteLinks(), and ~QABase().
TFile* QABase::fOutput |
Definition at line 470 of file QABase.h.
Referenced by QATrender::Finish(), MakeTree(), and ~QABase().
TString QABase::fOutputName |
Definition at line 477 of file QABase.h.
Referenced by OutputName(), and SetOutputName().
TString QABase::fPass |
Definition at line 481 of file QABase.h.
Referenced by QATrender::Finish(), QAPlotter::Plot(), QATrender::ProcessOne(), QAPlotter::Run(), and WriteLinks().
TString QABase::fPeriod |
Definition at line 480 of file QABase.h.
Referenced by QATrender::Finish(), QAPlotter::Plot(), QATrender::ProcessOne(), QAPlotter::Run(), WriteLinks(), and QATrender::WriteLinks().
TFile* QABase::fStore |
Definition at line 471 of file QABase.h.
Referenced by Close(), MakeCanvas(), QAPlotter::Plot(), PrintCanvas(), and ~QABase().
std::ofstream* QABase::fTeX |
Definition at line 472 of file QABase.h.
Referenced by CanvasTitle(), Close(), MakeCanvas(), PrintCanvas(), and ~QABase().
TString QABase::fTeXName |
Definition at line 474 of file QABase.h.
Referenced by Close(), MakeCanvas(), WriteImageFooter(), and WriteLinks().
TString QABase::fToDelete |
Definition at line 475 of file QABase.h.
Referenced by Close(), Init(), MakeCanvas(), and PrintCanvas().
TTree* QABase::fTree |
Definition at line 469 of file QABase.h.
Referenced by QATrender::Finish(), Init(), MakeTree(), QAPlotter::MakeTree(), QATrender::ProcessOne(), QAPlotter::Run(), and ~QABase().
Int_t QABase::fYear |
Definition at line 479 of file QABase.h.
Referenced by QATrender::Finish().