fProductionMode(0),
fRunNumbers(),
fExecutable(),
+ fExecutableCommand(),
fArguments(),
fAnalysisMacro(),
fAnalysisSource(),
fProductionMode(0),
fRunNumbers(),
fExecutable(),
+ fExecutableCommand(),
fArguments(),
fAnalysisMacro(),
fAnalysisSource(),
fProductionMode(other.fProductionMode),
fRunNumbers(other.fRunNumbers),
fExecutable(other.fExecutable),
+ fExecutableCommand(other.fExecutableCommand),
fArguments(other.fArguments),
fAnalysisMacro(other.fAnalysisMacro),
fAnalysisSource(other.fAnalysisSource),
fProductionMode = other.fProductionMode;
fRunNumbers = other.fRunNumbers;
fExecutable = other.fExecutable;
+ fExecutableCommand = other.fExecutableCommand;
fArguments = other.fArguments;
fAnalysisMacro = other.fAnalysisMacro;
fAnalysisSource = other.fAnalysisSource;
fMaxMergeFiles = 100;
fRunNumbers = "";
fExecutable = "analysis.sh";
+ fExecutableCommand = "root -b -q";
fArguments = "";
fAnalysisMacro = "myAnalysis.C";
fAnalysisSource = "";
out << "which aliroot" << endl;
out << "echo \"=========================================\"" << endl << endl;
// if (TestBit(AliAnalysisGrid::kTest)) out << "root ";
- out << "root -b -q ";
+ out << fExecutableCommand << " ";
out << fAnalysisMacro.Data() << endl << endl;
out << "echo \"======== " << fAnalysisMacro.Data() << " finished ========\"" << endl;
}
virtual void AddRunNumber(const char *run);
virtual void AddDataFile(const char *lfn);
virtual void SetExecutable(const char *name="analysis.sh") {fExecutable = name;}
+ virtual void SetExecutableCommand(const char *command="root -b -q") {fExecutableCommand = command;}
virtual void SetArguments(const char *name="") {fArguments = name;}
virtual void SetAnalysisMacro(const char *name="myAnalysis.C") {fAnalysisMacro = name;}
virtual void SetAnalysisSource(const char *name="myAnalysisClass.cxx") {fAnalysisSource = name;}
Int_t fProductionMode; // Production mode (0-off, 1-on)
TString fRunNumbers; // List of runs to be processed
TString fExecutable; // Executable script for AliEn job
+ TString fExecutableCommand; // Command(s) to be executed in the executable script
TString fArguments; // Arguments for the executable script
TString fAnalysisMacro; // Root macro steering the analysis
TString fAnalysisSource; // User analysis implementation (.cxx) file(s)
TObjArray *fInputFiles; // List of input files to be processed by the job
TObjArray *fPackages; // List of packages to be used
- ClassDef(AliAnalysisAlien, 6) // Class providing some AliEn utilities
+ ClassDef(AliAnalysisAlien, 7) // Class providing some AliEn utilities
};
#endif