fIncludePath(),
fCloseSE(),
fFriendChainName(),
+ fJobTag(),
fInputFiles(0),
fPackages(0)
{
fIncludePath(),
fCloseSE(),
fFriendChainName(),
+ fJobTag(),
fInputFiles(0),
fPackages(0)
{
fIncludePath(other.fIncludePath),
fCloseSE(other.fCloseSE),
fFriendChainName(other.fFriendChainName),
+ fJobTag(other.fJobTag),
fInputFiles(0),
fPackages(0)
{
fIncludePath = other.fIncludePath;
fCloseSE = other.fCloseSE;
fFriendChainName = other.fFriendChainName;
+ fJobTag = other.fJobTag;
if (other.fInputFiles) {
fInputFiles = new TObjArray();
TIter next(other.fInputFiles);
sjdl.ReplaceAll("\n\n", "\n");
sjdl.ReplaceAll("OutputDirectory", "OutputDir");
sjdl += "JDLVariables = \n{\n \"Packages\",\n \"OutputDir\"\n};\n";
- sjdl.Prepend("JobTag = \"Automatically generated analysis JDL\";\n");
+ sjdl.Prepend(Form("Jobtag = {\n \"comment:%s\";\n}\n", fJobTag.Data()));
index = sjdl.Index("JDLVariables");
if (index >= 0) sjdl.Insert(index, "\n# JDL variables\n");
// Write jdl to file
fOutputFiles = ""; // Like "AliAODs.root histos.root"
fInputFormat = "xml-single";
fJDLName = "analysis.jdl";
+ fJobTag = "Automatically generated analysis JDL";
fMergeExcludes = "";
}
virtual void SetAdditionalLibs(const char *list) {fAdditionalLibs = list;}
virtual void SetPrice(Int_t price=1) {fPrice = price;}
virtual void SetRunRange(Int_t min, Int_t max) {fRunRange[0] = min; fRunRange[1] = max;}
+ virtual void SetJobTag(const char *tag="") {fJobTag = tag;}
virtual void SetNrunsPerMaster(Int_t nruns=1) {fNrunsPerMaster = nruns;}
virtual void SetMaxMergeFiles(Int_t nfiles) {fMaxMergeFiles = nfiles;}
virtual void SetSplitMode(const char *type="se") {fSplitMode = type;}
TString fIncludePath; // Include path
TString fCloseSE; // Preffered storage element. Taken from alien_CLOSE_SE environment.
TString fFriendChainName; // File name to construct friend chain (for AOD)
+ TString fJobTag; // Job tag
TObjArray *fInputFiles; // List of input files to be processed by the job
TObjArray *fPackages; // List of packages to be used
virtual void SetAnalysisSource(const char *name="myAnalysisClass.cxx") = 0;
virtual void SetAdditionalLibs(const char *list) = 0;
virtual void SetPrice(Int_t price=1) = 0;
+ virtual void SetJobTag(const char *tag="") = 0;
virtual void SetSplitMode(const char *type="se") = 0;
virtual void SetSplitMaxInputFileNumber(Int_t nfiles=100) = 0;
virtual void SetAPIVersion(const char *version) = 0;