]>
Commit | Line | Data |
---|---|---|
b14661e8 | 1 | void DrawSysWatchTime(){ |
2 | TString prefix="/hera/alice/marsland/MAF/MAFbenchmark/mcmaker/workdir/test_6_375000_25_20140713_20/"; | |
3 | TString listSyswatch = gSystem->GetFromPipe(Form("ls %s/*/mult_10000/event_1/simwatch.log",prefix.Data())); | |
4 | TObjArray * arraySyswatch= listSyswatch.Tokenize("\n"); | |
5 | Int_t nfiles= arraySyswatch->GetEntries(); | |
6 | TTree * treeSyswatch[] = new TTree*[nfiles]; | |
7 | ||
8 | ||
9 | for (Int_t ifile=0; ifile<nfiles; ifile++){ | |
10 | treeSyswatch[ifile] = AliSysInfo::MakeTree(arraySyswatch->At(ifile)->GetName()); | |
11 | treeSyswatch[0]->AddFriend( treeSyswatch[ifile],Form("T%d",ifile)); | |
12 | } | |
13 | ||
14 | treeSyswatch[0]->Draw("deltaT:sname","deltaT>1",""); | |
15 | for (Int_t ifile=1; ifile<nfiles; ifile++){ | |
16 | treeSyswatch[0]->SetMarkerStyle(25); | |
17 | treeSyswatch[0]->SetMarkerColor(1+ifile); | |
18 | treeSyswatch[0]->Draw(Form("T%d.stampSec-T%d.stampOldSec:sname",ifile,ifile),"deltaT>1","same"); | |
19 | } | |
20 | } | |
21 | ||
22 |