Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TAlienJDL.h
Go to the documentation of this file.
1// @(#)root/alien:$Id$
2// Author: Jan Fiete Grosse-Oetringhaus 28/9/2004
3// Lucia.Jancurova@cern.ch Slovakia 2007
4/*************************************************************************
5 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TAlienJDL
13#define ROOT_TAlienJDL
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// TAlienJDL //
18// //
19// Class which creates JDL files for the alien middleware. //
20// //
21//////////////////////////////////////////////////////////////////////////
22
23#include "TGridJDL.h"
24
25
26class TAlienJDL : public TGridJDL {
27
28public:
30 virtual ~TAlienJDL() { }
31
32 virtual void SetExecutable(const char *value=0, const char *description=0);
33 virtual void SetArguments(const char *value=0, const char *description=0);
34 virtual void SetEMail(const char *value=0, const char *description=0);
35 virtual void SetOutputDirectory(const char *value=0, const char *description=0);
36 virtual void SetPrice(UInt_t price=1, const char *description=0);
37 virtual void SetMergedOutputDirectory(const char *value=0, const char *description=0);
38 virtual void SetTTL(UInt_t ttl=72000, const char *description=0);
39 virtual void SetJobTag(const char *jobtag=0, const char *description=0);
40 virtual void SetInputDataListFormat(const char *format="xml-single", const char *description=0);
41 virtual void SetInputDataList(const char *list="collection.xml", const char *description=0);
42
43 virtual void SetSplitMode(const char *value, UInt_t maxnumberofinputfiles=0,
44 UInt_t maxinputfilesize=0, const char *d1=0, const char *d2=0,
45 const char *d3=0);
46 virtual void SetSplitModeMaxNumOfFiles(UInt_t maxnumberofinputfiles=0, const char *description=0);
47 virtual void SetSplitModeMaxInputFileSize(UInt_t maxinputfilesize=0, const char *description=0);
48 virtual void SetSplitArguments(const char *splitarguments=0, const char *description=0);
49 virtual void SetValidationCommand(const char *value, const char *description=0);
50 virtual void SetMaxInitFailed(Int_t maxInitFailed, const char *description=0);
51
52 virtual void SetOwnCommand(const char *command=0, const char *value=0, const char *description=0);
53
54 virtual void AddToInputSandbox(const char *value=0, const char *description=0);
55 virtual void AddToOutputSandbox(const char *value=0, const char *description=0);
56 virtual void AddToInputData(const char *value=0, const char *description=0);
57 virtual void AddToInputDataCollection(const char *value=0, const char *description=0);
58 virtual void AddToRequirements(const char *value=0, const char *description=0);
59 virtual void AddToPackages(const char *name/*="AliRoot"*/, const char *version/*="newest"*/,
60 const char *type/*="VO_ALICE"*/, const char *description=0);
61 virtual void AddToPackages(const char *name/*="VO_ALICE@AliRoot::newest"*/,
62 const char *description=0);
63 virtual void AddToOutputArchive(const char *value=0, const char *description=0);
64 virtual void AddToReqSet(const char *key, const char *value=0);
65
66 virtual void AddToMerge(const char *filenameToMerge/*="histograms.root"*/,
67 const char *jdlToSubmit/*="/alice/jdl/mergerootfile.jdl"*/,
68 const char *mergedFile/*="histograms-merged.root"*/,
69 const char *description=0);
70 virtual void AddToMerge(const char *merge="histo.root:/alice/jdl/mergerootfile.jdl:histo-merged.root",
71 const char *description=0);
72
74 virtual void Parse(const char *filename);
75 void Simulate();
76
78
79 ClassDef(TAlienJDL,1) // Creates JDL files for the AliEn middleware
80};
81
82#endif
bool Bool_t
Definition RtypesCore.h:63
int Int_t
Definition RtypesCore.h:45
unsigned int UInt_t
Definition RtypesCore.h:46
#define ClassDef(name, id)
Definition Rtypes.h:337
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 value
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 Atom_t Atom_t Time_t format
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 Atom_t Atom_t Time_t type
char name[80]
Definition TGX11.cxx:110
virtual void SetSplitArguments(const char *splitarguments=0, const char *description=0)
Sets the split.
virtual void SetMaxInitFailed(Int_t maxInitFailed, const char *description=0)
Sets the Maxium init failed.
virtual void SetOutputDirectory(const char *value=0, const char *description=0)
Sets OutputDirectory.
Definition TAlienJDL.cxx:67
virtual void SetOwnCommand(const char *command=0, const char *value=0, const char *description=0)
Sets the Own Command.
virtual void AddToMerge(const char *filenameToMerge, const char *jdlToSubmit, const char *mergedFile, const char *description=0)
Adds a package name to the package section.
virtual void Parse(const char *filename)
fills the TAlienJDL from inputfile (should be AliEn JDL file)
virtual void SetInputDataList(const char *list="collection.xml", const char *description=0)
Sets InputDataList name.
void Simulate()
Not implemented.
virtual void AddToRequirements(const char *value=0, const char *description=0)
Adds a requirement.
virtual void SetTTL(UInt_t ttl=72000, const char *description=0)
To inform AliEn master about estimated Time-To-Live of included nodes.
virtual void AddToOutputArchive(const char *value=0, const char *description=0)
Adds an output archive definition.
virtual void SetSplitModeMaxInputFileSize(UInt_t maxinputfilesize=0, const char *description=0)
Sets the SplitMaxInputFileSize.
virtual ~TAlienJDL()
Definition TAlienJDL.h:30
virtual void SetValidationCommand(const char *value, const char *description=0)
Sets the validation command.
virtual void SetEMail(const char *value=0, const char *description=0)
Sets eMail address.
Definition TAlienJDL.cxx:56
virtual void SetPrice(UInt_t price=1, const char *description=0)
Sets OutputDirectory.
Definition TAlienJDL.cxx:89
virtual void SetInputDataListFormat(const char *format="xml-single", const char *description=0)
Sets InputDataListFormat - can be "xml-single" or "xml-multi".
virtual void SetSplitMode(const char *value, UInt_t maxnumberofinputfiles=0, UInt_t maxinputfilesize=0, const char *d1=0, const char *d2=0, const char *d3=0)
Sets the split mode.
virtual void AddToOutputSandbox(const char *value=0, const char *description=0)
Adds a file to the output sandbox.
virtual void AddToInputSandbox(const char *value=0, const char *description=0)
Adds a file to the input sandbox.
virtual void AddToReqSet(const char *key, const char *value=0)
Adds a value to a key value which hosts a set of values.
virtual void AddToPackages(const char *name, const char *version, const char *type, const char *description=0)
Adds a package name to the package section.
virtual void AddToInputDataCollection(const char *value=0, const char *description=0)
Adds a file to the input data collection.
virtual void SetSplitModeMaxNumOfFiles(UInt_t maxnumberofinputfiles=0, const char *description=0)
Sets the SplitMaxNumOfFiles.
virtual void SetMergedOutputDirectory(const char *value=0, const char *description=0)
Sets merged OutputDirectory.
Definition TAlienJDL.cxx:78
virtual void SetExecutable(const char *value=0, const char *description=0)
Sets the executable.
Definition TAlienJDL.cxx:34
Bool_t SubmitTest()
Tests the submission of a simple job.
virtual void AddToInputData(const char *value=0, const char *description=0)
Adds a file to the input data.
virtual void SetArguments(const char *value=0, const char *description=0)
Sets the arguments.
Definition TAlienJDL.cxx:45
virtual void SetJobTag(const char *jobtag=0, const char *description=0)
Sets Job Tag.
void SetValueByCmd(TString cmd, TString value)
Set the specified value to the specified command.
Basic string class.
Definition TString.h:139