AliPhysics  86c65ee (86c65ee)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PlotSysInfo.C File Reference

A script to plot information from system watch files. More...

Go to the source code of this file.

Functions

TVirtualPad * MakeCanvas (const char *title="")
 
Double_t SumUsage (TTree *tree, const char *exp, const char *cut, bool draw=false)
 
Double_t TopUsage (TTree *tree, const char *exp, const char *cut, Int_t order)
 
TH1ExtractHist (TTree *tree, const char *exp, const char *cut, const char *name, const char *xtitle="", const char *ytitle="", Bool_t draw=false)
 
void Print (std::ostream &o, const char *name, Double_t dT, Double_t dVM, Double_t alldT, Double_t alldVM)
 
void Plot1SysInfo (const char *file, UShort_t draw=0x1)
 
void PlotSysInfo (ULong_t pid=431808952)
 

Variables

const char * dets []
 

Detailed Description

A script to plot information from system watch files.

Author
Christian Holm Christensen cholm.nosp@m.@nbi.nosp@m..dk
Date
Wed Oct 15 13:21:47 2014

Definition in file PlotSysInfo.C.

Function Documentation

TH1* ExtractHist ( TTree tree,
const char *  exp,
const char *  cut,
const char *  name,
const char *  xtitle = "",
const char *  ytitle = "",
Bool_t  draw = false 
)

Extract a histogram from a resource spec

Parameters
treetree to look in
expexpression to draw
cutCut to use
nameName of histogram
xtitleX axis title
ytitleY axis title
drawIf true, draw
Returns
The extract histogram or null

Definition at line 87 of file PlotSysInfo.C.

Referenced by Plot1SysInfo().

TVirtualPad* MakeCanvas ( const char *  title = "")

Make a canvas

Parameters
titleTitle on canvas
Returns
The canvas

Definition at line 15 of file PlotSysInfo.C.

Referenced by ExtractHist(), and SumUsage().

void Plot1SysInfo ( const char *  file,
UShort_t  draw = 0x1 
)

Plot information from one file

Parameters
fileFile to plot from
drawDrawing flags

Definition at line 162 of file PlotSysInfo.C.

Referenced by PlotSysInfo().

void PlotSysInfo ( ULong_t  pid = 431808952)

Plot for one job both simulation and reconstruction usage

Parameters
pidJob identifier

Definition at line 240 of file PlotSysInfo.C.

void Print ( std::ostream &  o,
const char *  name,
Double_t  dT,
Double_t  dVM,
Double_t  alldT,
Double_t  alldVM 
)

Print some information to output stream

Parameters
oStream
nameStep
dTChange in time
dVMChange in VM usage
alldTSum of time
alldVMSum of VM usage

Definition at line 121 of file PlotSysInfo.C.

Referenced by AliAnalysisTaskCaloFilter::CorrectionsInEMCAL(), AliAnalysisTaskPWGJEQA::ExecOnce(), AliEmcalCorrectionClusterizer::Init(), AliAnalysisTaskEMCALClusterizeFast::Init(), AliHFMassFitterVAR::MassFitter(), Plot1SysInfo(), and trigEffQA().

Double_t SumUsage ( TTree tree,
const char *  exp,
const char *  cut,
bool  draw = false 
)

Summarize the usage

Parameters
treetree to look in
expexpression to draw
cutCut to use
drawWhether to draw or not
Returns
The summed usage

Definition at line 34 of file PlotSysInfo.C.

Referenced by Plot1SysInfo().

Double_t TopUsage ( TTree tree,
const char *  exp,
const char *  cut,
Int_t  order 
)

Return the most heavy load

Parameters
treetree to look in
expexpression to draw
cutCut to use
orderOff set
Returns
Most heavy usage

Definition at line 57 of file PlotSysInfo.C.

Referenced by Plot1SysInfo().

Variable Documentation

const char* dets[]
Initial value:
= {"ITS",
"TPC",
"TRD",
"TOF",
"PHOS",
"HMPID",
"EMCAL",
"MUON",
"FMD",
"ZDC",
"PMD",
"T0",
"VZERO",
"ACORDE",
"HLT",
0 }

Detectors

Definition at line 138 of file PlotSysInfo.C.

Referenced by CleanCollection(), DrawRings(), EventTimeData::Fill(), EventTimeTask::LoadTriggerConfig(), Plot1SysInfo(), EventTimeSorter::Run(), and EventTimeTask::UserExec().