AliPhysics  aaf9c62 (aaf9c62)
RunQAOld.C File Reference

Go to the source code of this file.

Functions

Bool_t ScanDirectory (TSystemDirectory *dir, TList *list, bool recursive=false)
 
TListGetListOfFiles (const char *input=".")
 
void RunQAOld (const char *input=".", Bool_t keep=true, Int_t runNo=-1, UShort_t what=0x3)
 

Function Documentation

TList* GetListOfFiles ( const char *  input = ".")

Get the list of trending files

Parameters
inputStart directory
Returns
List of files

Definition at line 119 of file RunQAOld.C.

Referenced by RunQAOld().

void RunQAOld ( const char *  input = ".",
Bool_t  keep = true,
Int_t  runNo = -1,
UShort_t  what = 0x3 
)

Run the QATrender and QAPlotter.

The QATrender is run over the list of files (runs) to produce the file forward_trending.root which contains a TTree of QA information - one entry per run.

The QATrender will also produce two files per run:

  • qa_runNo.root which contains TCanvas objects of the finished plots.
  • qa_runNo.pdf which is a PDF of the TCanvases mentioned above.

The QAPlotter is then run over the forward_trending.root file and produces two files

  • qa_first-run-last-run.root which contains TCanvas objects of the finished plots. It also contains the TMultiGraph objects painted in the canvases.
  • qa_first-run-last-run.pdf which is a PDF of the TCanvases mentioned above.

The QAPlotter will also produce PNGs of each canvas.

if runNo is larger than zero, given, then only the that run will be processed and only by QATrender. In addition, PNGs of each canvas is produced.

Parameters
runNo(optional) Run number. If greater than 0, only this run will be processed
inputInput directory
what(expert) Flag of what to do
keep

Definition at line 176 of file RunQAOld.C.

Bool_t ScanDirectory ( TSystemDirectory *  dir,
TList list,
bool  recursive = false 
)

Scan directory (and possibly sub-directories) for trending files

Parameters
dirStart directory
listList to add file names to
recursiveWhether to scan recursively
Returns
true on success
Deprecated:
Use the RunFileQA and RunFinalQA instead.

Definition at line 22 of file RunQAOld.C.

Referenced by GetListOfFiles().