Add FMD to event display, remove call to non-existent trd_detectors.C
[u/mrichter/AliRoot.git] / EVE / macros / DataSelection_init.C
1 void DataSelection_init(){
2
3   AliEveMacroExecutor *exec = AliEveEventManager::GetMaster()->GetExecutor();
4   exec->RemoveMacros();
5   TEveBrowser *browser = gEve->GetBrowser();
6   browser->ShowCloseTab(kFALSE);
7
8   exec->AddMacro(new AliEveMacro(1, "SIM Track", "kine_tracks.C+", "kine_tracks", "", 0));
9
10   exec->AddMacro(new AliEveMacro(1, "SIM Hits ITS", "its_hits.C", "its_hits", "", 0));
11
12   exec->AddMacro(new AliEveMacro(1, "SIM Hits TPC", "tpc_hits.C", "tpc_hits", "", 0));
13
14   exec->AddMacro(new AliEveMacro(1, "SIM Hits T0", "t0_hits.C", "t0_hits", "", 0));
15
16   exec->AddMacro(new AliEveMacro(1, "SIM Hits FMD", "fmd_hits.C", "fmd_hits", "", 0));
17
18   exec->AddMacro(new AliEveMacro(1, "DIG ITS", "its_digits.C", "its_digits", "", 0));
19
20   exec->AddMacro(new AliEveMacro(1, "DIG TPC", "tpc_digits.C", "tpc_digits", "", 0));
21
22   exec->AddMacro(new AliEveMacro(1, "DIG TOF", "tof_digits.C", "tof_digits", "", 0));
23
24   exec->AddMacro(new AliEveMacro(1, "DIG HMPID", "hmpid_digits.C", "hmpid_digits", "", 0));
25
26   exec->AddMacro(new AliEveMacro(1, "DIG FMD", "fmd_digits.C", "fmd_digits", "", 0));
27
28   exec->AddMacro(new AliEveMacro(8, "RAW ITS", "its_raw.C", "its_raw", "", 0));
29
30   exec->AddMacro(new AliEveMacro(8, "RAW TPC", "tpc_raw.C", "tpc_raw", "", 0));
31
32   exec->AddMacro(new AliEveMacro(8, "RAW TOF", "tof_raw.C", "tof_raw", "", 0));
33
34   exec->AddMacro(new AliEveMacro(8, "RAW HMPID", "hmpid_raw.C", "hmpid_raw", "", 0));
35
36   exec->AddMacro(new AliEveMacro(8, "RAW T0", "t0_raw.C", "t0_raw", "", 0));
37
38   exec->AddMacro(new AliEveMacro(8, "RAW FMD", "fmd_raw.C", "fmd_raw", "", 0));
39
40   exec->AddMacro(new AliEveMacro(8, "RAW VZERO", "vzero_raw.C", "vzero_raw", "", 0));
41
42   exec->AddMacro(new AliEveMacro(8, "RAW ACORDE", "acorde_raw.C", "acorde_raw", "", 0));
43
44   exec->AddMacro(new AliEveMacro(2, "REC PVTX", "primary_vertex.C+", "primary_vertex", "", 1));
45
46   exec->AddMacro(new AliEveMacro(2, "REC PVTX Ellipse", "primary_vertex.C+", "primary_vertex_ellipse", "", 1));
47
48   exec->AddMacro(new AliEveMacro(2, "REC PVTX Box", "primary_vertex.C+", "primary_vertex_box", "kFALSE, 3, 3, 3", 0));
49
50   exec->AddMacro(new AliEveMacro(2, "REC PVTX SPD", "primary_vertex.C+", "primary_vertex_spd", "", 1));
51
52   exec->AddMacro(new AliEveMacro(2, "REC PVTX Ellipse SPD", "primary_vertex.C+", "primary_vertex_ellipse_spd", "", 1));
53
54   exec->AddMacro(new AliEveMacro(2, "REC PVTX Box SPD", "primary_vertex.C+", "primary_vertex_box_spd", "kFALSE, 3, 3, 3", 0));
55
56   exec->AddMacro(new AliEveMacro(2, "REC PVTX TPC", "primary_vertex.C+", "primary_vertex_tpc", "", 0));
57
58   exec->AddMacro(new AliEveMacro(2, "REC PVTX Ellipse TPC", "primary_vertex.C+", "primary_vertex_ellipse_tpc", "", 0));
59
60   exec->AddMacro(new AliEveMacro(2, "REC PVTX Box TPC", "primary_vertex.C+", "primary_vertex_box_tpc", "kFALSE, 3, 3, 3", 0));
61
62   exec->AddMacro(new AliEveMacro(2, "REC V0", "esd_V0_points.C", "esd_V0_points_onfly", "", 1));
63
64   exec->AddMacro(new AliEveMacro(2, "REC V0", "esd_V0_points.C", "esd_V0_points_offline", "", 1));
65
66   exec->AddMacro(new AliEveMacro(2, "REC V0", "esd_V0.C", "esd_V0", "", 1));
67
68   exec->AddMacro(new AliEveMacro(2, "REC CSCD", "esd_cascade_points.C", "esd_cascade_points", "", 1));
69
70   exec->AddMacro(new AliEveMacro(2, "REC CSCD", "esd_cascade.C", "esd_cascade", "", 1));
71
72   exec->AddMacro(new AliEveMacro(2, "REC KINK", "esd_kink_points.C", "esd_kink_points", "", 1));
73
74   exec->AddMacro(new AliEveMacro(2, "REC KINK", "esd_kink.C", "esd_kink", "", 1));
75
76   exec->AddMacro(new AliEveMacro(2, "REC Tracks", "esd_tracks.C+", "esd_tracks", "", 0));
77
78   exec->AddMacro(new AliEveMacro(2, "REC Tracks MI", "esd_tracks.C+", "esd_tracks_MI", "", 0));
79
80   exec->AddMacro(new AliEveMacro(2, "REC Tracks by category", "esd_tracks.C+", "esd_tracks_by_category", "", 1));
81
82   exec->AddMacro(new AliEveMacro(2, "REC Tracks by anal cuts", "esd_tracks.C+", "esd_tracks_by_anal_cuts", "", 0));
83
84   exec->AddMacro(new AliEveMacro(2, "REC Tracklets SPD", "esd_spd_tracklets.C", "esd_spd_tracklets", "", 1));
85
86   exec->AddMacro(new AliEveMacro(2, "REC ZDC", "esd_zdc.C", "esd_zdc", "", 0));
87
88   exec->AddMacro(new AliEveMacro(1, "REC Clusters", "clusters.C+", "clusters", "", 0));
89
90   exec->AddMacro(new AliEveMacro(1, "REC Clusters ITS", "its_clusters.C+", "its_clusters", "", 1));
91
92   exec->AddMacro(new AliEveMacro(1, "REC Clusters TPC", "tpc_clusters.C+", "tpc_clusters", "", 1));
93
94   exec->AddMacro(new AliEveMacro(1, "REC Clusters TRD", "trd_clusters.C+", "trd_clusters", "", 1));
95
96   exec->AddMacro(new AliEveMacro(1, "REC Clusters TOF", "tof_clusters.C+", "tof_clusters", "", 1));
97
98   exec->AddMacro(new AliEveMacro(1, "REC Clusters TPC", "vplot_tpc.C+", "vplot_tpc", "", 0));
99
100   exec->AddMacro(new AliEveMacro(16, "ANA HF", "aod_HF.C", "aod_HF", "", 0));
101
102   exec->AddMacro(new AliEveMacro(16, "ANA Jets", "jetplane.C", "jetplane", "", 0));
103
104   exec->AddMacro(new AliEveMacro(2, "DUMP VZERO", "vzero_dump.C", "vzero_dump", "", 0));
105
106   TEveWindowSlot *slot = TEveWindow::CreateWindowInTab(browser->GetTabRight());
107   slot->StartEmbedding();
108   AliEveMacroExecutorWindow* exewin = new AliEveMacroExecutorWindow(exec);
109   slot->StopEmbedding("DataSelection");
110   exewin->PopulateMacros();
111
112 }