![]() |
AliPhysics
35e5fca (35e5fca)
|
![]() |
Files | |
file | AAFPluginRailway.C |
AAF (using AliAnalysisAlien) analysis helper. | |
file | AAFRailway.C |
AAF analysis helper. | |
file | GridDownload.C |
Helper script to download results from the Grid. | |
file | GridRailway.C |
Grid Analysis Railway. | |
file | GridTerminate.C |
Worker script to run terminate part for Grid. | |
file | GridWatch.C |
Script to watch master jobs and automatically submit terminate jobs. | |
file | LiteRailway.C |
Proof-Lite analysis helper. | |
file | LocalRailway.C |
Local analysis helper. | |
file | PluginRailway.C |
Base class for helpers using the AliAnalysisAlien plugin. | |
file | ProofRailway.C |
file | GridTerminate.C |
Worker script to run terminate part for Grid. | |
file | Railway.C |
Base class for analysis helpers. | |
file | VAFRailway.C |
AAF analysis helper. | |
Classes | |
struct | AAFPluginRailway |
struct | AAFRailway |
struct | GridRailway |
struct | LiteRailway |
struct | LocalRailway |
struct | PluginRailway |
struct | ProofRailway |
struct | Railway |
struct | VAFRailway |
Functions | |
void | CreateFileCollection (const TString &dir="/data/alice/data/ppb/LHC12g/pass1/188359/", const TString &tN="esdTree", const TString &pa="AliESD*", Bool_t mc=false, Bool_t recursive=false)) |
TString | CacheFileName (const TString &name, const TString &ext, Bool_t merge=false) |
Bool_t | CheckCacheFile (const TString &name, const TString &ext, Bool_t merge=false) |
void | RemoveCacheFile (const TString &name, const TString &ext, Bool_t merge=false) |
TObjArray * | ReadCacheFile (const TString &name, const TString &ext, bool merge=false) |
TObjArray * | ReadJobIDs (const TString &name, bool merge=false) |
TObjArray * | ReadStages (const TString &name, bool merge=false) |
Bool_t | ParseJobIDs (const TObjArray *jobIds, TArrayI &ret) |
Bool_t | ParseState (const TString &status, TString &out) |
Bool_t | GetJobState (Int_t jobId, TString &out) |
Bool_t | GetJobStates (const TArrayI &jobs, TObjArray &states) |
Bool_t | WaitForJobs (TArrayI &jobs, TObjArray *stages, Int_t delay, Bool_t batch) |
void | GridWatch (const TString &name, Bool_t batch=false, UShort_t delay=5 *60) |
Create token name
name | Name |
ext | Extension |
merge | Merge state or not |
Definition at line 37 of file GridWatch.C.
Referenced by CheckCacheFile(), GridWatch(), and RemoveCacheFile().
Check if we have a particular file
name | Base name |
ext | Extension |
merge | Merging stage or not |
Definition at line 54 of file GridWatch.C.
Referenced by GridWatch().
void CreateFileCollection | ( | const TString & | dir = "/data/alice/data/ppb/LHC12g/pass1/188359/" , |
const TString & | tN = "esdTree" , |
||
const TString & | pa = "AliESD*" , |
||
Bool_t | mc = false , |
||
Bool_t | recursive = false |
||
) |
Create a file collection in a ROOT file
dir | Input directory |
tN | Tree name |
pa | File name pattern |
mc | If true, simulations |
recursive | Scan recursively |
Definition at line 13 of file CreateFileCollection.C.
Get the job state
jobId | Job status |
out | Output status string |
Definition at line 261 of file GridWatch.C.
Get the job states
jobs | List of job IDs |
states | On return the states |
Definition at line 305 of file GridWatch.C.
Referenced by WaitForJobs().
Watch Grid for termination of main job, and submit merging jobs as needed.
name | Name of the job |
batch | If true, do not prompt |
delay | Delay between updates in seconds |
Definition at line 514 of file GridWatch.C.
Parse the job IDs into an array of integers
jobIds | List of jobs |
ret | Return array |
Definition at line 146 of file GridWatch.C.
Referenced by GridWatch().
Parse string representing status and return human-readable string
status | Return from ps command |
out | Output |
Definition at line 172 of file GridWatch.C.
Referenced by GetJobState(), and GetJobStates().
Read one line of text from file and return tokens.
name | Base name |
ext | Extension |
merge | If true append "_merge" to name |
Definition at line 87 of file GridWatch.C.
Referenced by ReadJobIDs(), and ReadStages().
Read list of job IDs from file
name | Base name |
merge | If true append "_merge" to name |
Definition at line 116 of file GridWatch.C.
Referenced by GridWatch().
Read list of job stages from file
name | Base name |
merge | If true append "_merge" to name |
Definition at line 131 of file GridWatch.C.
Referenced by GridWatch().
Remove a token file
name | Base name |
ext | Extension |
merge | Merging stage or not |
Definition at line 69 of file GridWatch.C.
Referenced by GridWatch().
Wait of jobs to finish
jobs | List of jobs |
stages | Stages |
delay | Delay for check |
batch | If true, do not prompt |
Definition at line 435 of file GridWatch.C.
Referenced by GridWatch().