1 #ifndef ALITREETRENDING_H 2 #define ALITREETRENDING_H 26 AliTreeTrending(
const char *name,
const char *title,
const char *cssStyle=
"");
30 Bool_t
InitSummaryTrending(TString statusDescription[3], Float_t descriptionSize=0.015, TString cutString=
"");
33 void AppendStatusPad(Float_t padRatio, Float_t bottomMargin, Float_t rightMargin);
35 void MakePlot(
const char* outputDir,
const char *figureName,
const char *LegendTitle, std::vector<Double_t>& legendPos,
const char *groupName,
const char* expr,
const char *
cut,
const char *
markers,
const char *
colors, Bool_t drawSparse, Float_t
markerSize, Float_t sigmaRange, Bool_t
comp);
36 void AppendBand(
const char* outputDir,
const char *figureName,
const char* expr,
const char * cut,
const char * lineStyle,
const char *colors, Bool_t drawSparse, Float_t sigmaRange, Bool_t comp) ;
37 void AppendDefaultBands(
const char *outputDir,
const char *figureName,
const char * refVariable,
const char * bandNamePrefix,
const char * selection,
const char* groupName);
38 void MakeStatusPlot(
const char* outputDir,
const char *figureName, TString expression, TString varTitle, TCut cutString, TString sCriteria, TString friendName=
"");
39 static TMultiGraph *
MakeMultiGraphStatus(TTree *
fTree, TString mgrName, TString expression, TString varTitle, TCut cutString, TString sCriteria, Bool_t setAxis=kFALSE);
40 static void DecomposeStatusAlias(TTree*
tree, TString currentString, TString &statusVar, TString &statusTitle, TPRegexp &suffix, Int_t &counter, TString &maskAlias);
void AppendBand(const char *outputDir, const char *figureName, const char *expr, const char *cut, const char *lineStyle, const char *colors, Bool_t drawSparse, Float_t sigmaRange, Bool_t comp)
void MakePlot(const char *outputDir, const char *figureName, const char *LegendTitle, std::vector< Double_t > &legendPos, const char *groupName, const char *expr, const char *cut, const char *markers, const char *colors, Bool_t drawSparse, Float_t markerSize, Float_t sigmaRange, Bool_t comp)
void MakeStatusPlot(const char *outputDir, const char *figureName, TString expression, TString varTitle, TCut cutString, TString sCriteria, TString friendName="")
void SetTree(TTree *tree)
TMultiGraph * fStatusGraphM
default canvas
static void DecomposeStatusAlias(TTree *tree, TString currentString, TString &statusVar, TString &statusTitle, TPRegexp &suffix, Int_t &counter, TString &maskAlias)
TString fCurrentCssStyle
TreeTrending owner of drawing style - currently gStyle used // TODO make OBSOLETE.
void AppendDefaultBands(const char *outputDir, const char *figureName, const char *refVariable, const char *bandNamePrefix, const char *selection, const char *groupName)
const Float_t markerSize[5]
TTree * fTree
Currently only standard variables.
TCanvas * fWorkingCanvas
description of process (time/aliroot/root/user)
AliTreeTrending class for the visualization of the QA trending/alarms.
static TString ArrayNameToString(TCollection *array, TString sRegExp, TString separator)
static void AddJSROOTHtmlLink(FILE *pFile, TString title, TString prefix, TString items)
TObjArray * fLatexDescription
user defined description
TObjArray * GetTexDescription(TLatex *latex)
void AppendStatusPad(Float_t padRatio, Float_t bottomMargin, Float_t rightMargin)
TObjArray * fUserDescription
working tree with friends
static TMultiGraph * MakeMultiGraphStatus(TTree *fTree, TString mgrName, TString expression, TString varTitle, TCut cutString, TString sCriteria, Bool_t setAxis=kFALSE)
Bool_t SetCssStyle(const char *cssStyle="")
TFile * fReport
Name of the CSS style to be used - if empty string current CSS style used.
void AddUserDescription(TNamed *description)
void SetDefaultStyle()
TODO - use CSS style.
Bool_t InitSummaryTrending(TString statusDescription[3], Float_t descriptionSize=0.015, TString cutString="")
TStyle * fDrawStyle
status graph