TENDER becomes Tender, removing .so
[u/mrichter/AliRoot.git] / PWGDQ / dielectron / macrosLMEE / testing / runGridPbPb.C
CommitLineData
6b152abb 1//Replace User Task with your Add Task and appropriate parameters
2
3Bool_t SetupPar(const char *parfile);
4
5void runGridPbPb()
6{
7 // Load common libraries
230b7aff 8 gSystem->Load("libCore");
9 gSystem->Load("libTree");
10 gSystem->Load("libGeom");
11 gSystem->Load("libVMC");
12 gSystem->Load("libPhysics");
13 gSystem->Load("libMinuit");
14 gSystem->Load("libGui");
15 gSystem->Load("libXMLParser");
16 gSystem->Load("libSTEERBase");
17 gSystem->Load("libESD");
18 gSystem->Load("libCDB");
19 gSystem->Load("libAOD");
20 gSystem->Load("libANALYSIS");
21 gSystem->Load("libANALYSISalice");
6b152abb 22
23 //lib necessary for dielectron
230b7aff 24 gSystem->Load("libCORRFW");
25
26 gSystem->Load("libTender");
27 gSystem->Load("libTenderSupplies");
28 gSystem->Load("libProof");
29 gSystem->Load("libRAWDatabase");
30 gSystem->Load("libSTEER");
31 gSystem->Load("libTOFbase");
32
33 gSystem->Load("libTRDbase");
34 gSystem->Load("libVZERObase");
35 gSystem->Load("libPWGDQdielectron");
36 gSystem->Load("libTenderSupplies");
6b152abb 37
38 // Load common libraries
39
40 // Use AliRoot includes to compile our task
41 gROOT->ProcessLine(".include $ALICE_ROOT/include");
42 gROOT->ProcessLine(".include $ALICE_ROOT/PWGDQ/");
43 gROOT->ProcessLine(".include $ALICE_ROOT/PWGDQ/dielectron");
44
45 // Create and configure the alien handler plugin
46 gROOT->LoadMacro("CreateAlienHandlerPbPb.C");
47 AliAnalysisGrid *alienHandler = CreateAlienHandlerPbPb();
48 if (!alienHandler) return;
49
50 // Create the analysis manager
51 AliAnalysisManager *mgr = new AliAnalysisManager("lowmassAnalysis");
52
53 // Connect plug-in to the analysis manager
54 mgr->SetGridHandler(alienHandler);
55
56 AliESDInputHandler* esdH = new AliESDInputHandler();
57 esdH->SetReadFriends(kFALSE);
58 mgr->SetInputEventHandler(esdH);
59
60
61
62 //==== Physics Selection ====
63 gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskPhysicsSelection.C");
64 AliPhysicsSelectionTask* physSelTask = AddTaskPhysicsSelection();
65
66 //==== Add tender ====
67
68// gROOT->LoadMacro("AddTaskTender.C");
69// AddTaskTender();
70
71 //===== ADD PID RESPONSE: ===
72
73 gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskPIDResponse.C");
74 AddTaskPIDResponse();
75
76 //===== ADD CENTRALITY: ===
77 gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskCentrality.C");
78 AddTaskCentrality();
79
80
81 //===== ADD TASK::
82
83 gROOT->LoadMacro("$ALICE_ROOT/PWGDQ/dielectron/macrosLMEE/AddTask_cbaumann_LMEEPbPb2011.C");
84 AddTask_cbaumann_LMEEPbPb2011(kFALSE,kFALSE,kTRUE);
85
86
87
88 // Enable debug printouts
89 mgr->SetDebugLevel(10);
90
91 if (!mgr->InitAnalysis())
92 return;
93
94 mgr->PrintStatus();
95 // Start analysis in grid.
96 mgr->StartAnalysis("grid");
97};