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()");
 
 
  370   if (!
fi.fFilename) 
return;
 
 
  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://") {
 
  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()");
 
 
 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) ***",
 
 
 1534      while ((obj = next())) {
 
 1537            Error(
"Submit", 
"Upload package failed");
 
 1542               dynamic_cast<TPackageDescription *>(o);
 
 1546                     fClient->GetPicture(
"package_delete.xpm"));
 
 
 1571      while ((obj = next())) {
 
 1576            dynamic_cast<TPackageDescription *>(o);
 
 1579               if (fViewer->GetActDesc()->fProof->UploadPackage(
name.Data()) != 0)
 
 1580                  Error(
"Submit", 
"Upload package failed");
 
 1584                        fClient->GetPicture(
"package_delete.xpm"));
 
 1588         if (fViewer->GetActDesc()->fProof->EnablePackage(
name) != 0)
 
 1589            Error(
"Submit", 
"Enable package failed");
 
 1592            ((
TGIconLBEntry *)obj)->SetPicture(fClient->GetPicture(
"package_add.xpm"));
 
 
 1616      while ((obj = next())) {
 
 1619            Error(
"Submit", 
"Clear package failed");
 
 1624               dynamic_cast<TPackageDescription *>(o);
 
 1628               ((
TGIconLBEntry *)obj)->SetPicture(fClient->GetPicture(
"package.xpm"));
 
 
 1650         Error(
"Submit", 
"Clear packages failed");
 
 
 1674   if (
fi.fMultipleSelection && 
fi.fFileNamesList) {
 
 1676      TIter next(
fi.fFileNamesList);
 
 1678         package = new TPackageDescription;
 
 1681         package->fId   = fViewer->GetActDesc()->fPackages->GetEntries();
 
 1687                                   fClient->GetPicture(
"package.xpm"));
 
 1691   else if (
fi.fFilename) {
 
 1692      package = new TPackageDescription;
 
 1695      package->fId   = fViewer->GetActDesc()->fPackages->GetEntries();
 
 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));
 
 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));
 
 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());
 
 
 1896         if (found) 
continue;
 
 1901         newquery->fSelectorString  = 
query->GetSelecImp()->GetName();
 
 1916         if (
query->GetInputList())
 
 1918         if (
query->GetOutputList())
 
 
 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 *)");
 
 
 2253   if (!
fi.fFilename) 
return;
 
 
 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    "),
 
 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);
 
 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)        ",
 
 2720      buf.
Form(
" Processing Rate : %.1f events/sec   ",
 
 
 2756         cproc = 
" - ABORTED";
 
 2760         cproc = 
" - STOPPED";
 
 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",
 
 2844      buf.
Form(
" Estimated time left : %s (%lld events of %lld processed)        ",
 
 2860      buf.
Form(
" Processed : %ld events in %s",
 
 2866      buf.
Form(
" Processing Rate : %.1f events/sec   ",
 
 
 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)");
 
 
 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",
 
 
 2977         chain->GetPlayer()->GetSelectorFromFile()->Terminate();
 
 
 2992      gROOT->SetInterrupt();
 
 
 3078      gROOT->SetInterrupt();
 
 
 3127                           "Feedback(TList *objs)");
 
 3164         Error(
"Submit", 
"No TChain defined; skipping");
 
 3202                          chain->GetReadEntry()+1);
 
 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"};
 
 3366                             chain->GetReadEntry()+1);
 
 3375         fTotal->
SetText(
" Estimated time left : 0 sec (0 events of 0 processed)        ");
 
 3390   buffer = 
TString::Format(
"------------------------------------------------------\n");
 
 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",
 
 3424   buffer += 
TString::Format(
" Processed : %lld events (size: %.3f MBs)\n",
 
 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");
 
 
 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)) {
 
 
 3549      if (
act[0] == 
'!') {
 
 3554         if (!
act.Contains(
"Browse"))
 
 
 3649                              fSessionHierarchy(0), fSessionItem(0)
 
 
 3751   if (!
info.fOS.Contains(
"Microsoft") && 
info.fCpus > 1) {
 
 3783      if ((s = 
strstr(
er->GetName(), 
"SessionDescription."))) {
 
 3791               if (
name.IsNull()) 
break;
 
 3794               if (address.
IsNull()) 
break;
 
 3796               if (port.
IsNull()) 
break;
 
 3801               if (user.
IsNull()) 
break;
 
 3836      if ((s = 
strstr(
er->GetName(), 
"QueryDescription."))) {
 
 3845               if (status.
IsNull()) 
break;
 
 3848               if (reference.
IsNull()) 
break;
 
 3852               if (selector.
IsNull()) 
break;
 
 
 3915      if (o && 
dynamic_cast<TProofMgr *
>(o)) {
 
 3917         if (
mgr && 
mgr->QuerySessions(
"L")) {
 
 3926                  if ((desc->
fTag == 
d->GetName()) ||
 
 3927                      (desc->
fName == 
d->GetTitle())) {
 
 3938                  if (
p && ((exists && ((desc->
fTag == 
d->GetName()) ||
 
 3939                      (desc->
fName == 
d->GetTitle()))) ||
 
 3940                      (!exists && (desc->
fAddress == 
p->GetMaster())))) {
 
 3945                     desc->
fTag        = 
d->GetName();
 
 3953                                    "Progress(Long64_t,Long64_t)");
 
 3956                                    "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
 
 3959                                    "IndicateStop(Bool_t)");
 
 3961                              "ResetProgressDialog(const char*, Int_t,Long64_t,Long64_t)",
 
 3963                              "ResetProgressDialog(const char*,Int_t,Long64_t,Long64_t)");
 
 3972                                    "TSessionViewer", 
this, 
"QueryResultReady(char *)");
 
 4005               if (found) 
continue;
 
 4019                     newdesc->fAddress = 
"lite://";
 
 4021                     newdesc->fAddress = 
p->GetMaster();
 
 4022                  newdesc->fConfigFile = 
p->GetConfFile();
 
 4025                  newdesc->fLogLevel   = 
p->GetLogLevel();
 
 4027                  newdesc->fProof->Connect(
"Progress(Long64_t,Long64_t)",
 
 4029                           "Progress(Long64_t,Long64_t)");
 
 4030                  newdesc->fProof->Connect(
"Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)",
 
 4032                           "Progress(Long64_t,Long64_t,Long64_t,Float_t,Float_t,Float_t,Float_t)");
 
 4033                  newdesc->fProof->Connect(
"StopProcess(Bool_t)",
 
 4035                           "IndicateStop(Bool_t)");
 
 4037                           "ResetProgressDialog(const char*, Int_t,Long64_t,Long64_t)",
 
 4039                           "ResetProgressDialog(const char*,Int_t,Long64_t,Long64_t)");
 
 4047                  newdesc->fProof->Connect(
"QueryResultReady(char *)",
 
 4048                           "TSessionViewer", 
this, 
"QueryResultReady(char *)");
 
 4082            if (desc->
fProof == proof) {
 
 4089         if (found) 
continue;
 
 4101            newdesc->fAddress = 
"lite://";
 
 
 4152         if (found) 
continue;
 
 4158         proof = 
pdesc->GetProof();
 
 4167               newdesc->fAddress = 
"lite://";
 
 
 4235      if ((
scnt > 0) && ((
session->fAddress.Length() < 3) ||
 
 4236           session->fUserName.Length() < 2)) {
 
 
 4458         "MyHandleMenu(Int_t)");
 
 4468         "MyHandleMenu(Int_t)");
 
 4500         "TSessionViewer", 
this,
 
 4501         "OnListTreeClicked(TGListTreeItem*, Int_t, Int_t, Int_t)");
 
 4503         "TSessionViewer", 
this,
 
 4504         "OnListTreeDoubleClicked(TGListTreeItem*, Int_t)");
 
 4570   int parts[] = { 36, 49, 15 };
 
 4574   for (
int p = 0; 
p < 3; ++
p)
 
 
 4645   if (
entry->GetParent() == 0) {  
 
 4661   else if (
entry->GetParent()->GetParent() == 0) { 
 
 4662      if (
entry->GetUserData()) {
 
 4736   else if (
entry->GetParent()->GetParent()->GetParent() == 0) { 
 
 4762      obj = (
TObject *)
entry->GetParent()->GetParent()->GetUserData();
 
 4793               objlist = 
chain->GetPlayer()->GetSelectorFromFile()->GetOutputList();
 
 4860      if (
entry->GetParent() != 0)
 
 
 4899   if (
entry->GetParent()->GetParent() == 0) { 
 
 4900      if (
entry->GetUserData()) {
 
 
 5040                                       chain->GetReadEntry()+1);
 
 
 5105               if (
lquery->fResult->GetInputList())
 
 5108               if (
lquery->fResult->GetOutputList())
 
 
 5134   m.Form(
"Are you sure to cleanup the session \"%s::%s\"",
 
 
 5167   m.Form(
"Do you really want to reset the session \"%s::%s\"",
 
 5175      if (
mgr && 
mgr->IsValid()) {
 
 
 5220      m.Form(
"Do you want to delete query \"%s\" from server too ?",
 
 5221            query->fQueryName.Data());
 
 5226      m.Form(
"Dou you really want to delete query \"%s\" ?",
 
 5227            query->fQueryName.Data());
 
 
 5273      (obj = 
query->fResult->GetInputObject(
"TDSet"))) {
 
 5276   if (!
query->fChain) 
return;
 
 
 5299      Error(
"ShowStatus", 
"stdout/stderr redirection failed; skipping");
 
 5305      Error(
"ShowStatus", 
"stdout/stderr retore failed; skipping");
 
 
 5336            package = new TPackageDescription;
 
 5340            package->fId   = fActDesc->fPackages->GetEntries();
 
 5343            if (!fActDesc->fPackages->FindObject(
package->fName)) {
 
 5352            package = new TPackageDescription;
 
 5356            package->fId   = fActDesc->fPackages->GetEntries();
 
 5359            if (!fActDesc->fPackages->FindObject(
package->fName)) {
 
 
 5384      Error(
"ShowStatus", 
"stdout/stderr redirection failed; skipping");
 
 5390      Error(
"ShowStatus", 
"stdout/stderr retore failed; skipping");
 
 
 5424            "TSessionViewer", 
this, 
"LogMessage(const char*,Bool_t)");
 
 
 5465      Error(
"ShowStatus", 
"stdout/stderr redirection failed; skipping");
 
 5471      Error(
"ShowStatus", 
"stdout/stderr retore failed; skipping");
 
 
const Mask_t kButtonPressMask
 
Handle_t Window_t
Window handle.
 
const Mask_t kAnyModifier
 
const Mask_t kKeyPressMask
 
const Mask_t kPointerMotionMask
 
const Mask_t kLeaveWindowMask
 
const Mask_t kButtonReleaseMask
 
const Mask_t kEnterWindowMask
 
R__EXTERN const char gHelpAbout[]
 
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
 
R__EXTERN TApplication * gApplication
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
 
static unsigned int total
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t pict
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t SetWMSizeHints
 
R__EXTERN void * gTQSender
 
R__EXTERN TRandom * gRandom
 
const char * xpm_toolbar[]
 
const char *const kSession_RedirectFile
 
TSessionViewer * gSessionViewer
 
@ kOptionsSlaveStatsTrace
 
const char *const kSession_RedirectCmd
 
const char * kFeedbackHistos[]
 
const char * macrotypes[]
 
R__EXTERN TSessionViewer * gSessionViewer
 
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
 
char * StrDup(const char *str)
Duplicate the string str.
 
R__EXTERN TSystem * gSystem
 
virtual Longptr_t ProcessLine(const char *line, Bool_t sync=kFALSE, Int_t *error=nullptr)
Process a single command line, either a C++ statement or an interpreter command starting with a "....
 
Bool_t ReturnFromRun() const
 
virtual void Terminate(Int_t status=0)
Terminate the application by call TSystem::Exit() unless application has been told to return from Run...
 
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
 
Using a TBrowser one can browse all ROOT objects.
 
void Clear(Option_t *option="") override
Remove all primitives from the canvas.
 
TVirtualPad * cd(Int_t subpadnumber=0) override
Set current canvas & pad.
 
void Update() override
Update canvas pad buffers.
 
A chain is a collection of files containing TTree objects.
 
virtual Int_t GetEntries() const
 
This class implements a data set to be used for PROOF processing.
 
void UpdateFields(TQueryDescription *desc)
Update entry fields with query description values.
 
TGNumberEntry * fNumEntries
 
TGTextEntry * fTxtQueryName
 
void OnNewQueryMore()
Show/hide options frame and update button text accordingly.
 
TGNumberEntry * fNumFirstEntry
 
void SettingsChanged()
Settings have changed, update GUI accordingly.
 
TQueryDescription * fQuery
 
void OnBrowseEventList()
Browse event list.
 
TGTextEntry * fTxtEventList
 
void Build(TSessionViewer *gui)
Build the "new query" dialog.
 
TEditQueryFrame(TGWindow *p, Int_t w, Int_t h)
Create a new Query dialog, used by the Session Viewer, to Edit a Query if the editmode flag is set,...
 
~TEditQueryFrame() override
Delete query dialog.
 
void OnElementSelected(TObject *obj)
Handle OnElementSelected signal coming from new chain dialog.
 
TGCompositeFrame * fFrmMore
 
TGTextEntry * fTxtSelector
 
void OnBrowseSelector()
Open file browser to choose selector macro.
 
void OnBtnSave()
Save current settings in main session viewer.
 
void OnBrowseChain()
Call new chain dialog.
 
TGTextEntry * fTxtOptions
 
The TEnv class reads config files, by default named .rootrc.
 
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
 
THashList * GetTable() const
 
virtual Int_t WriteFile(const char *fname, EEnvLevel level=kEnvAll)
Write resource records to file fname for a certain level.
 
virtual Int_t ReadFile(const char *fname, EEnvLevel level)
Read and parse the resource file for a certain level.
 
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=nullptr)
Set the value of a resource or create a new resource.
 
Class describing a generic file including meta information.
 
A frame containing two scrollbars (a horizontal and a vertical) and a viewport.
 
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
 
const TGWindow * GetRoot() const
Returns current root (i.e.
 
TGMimeTypes * GetMimeTypeList() const
 
const TGPicture * GetPicture(const char *name)
Get picture from the picture pool.
 
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
 
void FreePicture(const TGPicture *pic)
Free picture resource.
 
The base class for composite widgets (menu bars, list boxes, etc.).
 
TGDimension GetDefaultSize() const override
std::cout << fWidth << "x" << fHeight << std::endl;
 
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
 
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
 
UInt_t GetDefaultWidth() const override
 
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
 
void MapSubwindows() override
Map all sub windows that are part of the composite frame.
 
UInt_t GetDefaultHeight() const override
 
TGCompositeFrame(const TGCompositeFrame &)=delete
 
void Layout() override
Layout the elements of the composite frame.
 
virtual void ShowFrame(TGFrame *f)
Show sub frame.
 
void SetCleanup(Int_t mode=kLocalCleanup) override
Turn on automatic cleanup of child frames in dtor.
 
virtual void HideFrame(TGFrame *f)
Hide sub frame.
 
Bool_t IsVisible(TGFrame *f) const
Get state of sub frame.
 
virtual void Associate(const TGWindow *w)
 
virtual void ClearViewPort()
Clear view port and redraw full content.
 
This class creates a file selection dialog.
 
void AddInput(UInt_t emask)
Add events specified in the emask to the events the frame should handle.
 
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
 
void RemoveInput(UInt_t emask)
Remove events specified in emask from the events the frame should handle.
 
static Pixel_t GetWhitePixel()
Get white pixel value.
 
virtual UInt_t GetDefaultWidth() const
 
virtual UInt_t GetDefaultHeight() const
 
void MapWindow() override
map window
 
void Move(Int_t x, Int_t y) override
Move frame.
 
virtual void DeleteWindow()
Delete window.
 
A composite frame with a border and a title.
 
void ShowPosition(Bool_t set=kTRUE, Bool_t percent=kTRUE, const char *format="%.2f")
Show postion text, either in percent or formatted according format.
 
A horizontal 3D line is a line that typically separates a toolbar from the menubar.
 
A composite frame that layout their children in horizontal way.
 
Icon + text listbox entry.
 
This class handles GUI icons.
 
virtual void SetPicture(const TGPicture *pic)
Set icon picture.
 
virtual void AddItem(TGLVEntry *item)
 
void SetUserData(void *userData)
 
This class handles GUI labels.
 
virtual void SetText(TGString *newText)
Set new text in label.
 
This class describes layout hints used by the layout classes.
 
A listbox is a box, possibly with scrollbar, containing entries.
 
virtual Int_t GetNumberOfEntries() const
 
void Resize(UInt_t w, UInt_t h) override
Resize the listbox widget.
 
virtual Int_t GetSelected() const
Return id of selected listbox item.
 
virtual void AddEntry(TGString *s, Int_t id)
Add entry with specified string and id to listbox.
 
void Layout() override
Layout the listbox components.
 
virtual void SetMultipleSelections(Bool_t multi=kTRUE)
 
virtual TGFrame * GetContainer() const
 
virtual void GetSelectedEntries(TList *selected)
Adds all selected entries (TGLBEntry) of the list box into the list selected.
 
virtual void RemoveEntries(Int_t from_ID, Int_t to_ID)
Remove a range of entries defined by from_ID and to_ID.
 
TGListTreeItem * GetParent() const
 
virtual void SetPictures(const TGPicture *, const TGPicture *)
 
virtual void * GetUserData() const =0
 
virtual void SetUserData(void *, Bool_t=kFALSE)
 
A list tree is a widget that can contain a number of items arranged in a tree structure.
 
void DisableOpen(Bool_t disable=kTRUE)
 
TGListTreeItem * FindItemByObj(TGListTreeItem *item, void *ptr)
Find item with fUserData == ptr.
 
void ClearHighlighted()
Un highlight items.
 
void RenameItem(TGListTreeItem *item, const char *string)
Rename item in list tree.
 
void AddItem(TGListTreeItem *parent, TGListTreeItem *item)
Add given item to list tree.
 
Int_t DeleteChildren(TGListTreeItem *item)
Delete children of item from list.
 
void OpenItem(TGListTreeItem *item)
Open item in list tree (i.e. show child items).
 
TGListTreeItem * GetSelected() const
 
Int_t DeleteItem(TGListTreeItem *item)
Delete item from list tree.
 
void SetSelected(TGListTreeItem *item)
 
TGListTreeItem * GetFirstItem() const
 
TGListTreeItem * FindChildByName(TGListTreeItem *item, const char *name)
Find child of item by name.
 
void HighlightItem(TGListTreeItem *item)
Highlight item.
 
TGListTreeItem * FindChildByData(TGListTreeItem *item, void *userData)
Find child of item by userData.
 
void SetToolTipItem(TGListTreeItem *item, const char *string)
Set tooltip text for this item.
 
A list view is a widget that can contain a number of items arranged in a grid or list.
 
Defines top level windows that interact with the system Window Manager.
 
void SetWindowName(const char *name=nullptr) override
Set window name. This is typically done via the window manager.
 
This layout managers does not make use of TGLayoutHints.
 
Bool_t GetAction(const char *filename, char *action)
Return in action the mime action string belonging to filename.
 
TGNumberEntry is a number entry input widget with up/down buttons.
 
TGNumberEntryField * GetNumberEntry() const
Get the number entry field.
 
virtual void SetIntNumber(Long_t val, Bool_t emit=kTRUE)
 
void Associate(const TGWindow *w) override
Make w the window that will receive the generated messages.
 
virtual Long_t GetIntNumber() const
 
TGClient * fClient
Connection to display server.
 
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
 
void SetPosition(Float_t pos)
Set progress position between [min,max].
 
virtual void SetBarColor(Pixel_t color)
Set progress bar color.
 
virtual void Reset()
Reset progress bar (i.e. set pos to 0).
 
Provides a StatusBar widget.
 
TGCompositeFrame * GetBarPart(Int_t npart) const
Returns bar part.
 
virtual void SetText(TGString *text, Int_t partidx=0)
Set text in partition partidx in status bar.
 
virtual void SetParts(Int_t npart)
Divide the status bar in npart equal sized parts.
 
A tab widget contains a set of composite frames each with a little tab with a name (like a set of fol...
 
TGTabElement * GetTabTab(Int_t tabIndex) const
Return the tab element of tab with index tabIndex.
 
virtual Bool_t SetTab(Int_t tabIndex, Bool_t emit=kTRUE)
Brings the composite frame with the index tabIndex to the front and generate the following event if t...
 
virtual TGCompositeFrame * AddTab(TGString *text)
Add a tab to the tab widget.
 
This class describes layout hints used by the TGTableLayout class.
 
A layout manager, which places child frames in a table arranged in rows and columns,...
 
A text buffer is used in several widgets, like TGTextEntry, TGFileDialog, etc.
 
UInt_t GetTextLength() const
 
Yield an action as soon as it is clicked.
 
virtual void SetText(TGHotString *new_label)
Set new button text.
 
A TGTextEntry is a one line text input widget.
 
virtual void SetFocus()
Set focus to this text entry.
 
TGTextBuffer * GetBuffer() const
 
const char * GetText() const
 
void SetEnabled(Bool_t flag=kTRUE)
 
virtual void SelectAll()
Selects all text (i.e.
 
virtual void SetAlignment(ETextJustification mode=kTextLeft)
Sets the alignment of the text entry.
 
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
 
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line.
 
A TGTextView is a text viewer widget.
 
virtual Bool_t LoadFile(const char *fname, long startpos=0, long length=-1)
Load a file in the text view widget.
 
virtual Bool_t LoadBuffer(const char *txtbuf)
Load text from a text buffer. Return false in case of failure.
 
virtual void ShowBottom()
Show bottom of the page.
 
void Clear(Option_t *="") override
Clear text view widget.
 
A vertical 3D line is a line that can be used to separate groups of widgets.
 
A composite frame that layout their children in vertical way.
 
ROOT GUI Window base class.
 
const char * GetName() const override
Return unique name, used in SavePrimitive methods.
 
TH1 is the base class of all histogram classes in ROOT.
 
Service class for 2-D histogram classes.
 
void Clear(Option_t *option="") override
Remove all objects from the list.
 
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
 
void Add(TObject *obj) override
 
TObject * Remove(TObject *obj) override
Remove object from the list.
 
TObject * Last() const override
Return the last object in the list. Returns 0 when list is empty.
 
void Delete(Option_t *option="") override
Remove all objects from the list AND delete all heap based objects.
 
TObject * At(Int_t idx) const override
Returns the object at position idx. Returns 0 if idx is out of range.
 
const char * GetName() const override
Returns name of object.
 
const char * GetTitle() const override
Returns title of object.
 
Collectable string class.
 
const char * GetName() const override
Returns name of object.
 
Mother of all ROOT objects.
 
virtual void Clear(Option_t *="")
 
virtual const char * GetName() const
Returns name of object.
 
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
 
virtual const char * GetTitle() const
Returns title of object.
 
virtual TClass * IsA() const
 
void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0) override
Automatic pad generation by division.
 
void SetEditable(Bool_t mode=kTRUE) override
Set pad editable yes/no If a pad is not editable:
 
void Modified(Bool_t flag=true) override
Mark pad modified Will be repainted when TCanvas::Update() will be called next time.
 
void SetBorderMode(Short_t bordermode) override
 
The PROOF manager interacts with the PROOF server coordinator to create or destroy a PROOF session,...
 
virtual TList * QuerySessions(Option_t *opt="S")
Get list of sessions accessible to this manager.
 
static TProofMgr * Create(const char *url, Int_t loglevel=-1, const char *alias=0, Bool_t xpd=kTRUE)
Static method returning the appropriate TProofMgr object using the plugin manager.
 
virtual TProof * CreateSession(const char *=0, const char *=0, Int_t=-1)
Create a new remote session (master and associated workers).
 
virtual Bool_t IsValid() const
 
virtual TProof * AttachSession(Int_t, Bool_t=kFALSE)
Dummy version provided for completeness.
 
This class controls a Parallel ROOT Facility, PROOF, cluster.
 
const char * GetSessionTag() const
 
Int_t Exec(const char *cmd, ESlaves list, Bool_t plusMaster)
Send command to be executed on the PROOF master and/or slaves.
 
void ShowPackages(Bool_t all=kFALSE, Bool_t redirlog=kFALSE)
List contents of package directory.
 
static TProofMgr * Mgr(const char *url)
Get instance of the effective manager for 'url' Return 0 on failure.
 
Int_t UploadPackage(const char *par, EUploadPackageOpt opt=kUntar, TList *workers=0)
Upload a PROOF archive (PAR file).
 
void SendLogToWindow(Bool_t mode)
 
void Browse(TBrowser *b) override
Build the PROOF's structure in the browser.
 
Int_t GetClientProtocol() const
 
void AddFeedback(const char *name)
Add object to feedback list.
 
Bool_t IsParallel() const
 
Int_t CleanupSession(const char *sessiontag)
Send cleanup request for the session specified by tag.
 
TList * GetListOfPackages()
Get from the master the list of names of the packages available.
 
TQueryResult * GetQueryResult(const char *ref=0)
Return pointer to the full TQueryResult instance owned by the player and referenced by 'ref'.
 
void ClearFeedback()
Clear feedback list.
 
const char * GetConfFile() const
 
Int_t GetRemoteProtocol() const
 
Int_t SetParallel(Int_t nodes=-1, Bool_t random=kFALSE)
Tell PROOF how many slaves to use in parallel.
 
const char * GetImage() const
 
Float_t GetCpuTime() const
 
Int_t ClearPackage(const char *package)
Remove a specific package.
 
Int_t ClearPackages()
Remove all packages.
 
Int_t GetParallel() const
Returns number of slaves active in parallel mode.
 
Int_t Remove(Int_t query, Bool_t all=kFALSE)
Send remove request for the qry-th query in fQueries.
 
Bool_t SendingLogToWindow() const
 
Long64_t GetBytesRead() const
 
virtual void SetAlias(const char *alias="")
Set an alias for this session.
 
void Detach(Option_t *opt="")
Detach this instance to its proofserv.
 
const char * GetConfDir() const
 
void cd(Int_t id=-1)
Set session with 'id' the default one.
 
Int_t Retrieve(Int_t query, const char *path=0)
Send retrieve request for the qry-th query in fQueries.
 
virtual Int_t RemoveDataSet(const char *dataset, const char *optStr="")
Remove the specified dataset from the PROOF cluster.
 
void SetQueryMode(EQueryMode mode)
Change query running mode to the one specified by 'mode'.
 
Long64_t Finalize(Int_t query=-1, Bool_t force=kFALSE)
Finalize the qry-th query in fQueries.
 
void StopProcess(Bool_t abort, Int_t timeout=-1)
Send STOPPROCESS message to master and workers.
 
Float_t GetRealTime() const
 
void ShowLog(Int_t qry=-1)
Display on screen the content of the temporary log file.
 
Int_t GetLogLevel() const
 
const char * GetUser() const
 
virtual TFileCollection * GetDataSet(const char *dataset, const char *optStr="")
Get a list of TFileInfo objects describing the files of the specified dataset.
 
TList * GetListOfEnabledPackages()
Get from the master the list of names of the packages enabled.
 
virtual TList * GetListOfQueries(Option_t *opt="")
Ask the master for the list of queries.
 
void SetLogLevel(Int_t level, UInt_t mask=TProofDebug::kAll)
Set server logging level.
 
void ShowEnabledPackages(Bool_t all=kFALSE)
List which packages are enabled.
 
const char * GetMaster() const
 
Int_t EnablePackage(const char *package, Bool_t notOnClient=kFALSE, TList *workers=0)
Enable specified package.
 
virtual Int_t VerifyDataSet(const char *dataset, const char *optStr="")
Verify if all files in the specified dataset are available.
 
This is the ROOT implementation of the Qt object communication mechanism (see also http://www....
 
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
 
Bool_t Disconnect(const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
Disconnects signal of this object from slot of receiver.
 
ESessionQueryStatus fStatus
 
A container class for query results.
 
TObject * GetInputObject(const char *classname) const
Return first instance of class 'classname' in the input list.
 
static const TString & GetBinDir()
Get the binary directory in the installation. Static utility function.
 
virtual UInt_t Integer(UInt_t imax)
Returns a random integer uniformly distributed on the interval [ 0, imax-1 ].
 
This class creates a TGCanvas in which a TCanvas is created.
 
TCanvas * GetCanvas() const
 
A TRootHelpDialog is used to display help text (or any text in a dialog window).
 
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
 
virtual TList * GetOutputList() const
 
Sequenceable collection abstract base class.
 
const char * GetName() const override
Returns name of object.
 
TQueryDescription * fActQuery
 
TGTextButton * fBtnShowLog
 
TGTextButton * fBtnUploadDSet
 
TGCheckButton * fChkEnable
 
TGTextButton * fBtnEnable
 
TGNumberEntry * fLogLevel
 
void OnBtnShowLogClicked()
Show session log.
 
void OnBtnDisconnectClicked()
Disconnect from current Proof session.
 
void OnBtnRemoveClicked()
Remove selected package from the list.
 
void UpdatePackages()
Update list of packages.
 
TGTextButton * fBtnDisable
 
TGTextButton * fBtnShowEnabled
 
void OnUploadPackages()
Upload selected package(s) to the current session.
 
TGTextButton * fBtnUpload
 
TGTextButton * fBtnRefresh
 
void OnBtnAddClicked()
Open file dialog and add selected package file to the list.
 
TGTextEntry * fCommandTxt
 
TGTextButton * fBtnRemoveDSet
 
~TSessionFrame() override
Destructor.
 
void OnBtnRemoveDSet()
Remove dataset from the list and from the cluster.
 
void OnCommandLine()
Command line handling.
 
void OnDisablePackages()
Disable selected package(s) in the current session.
 
void OnBtnNewQueryClicked()
Call "New Query" Dialog.
 
void OnApplyLogLevel()
Apply selected log level on current session.
 
TGCheckButton * fClearCheck
 
void Build(TSessionViewer *gui)
Build session frame.
 
TGTextButton * fBtnNewQuery
 
TGTextButton * fApplyLogLevel
 
void OnBtnVerifyDSet()
Verify that the files in the selected dataset are present on the cluster.
 
void OnBtnUploadDSet()
Open Upload Dataset dialog.
 
TGTextBuffer * fCommandBuf
 
void OnBtnDownClicked()
Move selected package entry one position down in the list.
 
void OnBtnUpClicked()
Move selected package entry one position up in the list.
 
TSessionFrame(TGWindow *parent, Int_t w, Int_t h)
Constructor.
 
void OnStartupEnable(Bool_t on)
Handle multiple selection check button.
 
void OnBtnGetQueriesClicked()
Get list of queries from current Proof server and populate the list tree.
 
TGTextView * fInfoTextView
 
TGCheckButton * fChkMulti
 
void OnMultipleSelection(Bool_t on)
Handle multiple selection check button.
 
void UpdateListOfDataSets()
Update list of dataset present on the cluster.
 
TGTextEntry * fTxtParallel
 
TGTextButton * fBtnRemove
 
void OnClearPackages()
Clear (disable) all packages in the current session.
 
void ShutdownSession()
Shutdown current session.
 
TGTextButton * fBtnVerifyDSet
 
TGListTree * fDataSetTree
 
void ProofInfos()
Display information on current session.
 
TGTextButton * fBtnGetQueries
 
void SetLocal(Bool_t local=kTRUE)
Switch widgets status/visibility for local/remote sessions.
 
void OnApplyParallel()
Apply selected number of workers on current Proof session.
 
TGTextButton * fApplyParallel
 
void CheckAutoEnPack(Bool_t checked=kTRUE)
 
void SetLogLevel(Int_t log)
 
void OnEnablePackages()
Enable selected package(s) in the current session.
 
Dialog used to display session logs from the session viewer.
 
void LoadFile(const char *file)
Load a file in the editor.
 
void LoadBuffer(const char *buffer)
Load a text buffer in the editor.
 
void AddBuffer(const char *buffer)
Load a text buffer in the editor.
 
~TSessionOutputFrame() override
Destructor.
 
TGLVContainer * fLVContainer
 
void Build(TSessionViewer *gui)
Build query output information frame.
 
void RemoveAll() override
Remove all frames from composite frame.
 
void OnElementDblClicked(TGLVEntry *entry, Int_t btn, Int_t x, Int_t y)
Handle double-clicks on list view items.
 
TGLVContainer * GetLVContainer()
 
void OnElementClicked(TGLVEntry *entry, Int_t btn, Int_t x, Int_t y)
Handle mouse clicks on list view items.
 
void AddObject(TObject *obj)
Add object to output list view.
 
TSessionOutputFrame(TGWindow *parent, Int_t w, Int_t h)
Constructor.
 
void UpdateInfos()
Update query information (header) text view.
 
TGTextButton * fBtnShowLog
 
void Build(TSessionViewer *gui)
Build query information frame.
 
TRootEmbeddedCanvas * fECanvas
 
void UpdateHistos(TList *objs)
Update feedback histograms.
 
void Progress(Long64_t total, Long64_t processed)
Update progress bar and status labels.
 
void Feedback(TList *objs)
Feedback function connected to Feedback signal.
 
void OnBtnSubmit()
Submit query.
 
void ProgressLocal(Long64_t total, Long64_t processed)
Update progress bar and status labels.
 
TEditQueryFrame * GetQueryEditFrame() const
 
TGTextButton * fBtnSubmit
 
void OnBtnFinalize()
Finalize query.
 
void OnBtnStop()
Stop processing query.
 
void Modified(Bool_t mod=kTRUE)
Notify changes in query editor settings.
 
void IndicateStop(Bool_t aborted)
Indicate that Cancel or Stop was clicked.
 
~TSessionQueryFrame() override
Destructor.
 
TGTextButton * fBtnRetrieve
 
void ResetProgressDialog(const char *selec, Int_t files, Long64_t first, Long64_t entries)
Reset progress frame information fields.
 
TGTextView * fInfoTextView
 
void UpdateButtons(TQueryDescription *desc)
Update buttons state for the current query status.
 
void OnBtnShowLog()
Show query log.
 
TCanvas * GetStatsCanvas() const
 
void OnBtnAbort()
Abort processing query.
 
TSessionQueryFrame(TGWindow *parent, Int_t w, Int_t h)
Constructor.
 
TGTextButton * fBtnFinalize
 
void OnBtnRetrieve()
Retrieve query.
 
TSessionServerFrame(TGWindow *parent, Int_t w, Int_t h)
Constructor.
 
TGTextButton * fBtnConnect
 
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override
Process messages for session server frame.
 
void OnBtnAddClicked()
Add newly created session configuration in the list of sessions.
 
void OnBtnDeleteClicked()
Delete selected session configuration (remove it from the list).
 
~TSessionServerFrame() override
Destructor.
 
void SetAddEnabled(Bool_t on=kTRUE)
 
void SetLogLevel(Int_t log)
 
TGNumberEntry * fLogLevel
 
void SetConnectEnabled(Bool_t on=kTRUE)
 
void OnBtnNewServerClicked()
Reset server configuration fields.
 
TGTextEntry * fTxtAddress
 
void OnConfigFileClicked()
Browse configuration files.
 
TGCompositeFrame * fFrmNewServer
 
void Build(TSessionViewer *gui)
Build server configuration frame.
 
void SettingsChanged()
Settings have changed, update GUI accordingly.
 
void OnBtnConnectClicked()
Connect to selected server.
 
TGTextEntry * fTxtUsrName
 
Bool_t HandleExpose(Event_t *event) override
Handle expose event in server frame.
 
void Update(TSessionDescription *desc)
Update fields with values from session description desc.
 
Widget used to manage PROOF or local sessions, PROOF connections, queries construction and results ha...
 
void EditQuery()
Edit currently selected query.
 
TSessionQueryFrame * GetQueryFrame() const
 
void ShowPackages()
Query the list of uploaded packages from proof and display it into a new text window.
 
TSessionOutputFrame * fOutputFrame
 
TGListTree * GetSessionHierarchy() const
 
const TGPicture * fQueryDiscon
 
void SetBusy(Bool_t busy=kTRUE)
 
const TGPicture * GetProofConPict() const
 
TGPopupMenu * fCascadeMenu
 
TGPopupMenu * GetOptionsMenu() const
 
void StartViewer()
Start TreeViewer from selected TChain.
 
TGHProgressBar * fConnectProg
 
void LogMessage(const char *msg, Bool_t all)
Load/append a log msg in the log frame.
 
void UpdateListOfProofs()
Update list of existing Proof sessions.
 
const TGPicture * fQueryCon
 
TGListTreeItem * fSessionItem
 
void UpdateListOfPackages()
Update the list of packages.
 
void OnListTreeClicked(TGListTreeItem *entry, Int_t btn, Int_t x, Int_t y)
Handle mouse clicks in list tree.
 
TSessionFrame * GetSessionFrame() const
 
virtual void Build()
Build main session viewer frame and subframes.
 
TContextMenu * GetContextMenu() const
 
void MyHandleMenu(Int_t)
Handle session viewer custom popup menus.
 
TSessionDescription * fActDesc
 
Bool_t HandleTimer(TTimer *) override
Handle animation timer.
 
void ReadConfiguration(const char *filename=nullptr)
Read configuration file and populate list of sessions list of queries and list of packages.
 
void ShowInfo(const char *txt)
Display text in status bar.
 
TGPopupMenu * GetCascadeMenu() const
 
const TGPicture * fBaseIcon
 
void ShowEnabledPackages()
Query list of enabled packages from proof and display it into a new text window.
 
TSessionViewer(const char *title="ROOT Session Viewer", UInt_t w=550, UInt_t h=320)
Main Session viewer constructor.
 
void QueryResultReady(char *query)
Handle signal "query result ready" coming from Proof session.
 
TGListTreeItem * GetSessionItem() const
 
void OnListTreeDoubleClicked(TGListTreeItem *entry, Int_t btn)
Handle mouse double clicks in list tree (connect to server).
 
Bool_t IsAutoSave() const
 
const TGPicture * GetQueryConPict() const
 
const TGPicture * fProofCon
 
TSessionFrame * fSessionFrame
 
TGPopupMenu * fSessionMenu
 
TSessionInputFrame * fInputFrame
 
void CloseWindow() override
Close main Session Viewer window.
 
TGStatusBar * GetStatusBar() const
 
void CleanupSession()
Clean-up Proof session.
 
TSessionDescription * GetActDesc() const
 
void EnableTimer()
Enable animation timer.
 
void WriteConfiguration(const char *filename=nullptr)
Save actual configuration in config file "filename".
 
TGListTree * fSessionHierarchy
 
void UpdateListOfSessions()
Update list of existing Proof sessions.
 
TSessionLogView * fLogWindow
 
TContextMenu * fContextMenu
 
void SetChangePic(Bool_t change)
 
const TGPicture * GetProofDisconPict() const
 
TGPopupMenu * fOptionsMenu
 
TGHProgressBar * GetConnectProg() const
 
void ShowLog(const char *queryref)
Display the content of the temporary log file for queryref into a new text window.
 
TSessionServerFrame * fServerFrame
 
~TSessionViewer() override
Destructor.
 
void OnCascadeMenu()
Handle feedback histograms configuration menu.
 
const TGPicture * fProofDiscon
 
void DisableTimer()
Disable animation timer.
 
void DeleteQuery()
Delete query from list tree and ask user if they want to delete it also from server.
 
void Terminate()
Terminate Session : save configuration, clean temporary files and close Proof connections.
 
TSessionQueryFrame * fQueryFrame
 
TList * GetSessions() const
 
void ShowStatus()
Retrieve and display Proof status.
 
void ChangeRightLogo(const char *name)
Change the right logo (used for animation).
 
void StartupMessage(char *msg, Bool_t stat, Int_t curr, Int_t total)
Handle startup message (connection progress) coming from Proof session.
 
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t) override
Handle messages send to the TSessionViewer object.
 
void ResetSession()
Reset Proof session.
 
TGPicture * fRightIconPicture
 
TString & Insert(Ssiz_t pos, const char *s)
 
const char * Data() const
 
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
 
TString & Remove(Ssiz_t pos)
 
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
 
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
 
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const
 
virtual Int_t RedirectOutput(const char *name, const char *mode="a", RedirectHandle_t *h=nullptr)
Redirect standard output (stdout, stderr) to the specified file.
 
virtual TTime Now()
Get current time in milliseconds since 0:00 Jan 1 1995.
 
virtual Int_t Exec(const char *shellcmd)
Execute a command.
 
virtual int GetSysInfo(SysInfo_t *info) const
Returns static system info, like OS type, CPU type, number of CPUs RAM size, etc into the SysInfo_t s...
 
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
 
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.
 
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.
 
virtual const char * HostName()
Return the system's host name.
 
virtual const char * WorkingDirectory()
Return working directory.
 
virtual const char * HomeDirectory(const char *userName=nullptr)
Return the user's home directory.
 
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
 
virtual int Unlink(const char *name)
Unlink, i.e.
 
virtual UserGroup_t * GetUserInfo(Int_t uid)
Returns all user info in the UserGroup_t structure.
 
virtual const char * TempDirectory() const
Return a user configured or systemwide directory to create temporary files in.
 
Basic time type with millisecond precision.
 
Handles synchronous and a-synchronous timer events.
 
virtual void TurnOff()
Remove timer from system timer list.
 
virtual void TurnOn()
Add the timer to the system timer list.
 
void Reset()
Reset the timer.
 
TVirtualPad is an abstract base class for the Pad and Canvas classes.
 
virtual void SetEditable(Bool_t mode=kTRUE)=0
 
virtual TVirtualPad * cd(Int_t subpadnumber=0)=0