9#ifndef HALQAPLOTREPORT_H_
10#define HALQAPLOTREPORT_H_
12#include "HistogramManager.h"
17#include <RtypesCore.h>
40 std::vector<TString> f1dFlags;
41 std::vector<TString> f2dFlags;
42 std::vector<TString> f3dFlags;
60 Bool_t
CheckFlag(Int_t no, Char_t c, Int_t h1, Int_t h2, Int_t dim)
const;
70 void SetFlag1D(Int_t no, Char_t c =
' ', Int_t h1 = 0, Int_t h2 = 0);
80 void SetFlag2D(Int_t no, Char_t c =
' ', Int_t h1 = 0, Int_t h2 = 0);
90 void SetFlag3D(Int_t no, Char_t c =
' ', Int_t h1 = 0, Int_t h2 = 0);
98 void TranslateFlag(TString flag, Int_t& hist, Int_t& hist2, Char_t& op)
const;
107 void Operate(TH1* h0, TH1* h1, TH1* h2, Char_t op)
const;
133 QAPlotReport(TString name, Int_t oneDim, Int_t twoDim, Int_t threeDIm);
144 virtual TString
HTMLExtract(Int_t no, TString dir =
"")
const;
147 virtual void Print(Option_t* option =
"")
const;
154 virtual void Browse(TBrowser* b);
161 void SetFlag(Int_t no, TString flag, Int_t dim);
178 inline Int_t
GetSize1D()
const {
return f1dFlags.size(); };
183 inline Int_t
GetSize2D()
const {
return f2dFlags.size(); };
188 inline Int_t
GetSize3D()
const {
return f3dFlags.size(); };
194 inline TH1D*
Get1D(Int_t no)
const {
return f1dHistos->
At(no); };
200 inline TH2D*
Get2D(Int_t no)
const {
return f2dHistos->
At(no); };
206 inline TH3D*
Get3D(Int_t no)
const {
return f3dHistos->
At(no); };
212 virtual Long64_t
Merge(TCollection* collection);
T * At(const Int_t i) const
void SetValue(TString value)
virtual TString HTMLExtract(Int_t no, TString dir="") const
virtual void HTMLExtractIntoTable(Int_t no, HtmlTable &obj, TString dir="", TString rel_dir="") const
virtual void Add(const Object *pack)
virtual Bool_t CanBeTableElement() const
TString ExportHistogramToFile(TString path, Int_t count, TH1 *h) const
void SetFlag(Int_t no, TString flag, Int_t dim)
void SetFlag3D(Int_t no, Char_t c=' ', Int_t h1=0, Int_t h2=0)
virtual Long64_t Merge(TCollection *collection)
Object * GetExtraInfo() const
void SetFlag2D(Int_t no, Char_t c=' ', Int_t h1=0, Int_t h2=0)
virtual void Recalculate()
void TranslateFlag(TString flag, Int_t &hist, Int_t &hist2, Char_t &op) const
void SetFlag1D(Int_t no, Char_t c=' ', Int_t h1=0, Int_t h2=0)
void Operate(TH1 *h0, TH1 *h1, TH1 *h2, Char_t op) const
void SetOriginClass(TString name)
Bool_t CheckFlag(Int_t no, Char_t c, Int_t h1, Int_t h2, Int_t dim) const
TString GetOriginClass() const
TH3D * Get3D(Int_t no) const
TH2D * Get2D(Int_t no) const
TH1D * Get1D(Int_t no) const
virtual void SetExtraInfo(Object *p)