1 A Simplified Way of Defining Analysis Trains
2 ============================================
7 The code in this directory presents a simplified way of defining
8 an analysis train. The idea is that the user defines a class that
9 derives from TrainSetup:
11 #include "TrainSetup.C"
13 class MyTrain : public TrainSetup
16 MyTrain(const char* name="myTest") : TrainSetup(name)
19 void CreateTasks(AliAnalysisManager* mgr)
21 LoadLibrary("MyAnalysis");
23 gROOT->Macro("AddTaskMyAnalysis.C");
25 const char* ClassName() const { return "MyTrain"; }
28 which then can be executed using either the program "runTrain":
30 runTrain --class=MyTrain --name=myTrain --url=URL [OPTIONS]
32 or the script "RunTrain.C":
35 Root> .L $ALICE_ROOT/PWGLF/FORWARD/trains/RunTrain.C
36 Root> RunTrain("myTrain", "MyTrain", URL, OPTIONS)
38 The execution environment and input is specified in the URL
39 string, while general parameters for the job (including the
40 task(s)) can be specified in OPTIONS.
46 TrainSetup - Base class
47 Helper - Base class for URL
48 LocalHelper - Local analysis URLs
49 ProofHelper - Proof URLs
50 LiteHelper - Proof-lite URLs
51 AAFHelper - AAF URLs (no AliEn)
52 PluginHelper - Base class for URLs
53 AAFPluginHelper - AAF URLs (w/AliEn)
54 GridHelper - Grid URLs
55 Option - Option handling
56 AvailableSoftware - Find SW on AAF/Grid
57 ChainBuilder - Build local/lite chain
58 OutputUtilities - Special output
59 ParUtilities - PAR utilities
60 RunTrain - Script to run train
61 MyAnalysis - Example task
62 MyTrain - Example train
63 QATrain - Full QA train example
64 CreateFileCollection - Utility
65 trainMain - The runTrain utility
71 LocalWords: TrainSetup RunTrain MyTrain myTrain PWGLF aliroot url QA
72 LocalWords: runTrain AddTaskMyAnalysis AliAnalysisManager gROOT AAF
73 LocalWords: CreateTasks LoadLibrary MyAnalysis const ClassName AliEn
74 LocalWords: LocalHelper ProofHelper LiteHelper AAFHelper GridHelper
75 LocalWords: PluginHelper AAFPluginHelper AvailableSoftware QATrain
76 LocalWords: ChainBuilder OutputUtilities ParUtilities trainMain
77 LocalWords: CreateFileCollection