AliPhysics  aaf9c62 (aaf9c62)
GridTerminate.C File Reference

Worker script to run terminate part for Grid. More...

#include <TString.h>
#include <TSystem.h>
#include <TGrid.h>
#include <TFile.h>
#include <TObjArray.h>
#include <TObjString.h>
#include <TError.h>
#include <TEnv.h>
#include <TROOT.h>
#include <AliAnalysisManager.h>
#include <AliAnalysisAlien.h>
#include <fstream>
Include dependency graph for GridTerminate.C:

Go to the source code of this file.

Functions

Bool_t LoadLib (const char *libName)
 
Bool_t LoadPar (const char *parName)
 
Bool_t LoadHandler (const TString &name)
 
Bool_t Setup (const TString &name, const TString &libs, const TString &pars, const TString &srcs, Bool_t local=false, Bool_t localLibsNotPar=true)
 
Bool_t GridTerminate (const TString &name, const TString &libs, const TString &pars, const TString &srcs, Bool_t local=false, Bool_t localLibsNotPar=true)
 

Detailed Description

Worker script to run terminate part for Grid.

Author
Christian Holm Christensen cholm.nosp@m.@mas.nosp@m.ter.h.nosp@m.ehi..nosp@m.nbi.d.nosp@m.k
Date
Wed Jan 23 21:22:28 2013

Definition in file GridTerminate.C.

Function Documentation

Bool_t GridTerminate ( const TString name,
const TString libs,
const TString pars,
const TString srcs,
Bool_t  local = false,
Bool_t  localLibsNotPar = true 
)

Submit the terminate job

Parameters
nameName of the job
libsLibraries to load (space separated string)
parsPARs to load (space separated string)
srcsSources to load (space separated string)
localIf true, run local terminate job on already merged and downloaded files.
localLibsNotParif local is true and this is true, then we load the corresponding locally compiled library for each specified PAR file.
Returns
true on success

Definition at line 236 of file GridTerminate.C.

Bool_t LoadHandler ( const TString name)

Load the analysis handler if needed

Parameters
name
Returns

Definition at line 67 of file GridTerminate.C.

Referenced by Setup().

Bool_t LoadLib ( const char *  libName)

Load a library

Parameters
libNameLibrary name
Returns
true on success

Definition at line 34 of file GridTerminate.C.

Referenced by Setup().

Bool_t LoadPar ( const char *  parName)

Load a PAR

Parameters
parNamePAR file name
Returns
true on success

Definition at line 50 of file GridTerminate.C.

Referenced by Setup().

Bool_t Setup ( const TString name,
const TString libs,
const TString pars,
const TString srcs,
Bool_t  local = false,
Bool_t  localLibsNotPar = true 
)

Setup our manager et al

Parameters
nameName of the job
libsLibraries to load (space separated string)
parsPARs to load (space separated string)
srcsSources to load (space separated string)
localIf true, run local terminate job on already merged and downloaded files.
localLibsNotParif local is true and this is true, then we load the corresponding locally compiled library for each specified PAR file.
Returns
true on success

Definition at line 107 of file GridTerminate.C.

Referenced by GridTerminate().