#ifndef HQAOUTPUTPS_H
#define HQAOUTPUTPS_H
#include "TPostScript.h"
class TCanvas;
class TPad;
class HQAOutputPS : public TPostScript {
public:
HQAOutputPS() {}
HQAOutputPS(TString fname);
~HQAOutputPS();
void writeHist(TList *h);
void writeHist(TList *h1, TList *h2, TString fnamePS);
void makeHist(TList *h);
void makeText(TList *h);
void saveScal(TList *h, TString fnamePS);
void generatePDF(Bool_t kpdf) {kPDF = kpdf;}
void closePS();
void setNHistPerPage(Int_t nh) {nHistPerPage = nh;}
inline void setStats(Int_t nEvents, Int_t nQAProcessed = 0);
inline void setDSTFileName(const Char_t *file) {fnameDST = file;}
private:
TCanvas *fCanvas;
TPad *fHistPad;
Int_t pageCount;
Int_t histCount;
Int_t nProcessed;
Int_t nHistPerPage;
Int_t nEvent;
Bool_t kFIRST;
Bool_t kPDF;
TString fnamePS;
TString fnameDST;
void makeNewPage(TString type);
void setStyle();
void makePDF();
ClassDef(HQAOutputPS,1)
};
inline void HQAOutputPS::setStats(Int_t nEvents, Int_t nQAProcessed) {
nEvent = nEvents;
nProcessed = nQAProcessed;
}
#endif
Last change: Sat May 22 13:07:49 2010
Last generated: 2010-05-22 13:07
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.