40 const char *
url =
"proof://localhost:11093",
47 Printf(
"runProof: creating the temporary directory"
48 " for the tutorial (%s) ... ",
tutdir.Data());
50 Printf(
"runProof: could not assert / create the temporary directory"
51 " for the tutorial (%s)",
tutdir.Data());
59 Printf(
"runProof: could not start/attach a PROOF session");
70 Printf(
"runProof: could not create files for sessions tags");
86 if (!
ql ||
ql->GetSize() <= 0) {
87 Printf(
"runProof: no queries to be finalized");
95 Printf(
"runProof: root.exe not found: please check the environment!");
108 args.ReplaceAll(
"(",
" ");
109 args.ReplaceAll(
")",
" ");
110 args.ReplaceAll(
",",
" ");
113 if (!args.Tokenize(
act, from,
" ")) {
115 Printf(
"runProof: action not found: check your arguments (%s)",
what);
122 if (
act ==
"simple") {
124 }
else if (
act ==
"h1") {
126 }
else if (
act ==
"pythia8") {
130 Printf(
"runProof: unknown tutorial: %s",
what);
143 if (
qr->IsDone() && !
lasttag.CompareTo(
qr->GetTitle()) &&
144 !
sel.CompareTo(
qr->GetSelecImp()->GetTitle())) {
149 if (
qa->GetEntriesFast() > 0) {
151 if (
qa->GetEntriesFast() > 1) {
153 Printf(
"finalizeProof: queries completed for analysis '%s'",
act.Data());
154 for (
Int_t k = 0; k <
qa->GetEntriesFast(); k++) {
159 char *
answer =
Getline(
"finalizeProof: enter the one you would like to finalize? [0] ");
166 sn.Remove(
sn.Length()-1);
172 Printf(
"finalizeProof: choice must be in [0,%d] ('Q' to quit)",
173 qa->GetEntriesFast()-1);
180 Printf(
"finalizeProof: choice must be a number in [0,%d] ('Q' to quit) (%s)",
181 qa->GetEntriesFast()-1,
sn.Data());
196 Printf(
"runProof: no queries to be finalized for analysis '%s'",
act.Data());
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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 Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t sel
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 r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize fs
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
void Printf(const char *fmt,...)
Formats a string in a circular formatting buffer and prints the string.
R__EXTERN TSystem * gSystem
Utility class to draw objects in the feedback list during queries.
Collectable string class.
This class controls a Parallel ROOT Facility, PROOF, cluster.
Int_t Retrieve(Int_t query, const char *path=0)
Send retrieve request for the qry-th query in fQueries.
Long64_t Finalize(Int_t query=-1, Bool_t force=kFALSE)
Finalize the qry-th query in fQueries.
virtual TList * GetListOfQueries(Option_t *opt="")
Ask the master for the list of queries.
A container class for query results.
virtual const char * Getenv(const char *env)
Get environment variable.
virtual int mkdir(const char *name, Bool_t recursive=kFALSE)
Make a file system directory.
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
virtual char * Which(const char *search, const char *file, EAccessMode mode=kFileExists)
Find location of file in a search path.
virtual TString GetDirName(const char *pathname)
Return the directory name in pathname.
virtual const char * TempDirectory() const
Return a user configured or systemwide directory to create temporary files in.
Attaches to a PROOF session, possibly at the indicated URL.