98 "Config files",
"*.conf",
104 "Package files",
"*.par",
110 "C files",
"*.[C|c]*",
121 "PROOF_ProcTimeHist",
205 fNumPort(0), fLogLevel(0), fTxtConfig(0), fTxtUsrName(0), fSync(0),
206 fViewer(0), fBtnAdd(0), fBtnConnect(0)
289 "OnBtnAddClicked()");
293 "OnBtnConnectClicked()");
297 "OnConfigFileClicked()");
300 "SettingsChanged()");
302 "SettingsChanged()");
304 "SettingsChanged()");
306 "SettingsChanged()");
307 fSync->
Connect(
"Clicked()",
"TSessionServerFrame",
this,
308 "SettingsChanged()");
310 "SettingsChanged()");
312 "SettingsChanged()");
314 "SettingsChanged()");
316 "SettingsChanged()");
388 "Deleting Local Sessions is not allowed !",
394 m.
Form(
"Are you sure to delete the server \"%s\"",
400 if (result ==
kMBOk) {
468 "TSessionViewer",
fViewer,
"StartupMessage(char *,Bool_t,Int_t,Int_t)");
472 if (address ==
"lite://") {
478 url +=
"@"; url += address.
Data();
506 TIter nextp(sessions);
531 "Feedback(TList *objs)");
598 "Progress(Long64_t,Long64_t)");
601 "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
602 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)",
604 "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t,Int_t,Int_t,Float_t)");
607 "IndicateStop(Bool_t)");
609 "ResetProgressDialog(const char*,Int_t,Long64_t,Long64_t)",
611 "ResetProgressDialog(const char*,Int_t,Long64_t,Long64_t)");
620 "TSessionViewer",
fViewer,
"QueryResultReady(char *)");
635 Error(
"Submit",
"Enable package failed");
696 "At least one required field is empty !",
858 fCommandTxt(0), fCommandBuf(0), fInfoTextView(0), fClearCheck(0),
859 fBtnShowLog(0), fBtnNewQuery(0), fBtnGetQueries(0), fLBPackages(0),
860 fBtnAdd(0), fBtnRemove(0), fBtnUp(0), fBtnDown(0), fBtnShow(0),
861 fBtnShowEnabled(0), fChkMulti(0), fChkEnable(0), fBtnUpload(0),
862 fBtnEnable(0), fBtnClear(0), fBtnDisable(0), fDSetView(0), fDataSetTree(0),
863 fBtnUploadDSet(0), fBtnRemoveDSet(0), fBtnVerifyDSet(0), fBtnRefresh(0),
864 fTxtParallel(0), fLogLevel(0), fApplyLogLevel(0), fApplyParallel(0),
909 for (i=0;i<17;i+=2) {
1158 "OnBtnShowLogClicked()");
1160 "OnBtnNewQueryClicked()");
1162 "OnBtnGetQueriesClicked()");
1165 "OnStartupEnable(Bool_t)");
1167 "OnMultipleSelection(Bool_t)");
1169 "OnBtnAddClicked()");
1171 "OnBtnRemoveClicked()");
1173 "OnBtnUpClicked()");
1175 "OnBtnDownClicked()");
1177 "OnApplyLogLevel()");
1179 "OnApplyParallel()");
1181 "OnUploadPackages()");
1183 "OnEnablePackages()");
1185 "OnDisablePackages()");
1187 "OnClearPackages()");
1189 "ShowEnabledPackages()");
1194 "OnBtnUploadDSet()");
1196 "OnBtnRemoveDSet()");
1198 "OnBtnVerifyDSet()");
1200 "UpdateListOfDataSets()");
1235 if (userGroup)
delete userGroup;
1249 buf.
Form(
"*** Connected to %s (parallel mode, %d workers) ***",
1253 buf.
Form(
"*** Connected to %s (sequential mode) ***",
1287 buf.
Form(
"*** Master server %s (parallel mode, %d workers) ***",
1291 buf.
Form(
"*** Master server %s (sequential mode) ***",
1354 TList *dsetlist = 0;
1359 TIter nextdset(dsetlist);
1360 while ((dsetname = (
TObjString *)nextdset())) {
1364 dsetname->
GetName(), dsetname);
1369 TIter nextdsetfile(dsetfilelist);
1370 while ((dsetfilename = (
TFileInfo *)nextdsetfile())) {
1375 dsetfilename, dseticon, dseticon);
1532 TIter next(&selected);
1533 while ((obj = next())) {
1536 Error(
"Submit",
"Upload package failed");
1541 dynamic_cast<TPackageDescription *>(o);
1545 fClient->GetPicture(
"package_delete.xpm"));
1569 TIter next(&selected);
1570 while ((obj = next())) {
1575 dynamic_cast<TPackageDescription *>(o);
1577 if (!package->fUploaded) {
1578 if (fViewer->GetActDesc()->fProof->UploadPackage(
name.Data()) != 0)
1579 Error(
"Submit",
"Upload package failed");
1581 package->fUploaded =
kTRUE;
1583 fClient->GetPicture(
"package_delete.xpm"));
1587 if (fViewer->GetActDesc()->fProof->EnablePackage(
name) != 0)
1588 Error(
"Submit",
"Enable package failed");
1590 package->fEnabled =
kTRUE;
1591 ((
TGIconLBEntry *)obj)->SetPicture(fClient->GetPicture(
"package_add.xpm"));
1614 TIter next(&selected);
1615 while ((obj = next())) {
1618 Error(
"Submit",
"Clear package failed");
1623 dynamic_cast<TPackageDescription *>(o);
1626 package->fUploaded =
kFALSE;
1627 ((
TGIconLBEntry *)obj)->SetPicture(fClient->GetPicture(
"package.xpm"));
1649 Error(
"Submit",
"Clear packages failed");
1677 package = new TPackageDescription;
1680 package->
fId = fViewer->GetActDesc()->fPackages->GetEntries();
1683 fViewer->GetActDesc()->fPackages->Add((
TObject *)package);
1685 package->fId, package->fPathName,
1686 fClient->GetPicture(
"package.xpm"));
1691 package = new TPackageDescription;
1694 package->
fId = fViewer->GetActDesc()->fPackages->GetEntries();
1697 fViewer->GetActDesc()->fPackages->Add((
TObject *)package);
1699 package->fId, package->fPathName,
1700 fClient->GetPicture(
"package.xpm"));
1745 if (pos <= 0)
return;
1747 package = (TPackageDescription *)fViewer->GetActDesc()->fPackages->At(pos);
1748 fViewer->GetActDesc()->fPackages->Remove(
1749 fViewer->GetActDesc()->fPackages->At(pos));
1751 fViewer->GetActDesc()->fPackages->AddAt(package, package->
fId);
1753 TIter next(fViewer->GetActDesc()->fPackages);
1758 pict = fClient->
GetPicture(
"package_add.xpm");
1760 pict = fClient->
GetPicture(
"package_delete.xpm");
1767 fLBPackages->Select(pos-1);
1768 fLBPackages->Layout();
1769 fClient->NeedRedraw(fLBPackages->GetContainer());
1783 package = (TPackageDescription *)fViewer->GetActDesc()->fPackages->At(pos);
1784 fViewer->GetActDesc()->fPackages->Remove(
1785 fViewer->GetActDesc()->fPackages->At(pos));
1787 fViewer->GetActDesc()->fPackages->AddAt(package, package->
fId);
1789 TIter next(fViewer->GetActDesc()->fPackages);
1794 pict = fClient->
GetPicture(
"package_add.xpm");
1796 pict = fClient->
GetPicture(
"package_delete.xpm");
1803 fLBPackages->Select(pos+1);
1804 fLBPackages->Layout();
1805 fClient->NeedRedraw(fLBPackages->GetContainer());
1863 TList *lqueries = 0;
1871 TIter nextp(lqueries);
1890 if (lquery->fReference.CompareTo(newquery->
fReference) == 0) {
1895 if (found)
continue;
1949 Error(
"ShowStatus",
"stdout/stderr redirection failed; skipping");
1956 Error(
"ShowStatus",
"stdout/stderr retore failed; skipping");
1973 Error(
"ShowStatus",
"stdout/stderr redirection failed; skipping");
1979 Error(
"ShowStatus",
"stdout/stderr retore failed; skipping");
2026 "Shutting down Local Sessions is not allowed !",
2036 m.
Form(
"Are you sure to shutdown the session \"%s\"",
2042 if (result !=
kMBOk)
2076 fTxtQueryName(0), fTxtChain(0), fTxtSelector(0), fTxtOptions(0),
2077 fNumEntries(0), fNumFirstEntry(0), fTxtParFile(0), fTxtEventList(0),
2078 fViewer(0), fQuery(0), fChain(0)
2118 btnTmp->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnBrowseChain()");
2129 btnTmp->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnBrowseSelector()");
2134 fBtnMore->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnNewQueryMore()");
2179 btnTmp->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnBrowseEventList()");
2190 "SettingsChanged()");
2192 "SettingsChanged()");
2194 "SettingsChanged()");
2196 "SettingsChanged()");
2198 "SettingsChanged()");
2200 "SettingsChanged()");
2202 "SettingsChanged()");
2226 dlg->
Connect(
"OnElementSelected(TObject *)",
"TEditQueryFrame",
2227 this,
"OnElementSelected(TObject *)");
2237 if (obj->IsA() == TChain::Class())
2239 else if (obj->IsA() == TDSet::Class())
2294 if (newquery->
fChain->IsA() == TChain::Class())
2296 else if (newquery->
fChain->IsA() == TDSet::Class())
2376 fBtnAbort(0), fBtnShowLog(0), fBtnRetrieve(0), fBtnSave(0), fInfoTextView(0),
2377 fModified(0), fFiles(0),
fFirst(0), fEntries(0), fPrevTotal(0),
2378 fPrevProcessed(0), fLabInfos(0), fLabStatus(0), fTotal(0), fRate(0),
2379 fStatus(kStopped), fTab(0), fFA(0), fFB(0), fFC(0), fFD(0), frmProg(0),
2380 fECanvas(0), fStatsCanvas(0), fViewer(0), fDesc(0)
2457 " Estimated time left : 0 sec (--- events of --- processed) "),
2461 " Processing Rate : -- events/sec "),
2500 btntxt =
" Submit ";
2503 btntxt =
" Apply changes ";
2583 if (
TH1 *
h =
dynamic_cast<TH1*
>(o)) {
2585 h->SetBarWidth(0.75);
2586 h->SetBarOffset(0.125);
2591 else if (
TH2 *h2 =
dynamic_cast<TH2*
>(o)) {
2632 fTotal->
SetText(
" Estimated time left : 0 sec (0 events of 0 processed) ");
2651 buf.
Form(
"PROOF cluster : \"%s\" - %d worker nodes",
2657 buf.
Form(
" %d files, %lld events, starting event %lld",
2691 stm.
Form(
"%d h %d min %d sec", hh, mm, ss);
2693 stm.
Form(
"%d min %d sec", mm, ss);
2695 stm.
Form(
"%d sec", ss);
2696 if (processed ==
total) {
2705 stm.
Form(
"%d h %d min %d sec", hh, mm, ss);
2707 stm.
Form(
"%d min %d sec", mm, ss);
2709 stm.
Form(
"%d sec", ss);
2710 buf.
Form(
" Processed : %lld events in %s",
total, stm.
Data());
2714 buf.
Form(
" Estimated time left : %s (%lld events of %lld processed) ",
2718 if (processed > 0 && (
Long64_t)tdiff > 0) {
2719 buf.
Form(
" Processing Rate : %.1f events/sec ",
2755 cproc =
" - ABORTED";
2759 cproc =
" - STOPPED";
2775 if (processed < 0) processed = 0;
2782 else if (status == -1 ) {
2783 fTotal->
SetText(
" Estimated time left : 0 sec (0 events of 0 processed) ");
2803 buf.
Form(
" %d files, %lld events, starting event %lld",
2810 if (processed > 0 &&
total > 0)
2843 buf.
Form(
" Estimated time left : %s (%lld events of %lld processed) ",
2859 buf.
Form(
" Processed : %ld events in %s",
2864 if (processed > 0 && (
Long64_t)tdiff > 0) {
2865 buf.
Form(
" Processing Rate : %.1f events/sec ",
2879 if (aborted ==
kTRUE) {
2891 this,
"Progress(Long64_t,Long64_t)");
2893 this,
"Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
2894 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)",
2895 this,
"Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t,Int_t,Int_t,Float_t)");
2897 "IndicateStop(Bool_t)");
2908 fFiles = files > 0 ? files : 0;
2919 buf.
Form(
"%0d files, %0lld events, starting event %0lld",
2927 "TSessionQueryFrame",
this,
"Progress(Long64_t,Long64_t)");
2929 "TSessionQueryFrame",
this,
2930 "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
2932 "TSessionQueryFrame",
this,
"IndicateStop(Bool_t)");
2933 buf.
Form(
"PROOF cluster : \"%s\" - %d worker nodes",
2962 if ((obj) && (obj->IsA() == TQueryDescription::Class())) {
2991 gROOT->SetInterrupt();
3008 if ((!obj) || (obj->IsA() != TQueryDescription::Class()))
3026 if (obj && obj->IsA() == TQueryDescription::Class()) {
3077 gROOT->SetInterrupt();
3097 if (!obj || obj->IsA() != TQueryDescription::Class())
3126 "Feedback(TList *objs)");
3144 if (newquery->
fChain->IsA() == TChain::Class()) {
3153 else if (newquery->
fChain->IsA() == TDSet::Class()) {
3163 Error(
"Submit",
"No TChain defined; skipping");
3186 if (newquery->
fChain->IsA() == TChain::Class()) {
3209 "Only TChains are allowed in Local Session (no TDSet) !",
3214 Error(
"Submit",
"No TChain defined; skipping");
3234 if (!obj || obj->IsA() != TQueryDescription::Class())
3237 if (desc != query)
return;
3339 const char *qst[] = {
"aborted ",
"submitted",
"running ",
3340 "stopped ",
"completed"};
3374 fTotal->
SetText(
" Estimated time left : 0 sec (0 events of 0 processed) ");
3389 buffer =
TString::Format(
"------------------------------------------------------\n");
3392 const char *fin = result->
IsFinalized() ?
"finalized" : qst[st];
3393 const char *arc = result->
IsArchived() ?
"(A)" :
"";
3400 buffer +=
TString::Format(
"------------------------------------------------------\n");
3407 buffer +=
TString::Format(
"------------------------------------------------------\n");
3415 buffer +=
TString::Format(
" Real time : %d sec (CPU time: %.1f sec)\n",
3420 if (result->
GetEntries() > -1 && elapsed > 0)
3423 buffer +=
TString::Format(
" Processed : %lld events (size: %.3f MBs)\n",
3438 res.
Insert(0,
"<PROOF_SandBox>/");
3442 "not available" :
"sent to client";
3446 buffer +=
TString::Format(
"------------------------------------------------------\n");
3453 buffer +=
TString::Format(
"------------------------------------------------------\n");
3470 buffer =
TString::Format(
" Processing Rate : %.1f events/sec ", rate);
3513 frmListView->
Connect(
"Clicked(TGLVEntry*, Int_t, Int_t, Int_t)",
3514 "TSessionOutputFrame",
this,
3515 "OnElementClicked(TGLVEntry* ,Int_t, Int_t, Int_t)");
3516 frmListView->
Connect(
"DoubleClicked(TGLVEntry*, Int_t, Int_t, Int_t)",
3517 "TSessionOutputFrame",
this,
3518 "OnElementDblClicked(TGLVEntry* ,Int_t, Int_t, Int_t)");
3528 if ((obj) && (btn ==3)) {
3548 if (act[0] ==
'!') {