99 "Config files",
"*.conf",
105 "Package files",
"*.par",
111 "C files",
"*.[C|c]*",
122 "PROOF_ProcTimeHist",
206 fNumPort(0), fLogLevel(0), fTxtConfig(0), fTxtUsrName(0), fSync(0),
207 fViewer(0), fBtnAdd(0), fBtnConnect(0)
290 "OnBtnAddClicked()");
294 "OnBtnConnectClicked()");
298 "OnConfigFileClicked()");
301 "SettingsChanged()");
303 "SettingsChanged()");
305 "SettingsChanged()");
307 "SettingsChanged()");
308 fSync->
Connect(
"Clicked()",
"TSessionServerFrame",
this,
309 "SettingsChanged()");
311 "SettingsChanged()");
313 "SettingsChanged()");
315 "SettingsChanged()");
317 "SettingsChanged()");
389 "Deleting Local Sessions is not allowed !",
395 m.Form(
"Are you sure to delete the server \"%s\"",
469 "TSessionViewer",
fViewer,
"StartupMessage(char *,Bool_t,Int_t,Int_t)");
473 if (address ==
"lite://") {
479 url +=
"@"; url += address.
Data();
507 TIter nextp(sessions);
532 "Feedback(TList *objs)");
599 "Progress(Long64_t,Long64_t)");
602 "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
603 fViewer->
GetActDesc()->
fProof->
Connect(
"Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t,Int_t,Int_t,Float_t)",
605 "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t,Int_t,Int_t,Float_t)");
608 "IndicateStop(Bool_t)");
610 "ResetProgressDialog(const char*,Int_t,Long64_t,Long64_t)",
612 "ResetProgressDialog(const char*,Int_t,Long64_t,Long64_t)");
621 "TSessionViewer",
fViewer,
"QueryResultReady(char *)");
636 Error(
"Submit",
"Enable package failed");
697 "At least one required field is empty !",
859 fCommandTxt(0), fCommandBuf(0), fInfoTextView(0), fClearCheck(0),
860 fBtnShowLog(0), fBtnNewQuery(0), fBtnGetQueries(0), fLBPackages(0),
861 fBtnAdd(0), fBtnRemove(0), fBtnUp(0), fBtnDown(0), fBtnShow(0),
862 fBtnShowEnabled(0), fChkMulti(0), fChkEnable(0), fBtnUpload(0),
863 fBtnEnable(0), fBtnClear(0), fBtnDisable(0), fDSetView(0), fDataSetTree(0),
864 fBtnUploadDSet(0), fBtnRemoveDSet(0), fBtnVerifyDSet(0), fBtnRefresh(0),
865 fTxtParallel(0), fLogLevel(0), fApplyLogLevel(0), fApplyParallel(0),
910 for (i=0;i<17;i+=2) {
1159 "OnBtnShowLogClicked()");
1161 "OnBtnNewQueryClicked()");
1163 "OnBtnGetQueriesClicked()");
1166 "OnStartupEnable(Bool_t)");
1168 "OnMultipleSelection(Bool_t)");
1170 "OnBtnAddClicked()");
1172 "OnBtnRemoveClicked()");
1174 "OnBtnUpClicked()");
1176 "OnBtnDownClicked()");
1178 "OnApplyLogLevel()");
1180 "OnApplyParallel()");
1182 "OnUploadPackages()");
1184 "OnEnablePackages()");
1186 "OnDisablePackages()");
1188 "OnClearPackages()");
1190 "ShowEnabledPackages()");
1195 "OnBtnUploadDSet()");
1197 "OnBtnRemoveDSet()");
1199 "OnBtnVerifyDSet()");
1201 "UpdateListOfDataSets()");
1236 if (userGroup)
delete userGroup;
1250 buf.
Form(
"*** Connected to %s (parallel mode, %d workers) ***",
1254 buf.
Form(
"*** Connected to %s (sequential mode) ***",
1288 buf.
Form(
"*** Master server %s (parallel mode, %d workers) ***",
1292 buf.
Form(
"*** Master server %s (sequential mode) ***",
1355 TList *dsetlist = 0;
1360 TIter nextdset(dsetlist);
1361 while ((dsetname = (
TObjString *)nextdset())) {
1365 dsetname->
GetName(), dsetname);
1370 TIter nextdsetfile(dsetfilelist);
1371 while ((dsetfilename = (
TFileInfo *)nextdsetfile())) {
1376 dsetfilename, dseticon, dseticon);
1533 TIter next(&selected);
1534 while ((obj = next())) {
1537 Error(
"Submit",
"Upload package failed");
1542 dynamic_cast<TPackageDescription *>(o);
1546 fClient->GetPicture(
"package_delete.xpm"));
1570 TIter next(&selected);
1571 while ((obj = next())) {
1576 dynamic_cast<TPackageDescription *>(o);
1578 if (!package->fUploaded) {
1579 if (fViewer->GetActDesc()->fProof->UploadPackage(
name.Data()) != 0)
1580 Error(
"Submit",
"Upload package failed");
1582 package->fUploaded =
kTRUE;
1584 fClient->GetPicture(
"package_delete.xpm"));
1588 if (fViewer->GetActDesc()->fProof->EnablePackage(
name) != 0)
1589 Error(
"Submit",
"Enable package failed");
1591 package->fEnabled =
kTRUE;
1592 ((
TGIconLBEntry *)obj)->SetPicture(fClient->GetPicture(
"package_add.xpm"));
1615 TIter next(&selected);
1616 while ((obj = next())) {
1619 Error(
"Submit",
"Clear package failed");
1624 dynamic_cast<TPackageDescription *>(o);
1627 package->fUploaded =
kFALSE;
1628 ((
TGIconLBEntry *)obj)->SetPicture(fClient->GetPicture(
"package.xpm"));
1650 Error(
"Submit",
"Clear packages failed");
1678 package = new TPackageDescription;
1681 package->
fId = fViewer->GetActDesc()->fPackages->GetEntries();
1684 fViewer->GetActDesc()->fPackages->Add((
TObject *)package);
1686 package->fId, package->fPathName,
1687 fClient->GetPicture(
"package.xpm"));
1692 package = new TPackageDescription;
1695 package->
fId = fViewer->GetActDesc()->fPackages->GetEntries();
1698 fViewer->GetActDesc()->fPackages->Add((
TObject *)package);
1700 package->fId, package->fPathName,
1701 fClient->GetPicture(
"package.xpm"));
1746 if (pos <= 0)
return;
1748 package = (TPackageDescription *)fViewer->GetActDesc()->fPackages->At(pos);
1749 fViewer->GetActDesc()->fPackages->Remove(
1750 fViewer->GetActDesc()->fPackages->At(pos));
1752 fViewer->GetActDesc()->fPackages->AddAt(package, package->
fId);
1754 TIter next(fViewer->GetActDesc()->fPackages);
1759 pict = fClient->GetPicture(
"package_add.xpm");
1761 pict = fClient->GetPicture(
"package_delete.xpm");
1763 pict = fClient->GetPicture(
"package.xpm");
1768 fLBPackages->Select(pos-1);
1769 fLBPackages->Layout();
1770 fClient->NeedRedraw(fLBPackages->GetContainer());
1784 package = (TPackageDescription *)fViewer->GetActDesc()->fPackages->At(pos);
1785 fViewer->GetActDesc()->fPackages->Remove(
1786 fViewer->GetActDesc()->fPackages->At(pos));
1788 fViewer->GetActDesc()->fPackages->AddAt(package, package->
fId);
1790 TIter next(fViewer->GetActDesc()->fPackages);
1795 pict = fClient->GetPicture(
"package_add.xpm");
1797 pict = fClient->GetPicture(
"package_delete.xpm");
1799 pict = fClient->GetPicture(
"package.xpm");
1804 fLBPackages->Select(pos+1);
1805 fLBPackages->Layout();
1806 fClient->NeedRedraw(fLBPackages->GetContainer());
1864 TList *lqueries = 0;
1872 TIter nextp(lqueries);
1891 if (lquery->fReference.CompareTo(newquery->
fReference) == 0) {
1896 if (found)
continue;
1950 Error(
"ShowStatus",
"stdout/stderr redirection failed; skipping");
1957 Error(
"ShowStatus",
"stdout/stderr retore failed; skipping");
1974 Error(
"ShowStatus",
"stdout/stderr redirection failed; skipping");
1980 Error(
"ShowStatus",
"stdout/stderr retore failed; skipping");
2027 "Shutting down Local Sessions is not allowed !",
2037 m.Form(
"Are you sure to shutdown the session \"%s\"",
2077 fTxtQueryName(0), fTxtChain(0), fTxtSelector(0), fTxtOptions(0),
2078 fNumEntries(0), fNumFirstEntry(0), fTxtParFile(0), fTxtEventList(0),
2079 fViewer(0), fQuery(0), fChain(0)
2119 btnTmp->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnBrowseChain()");
2130 btnTmp->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnBrowseSelector()");
2135 fBtnMore->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnNewQueryMore()");
2180 btnTmp->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnBrowseEventList()");
2191 "SettingsChanged()");
2193 "SettingsChanged()");
2195 "SettingsChanged()");
2197 "SettingsChanged()");
2199 "SettingsChanged()");
2201 "SettingsChanged()");
2203 "SettingsChanged()");
2227 dlg->
Connect(
"OnElementSelected(TObject *)",
"TEditQueryFrame",
2228 this,
"OnElementSelected(TObject *)");
2377 fBtnAbort(0), fBtnShowLog(0), fBtnRetrieve(0), fBtnSave(0), fInfoTextView(0),
2378 fModified(0), fFiles(0),
fFirst(0), fEntries(0), fPrevTotal(0),
2379 fPrevProcessed(0), fLabInfos(0), fLabStatus(0), fTotal(0), fRate(0),
2380 fStatus(kStopped), fTab(0), fFA(0), fFB(0), fFC(0), fFD(0), frmProg(0),
2381 fECanvas(0), fStatsCanvas(0), fViewer(0), fDesc(0)
2458 " Estimated time left : 0 sec (--- events of --- processed) "),
2462 " Processing Rate : -- events/sec "),
2501 btntxt =
" Submit ";
2504 btntxt =
" Apply changes ";
2584 if (
TH1 *
h =
dynamic_cast<TH1*
>(o)) {
2586 h->SetBarWidth(0.75);
2587 h->SetBarOffset(0.125);
2592 else if (
TH2 *h2 =
dynamic_cast<TH2*
>(o)) {
2633 fTotal->
SetText(
" Estimated time left : 0 sec (0 events of 0 processed) ");
2652 buf.
Form(
"PROOF cluster : \"%s\" - %d worker nodes",
2658 buf.
Form(
" %d files, %lld events, starting event %lld",
2692 stm.
Form(
"%d h %d min %d sec", hh, mm, ss);
2694 stm.
Form(
"%d min %d sec", mm, ss);
2696 stm.
Form(
"%d sec", ss);
2697 if (processed ==
total) {
2706 stm.
Form(
"%d h %d min %d sec", hh, mm, ss);
2708 stm.
Form(
"%d min %d sec", mm, ss);
2710 stm.
Form(
"%d sec", ss);
2711 buf.
Form(
" Processed : %lld events in %s",
total, stm.
Data());
2715 buf.
Form(
" Estimated time left : %s (%lld events of %lld processed) ",
2719 if (processed > 0 && (
Long64_t)tdiff > 0) {
2720 buf.
Form(
" Processing Rate : %.1f events/sec ",
2756 cproc =
" - ABORTED";
2760 cproc =
" - STOPPED";
2776 if (processed < 0) processed = 0;
2783 else if (status == -1 ) {
2784 fTotal->
SetText(
" Estimated time left : 0 sec (0 events of 0 processed) ");
2804 buf.
Form(
" %d files, %lld events, starting event %lld",
2811 if (processed > 0 &&
total > 0)
2844 buf.
Form(
" Estimated time left : %s (%lld events of %lld processed) ",
2860 buf.
Form(
" Processed : %ld events in %s",
2865 if (processed > 0 && (
Long64_t)tdiff > 0) {
2866 buf.
Form(
" Processing Rate : %.1f events/sec ",
2880 if (aborted ==
kTRUE) {
2892 this,
"Progress(Long64_t,Long64_t)");
2894 this,
"Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
2895 fViewer->
GetActDesc()->
fProof->
Disconnect(
"Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t,Int_t,Int_t,Float_t)",
2896 this,
"Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t,Int_t,Int_t,Float_t)");
2898 "IndicateStop(Bool_t)");
2909 fFiles = files > 0 ? files : 0;
2920 buf.
Form(
"%0d files, %0lld events, starting event %0lld",
2928 "TSessionQueryFrame",
this,
"Progress(Long64_t,Long64_t)");
2930 "TSessionQueryFrame",
this,
2931 "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
2933 "TSessionQueryFrame",
this,
"IndicateStop(Bool_t)");
2934 buf.
Form(
"PROOF cluster : \"%s\" - %d worker nodes",
2992 gROOT->SetInterrupt();
3078 gROOT->SetInterrupt();
3127 "Feedback(TList *objs)");
3164 Error(
"Submit",
"No TChain defined; skipping");
3210 "Only TChains are allowed in Local Session (no TDSet) !",
3215 Error(
"Submit",
"No TChain defined; skipping");
3238 if (desc != query)
return;
3340 const char *qst[] = {
"aborted ",
"submitted",
"running ",
3341 "stopped ",
"completed"};
3375 fTotal->
SetText(
" Estimated time left : 0 sec (0 events of 0 processed) ");
3390 buffer =
TString::Format(
"------------------------------------------------------\n");
3393 const char *fin =
result->IsFinalized() ?
"finalized" : qst[st];
3394 const char *arc =
result->IsArchived() ?
"(A)" :
"";
3399 result->GetSelecImp()->GetTitle());
3401 buffer +=
TString::Format(
"------------------------------------------------------\n");
3407 result->GetSelecImp()->GetTitle());
3408 buffer +=
TString::Format(
"------------------------------------------------------\n");
3413 result->GetStartTime().Convert());
3415 result->GetStartTime().AsString());
3416 buffer +=
TString::Format(
" Real time : %d sec (CPU time: %.1f sec)\n",
3417 elapsed,
result->GetUsedCPU());
3421 if (
result->GetEntries() > -1 && elapsed > 0)
3424 buffer +=
TString::Format(
" Processed : %lld events (size: %.3f MBs)\n",
3429 if (strlen(
result->GetParList()) > 1) {
3435 if (!
result->IsArchived()) {
3439 res.
Insert(0,
"<PROOF_SandBox>/");
3443 "not available" :
"sent to client";
3447 buffer +=
TString::Format(
"------------------------------------------------------\n");
3451 if (
result->GetOutputList() &&
result->GetOutputList()->GetSize() > 0) {
3453 result->GetOutputList()->GetSize());
3454 buffer +=
TString::Format(
"------------------------------------------------------\n");
3471 buffer =
TString::Format(
" Processing Rate : %.1f events/sec ", rate);
3514 frmListView->
Connect(
"Clicked(TGLVEntry*, Int_t, Int_t, Int_t)",
3515 "TSessionOutputFrame",
this,
3516 "OnElementClicked(TGLVEntry* ,Int_t, Int_t, Int_t)");
3517 frmListView->
Connect(
"DoubleClicked(TGLVEntry*, Int_t, Int_t, Int_t)",
3518 "TSessionOutputFrame",
this,
3519 "OnElementDblClicked(TGLVEntry* ,Int_t, Int_t, Int_t)");
3529 if ((obj) && (btn ==3)) {