96 "Config files",
"*.conf",
102 "Package files",
"*.par",
108 "C files",
"*.[C|c]*",
119 "PROOF_ProcTimeHist",
203 fNumPort(0), fLogLevel(0), fTxtConfig(0), fTxtUsrName(0), fSync(0),
204 fViewer(0), fBtnAdd(0), fBtnConnect(0)
287 "OnBtnAddClicked()");
291 "OnBtnConnectClicked()");
295 "OnConfigFileClicked()");
298 "SettingsChanged()");
300 "SettingsChanged()");
302 "SettingsChanged()");
304 "SettingsChanged()");
305 fSync->
Connect(
"Clicked()",
"TSessionServerFrame",
this,
306 "SettingsChanged()");
308 "SettingsChanged()");
310 "SettingsChanged()");
312 "SettingsChanged()");
314 "SettingsChanged()");
386 "Deleting Local Sessions is not allowed !",
392 m.Form(
"Are you sure to delete the server \"%s\"",
398 if (result ==
kMBOk) {
466 "TSessionViewer",
fViewer,
"StartupMessage(char *,Bool_t,Int_t,Int_t)");
470 if (address ==
"lite://") {
476 url +=
"@"; url += address.
Data();
504 TIter nextp(sessions);
529 "Feedback(TList *objs)");
596 "Progress(Long64_t,Long64_t)");
599 "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
600 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)",
602 "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t,Int_t,Int_t,Float_t)");
605 "IndicateStop(Bool_t)");
607 "ResetProgressDialog(const char*,Int_t,Long64_t,Long64_t)",
609 "ResetProgressDialog(const char*,Int_t,Long64_t,Long64_t)");
618 "TSessionViewer",
fViewer,
"QueryResultReady(char *)");
633 Error(
"Submit",
"Enable package failed");
694 "At least one required field is empty !",
856 fCommandTxt(0), fCommandBuf(0), fInfoTextView(0), fClearCheck(0),
857 fBtnShowLog(0), fBtnNewQuery(0), fBtnGetQueries(0), fLBPackages(0),
858 fBtnAdd(0), fBtnRemove(0), fBtnUp(0), fBtnDown(0), fBtnShow(0),
859 fBtnShowEnabled(0), fChkMulti(0), fChkEnable(0), fBtnUpload(0),
860 fBtnEnable(0), fBtnClear(0), fBtnDisable(0), fDSetView(0), fDataSetTree(0),
861 fBtnUploadDSet(0), fBtnRemoveDSet(0), fBtnVerifyDSet(0), fBtnRefresh(0),
862 fTxtParallel(0), fLogLevel(0), fApplyLogLevel(0), fApplyParallel(0),
907 for (i=0;i<17;i+=2) {
1156 "OnBtnShowLogClicked()");
1158 "OnBtnNewQueryClicked()");
1160 "OnBtnGetQueriesClicked()");
1163 "OnStartupEnable(Bool_t)");
1165 "OnMultipleSelection(Bool_t)");
1167 "OnBtnAddClicked()");
1169 "OnBtnRemoveClicked()");
1171 "OnBtnUpClicked()");
1173 "OnBtnDownClicked()");
1175 "OnApplyLogLevel()");
1177 "OnApplyParallel()");
1179 "OnUploadPackages()");
1181 "OnEnablePackages()");
1183 "OnDisablePackages()");
1185 "OnClearPackages()");
1187 "ShowEnabledPackages()");
1192 "OnBtnUploadDSet()");
1194 "OnBtnRemoveDSet()");
1196 "OnBtnVerifyDSet()");
1198 "UpdateListOfDataSets()");
1233 if (userGroup)
delete userGroup;
1247 buf.
Form(
"*** Connected to %s (parallel mode, %d workers) ***",
1251 buf.
Form(
"*** Connected to %s (sequential mode) ***",
1285 buf.
Form(
"*** Master server %s (parallel mode, %d workers) ***",
1289 buf.
Form(
"*** Master server %s (sequential mode) ***",
1352 TList *dsetlist = 0;
1357 TIter nextdset(dsetlist);
1358 while ((dsetname = (
TObjString *)nextdset())) {
1362 dsetname->
GetName(), dsetname);
1367 TIter nextdsetfile(dsetfilelist);
1368 while ((dsetfilename = (
TFileInfo *)nextdsetfile())) {
1373 dsetfilename, dseticon, dseticon);
1530 TIter next(&selected);
1531 while ((obj = next())) {
1534 Error(
"Submit",
"Upload package failed");
1539 dynamic_cast<TPackageDescription *>(o);
1567 TIter next(&selected);
1568 while ((obj = next())) {
1573 dynamic_cast<TPackageDescription *>(o);
1575 if (!package->fUploaded) {
1577 Error(
"Submit",
"Upload package failed");
1579 package->fUploaded =
kTRUE;
1586 Error(
"Submit",
"Enable package failed");
1588 package->fEnabled =
kTRUE;
1612 TIter next(&selected);
1613 while ((obj = next())) {
1616 Error(
"Submit",
"Clear package failed");
1621 dynamic_cast<TPackageDescription *>(o);
1624 package->fUploaded =
kFALSE;
1647 Error(
"Submit",
"Clear packages failed");
1675 package = new TPackageDescription;
1683 package->fId, package->fPathName,
1689 package = new TPackageDescription;
1697 package->fId, package->fPathName,
1743 if (pos <= 0)
return;
1745 package = (TPackageDescription *)fViewer->GetActDesc()->fPackages->At(pos);
1781 package = (TPackageDescription *)fViewer->GetActDesc()->fPackages->At(pos);
1861 TList *lqueries = 0;
1869 TIter nextp(lqueries);
1888 if (lquery->fReference.CompareTo(newquery->
fReference) == 0) {
1893 if (found)
continue;
1947 Error(
"ShowStatus",
"stdout/stderr redirection failed; skipping");
1954 Error(
"ShowStatus",
"stdout/stderr retore failed; skipping");
1971 Error(
"ShowStatus",
"stdout/stderr redirection failed; skipping");
1977 Error(
"ShowStatus",
"stdout/stderr retore failed; skipping");
2024 "Shutting down Local Sessions is not allowed !",
2034 m.Form(
"Are you sure to shutdown the session \"%s\"",
2040 if (result !=
kMBOk)
2074 fTxtQueryName(0), fTxtChain(0), fTxtSelector(0), fTxtOptions(0),
2075 fNumEntries(0), fNumFirstEntry(0), fTxtParFile(0), fTxtEventList(0),
2076 fViewer(0), fQuery(0), fChain(0)
2116 btnTmp->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnBrowseChain()");
2127 btnTmp->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnBrowseSelector()");
2132 fBtnMore->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnNewQueryMore()");
2177 btnTmp->
Connect(
"Clicked()",
"TEditQueryFrame",
this,
"OnBrowseEventList()");
2188 "SettingsChanged()");
2190 "SettingsChanged()");
2192 "SettingsChanged()");
2194 "SettingsChanged()");
2196 "SettingsChanged()");
2198 "SettingsChanged()");
2200 "SettingsChanged()");
2224 dlg->
Connect(
"OnElementSelected(TObject *)",
"TEditQueryFrame",
2225 this,
"OnElementSelected(TObject *)");
2374 fBtnAbort(0), fBtnShowLog(0), fBtnRetrieve(0), fBtnSave(0), fInfoTextView(0),
2375 fModified(0), fFiles(0),
fFirst(0), fEntries(0), fPrevTotal(0),
2376 fPrevProcessed(0), fLabInfos(0), fLabStatus(0), fTotal(0), fRate(0),
2377 fStatus(kStopped), fTab(0), fFA(0), fFB(0), fFC(0), fFD(0), frmProg(0),
2378 fECanvas(0), fStatsCanvas(0), fViewer(0), fDesc(0)
2455 " Estimated time left : 0 sec (--- events of --- processed) "),
2459 " Processing Rate : -- events/sec "),
2498 btntxt =
" Submit ";
2501 btntxt =
" Apply changes ";
2581 if (
TH1 *
h =
dynamic_cast<TH1*
>(o)) {
2583 h->SetBarWidth(0.75);
2584 h->SetBarOffset(0.125);
2589 else if (
TH2 *h2 =
dynamic_cast<TH2*
>(o)) {
2630 fTotal->
SetText(
" Estimated time left : 0 sec (0 events of 0 processed) ");
2649 buf.
Form(
"PROOF cluster : \"%s\" - %d worker nodes",
2655 buf.
Form(
" %d files, %lld events, starting event %lld",
2689 stm.
Form(
"%d h %d min %d sec", hh,
mm, ss);
2691 stm.
Form(
"%d min %d sec",
mm, ss);
2693 stm.
Form(
"%d sec", ss);
2694 if (processed ==
total) {
2703 stm.
Form(
"%d h %d min %d sec", hh,
mm, ss);
2705 stm.
Form(
"%d min %d sec",
mm, ss);
2707 stm.
Form(
"%d sec", ss);
2708 buf.
Form(
" Processed : %lld events in %s",
total, stm.
Data());
2712 buf.
Form(
" Estimated time left : %s (%lld events of %lld processed) ",
2716 if (processed > 0 && (
Long64_t)tdiff > 0) {
2717 buf.
Form(
" Processing Rate : %.1f events/sec ",
2753 cproc =
" - ABORTED";
2757 cproc =
" - STOPPED";
2773 if (processed < 0) processed = 0;
2780 else if (status == -1 ) {
2781 fTotal->
SetText(
" Estimated time left : 0 sec (0 events of 0 processed) ");
2801 buf.
Form(
" %d files, %lld events, starting event %lld",
2808 if (processed > 0 &&
total > 0)
2841 buf.
Form(
" Estimated time left : %s (%lld events of %lld processed) ",
2857 buf.
Form(
" Processed : %ld events in %s",
2862 if (processed > 0 && (
Long64_t)tdiff > 0) {
2863 buf.
Form(
" Processing Rate : %.1f events/sec ",
2877 if (aborted ==
kTRUE) {
2889 this,
"Progress(Long64_t,Long64_t)");
2891 this,
"Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
2892 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)",
2893 this,
"Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t,Int_t,Int_t,Float_t)");
2895 "IndicateStop(Bool_t)");
2906 fFiles = files > 0 ? files : 0;
2917 buf.
Form(
"%0d files, %0lld events, starting event %0lld",
2925 "TSessionQueryFrame",
this,
"Progress(Long64_t,Long64_t)");
2927 "TSessionQueryFrame",
this,
2928 "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
2930 "TSessionQueryFrame",
this,
"IndicateStop(Bool_t)");
2931 buf.
Form(
"PROOF cluster : \"%s\" - %d worker nodes",
2989 gROOT->SetInterrupt();
3075 gROOT->SetInterrupt();
3124 "Feedback(TList *objs)");
3161 Error(
"Submit",
"No TChain defined; skipping");
3207 "Only TChains are allowed in Local Session (no TDSet) !",
3212 Error(
"Submit",
"No TChain defined; skipping");
3235 if (desc != query)
return;
3337 const char *qst[] = {
"aborted ",
"submitted",
"running ",
3338 "stopped ",
"completed"};
3372 fTotal->
SetText(
" Estimated time left : 0 sec (0 events of 0 processed) ");
3387 buffer =
TString::Format(
"------------------------------------------------------\n");
3390 const char *fin = result->
IsFinalized() ?
"finalized" : qst[st];
3391 const char *arc = result->
IsArchived() ?
"(A)" :
"";
3398 buffer +=
TString::Format(
"------------------------------------------------------\n");
3405 buffer +=
TString::Format(
"------------------------------------------------------\n");
3413 buffer +=
TString::Format(
" Real time : %d sec (CPU time: %.1f sec)\n",
3418 if (result->
GetEntries() > -1 && elapsed > 0)
3421 buffer +=
TString::Format(
" Processed : %lld events (size: %.3f MBs)\n",
3436 res.
Insert(0,
"<PROOF_SandBox>/");
3440 "not available" :
"sent to client";
3444 buffer +=
TString::Format(
"------------------------------------------------------\n");
3451 buffer +=
TString::Format(
"------------------------------------------------------\n");
3468 buffer =
TString::Format(
" Processing Rate : %.1f events/sec ", rate);