5 void LoadJetLibraries()
9 TString LoadJetLibraries_STAR_VERSION = TString(
"LoadJetLibraries_") + gSystem->Getenv(
"STAR_VERSION") +
"()";
11 gROOT->ProcessLine(LoadJetLibraries_STAR_VERSION.Data());
15 gROOT->ProcessLine(
".L StjDict.C+");
18 void LoadJetLibraries_DEV()
20 gROOT->Macro(
"loadMuDst.C");
21 gROOT->Macro(
"LoadLogger.C");
22 gSystem->Load(
"StTriggerFilterMaker");
23 gSystem->Load(
"StarMagField.so");
24 gSystem->Load(
"StMagF");
25 gSystem->Load(
"StTpcDb");
26 gSystem->Load(
"StDetectorDbMaker");
27 gSystem->Load(
"StDbUtilities");
28 gSystem->Load(
"StMcEvent");
29 gSystem->Load(
"StMcEventMaker");
30 gSystem->Load(
"geometry");
31 gSystem->Load(
"St_g2t");
32 gSystem->Load(
"St_geant_Maker");
33 gSystem->Load(
"StDaqLib");
34 gSystem->Load(
"StEmcRawMaker");
35 gSystem->Load(
"StEmcADCtoEMaker");
36 gSystem->Load(
"StPreEclMaker");
37 gSystem->Load(
"StEpcMaker");
38 gSystem->Load(
"StEmcSimulatorMaker");
39 gSystem->Load(
"StDbBroker");
40 gSystem->Load(
"St_db_Maker");
41 gSystem->Load(
"StEEmcUtil");
42 gSystem->Load(
"StEEmcDbMaker");
43 gSystem->Load(
"StSpinDbMaker");
44 gSystem->Load(
"StEmcTriggerMaker");
45 gSystem->Load(
"StTriggerUtilities");
46 gSystem->Load(
"StMCAsymMaker");
47 gSystem->Load(
"libfastjet.so");
48 gSystem->Load(
"StJetFinder");
49 gSystem->Load(
"StJets");
50 gSystem->Load(
"StJetSkimEvent");
51 gSystem->Load(
"StJetMaker");
54 void LoadJetLibraries_SL08c()
56 gROOT->Macro(
"loadMuDst.C");
57 gROOT->Macro(
"LoadLogger.C");
58 gSystem->Load(
"StTriggerFilterMaker");
59 gSystem->Load(
"StarMagField.so");
60 gSystem->Load(
"StMagF");
61 gSystem->Load(
"StTpcDb");
62 gSystem->Load(
"StDetectorDbMaker");
63 gSystem->Load(
"StDbUtilities");
64 gSystem->Load(
"StMcEvent");
65 gSystem->Load(
"StMcEventMaker");
66 gSystem->Load(
"geometry");
67 gSystem->Load(
"St_g2t");
68 gSystem->Load(
"St_geant_Maker");
69 gSystem->Load(
"StDaqLib");
70 gSystem->Load(
"StEmcRawMaker");
71 gSystem->Load(
"StEmcADCtoEMaker");
72 gSystem->Load(
"StPreEclMaker");
73 gSystem->Load(
"StEpcMaker");
74 gSystem->Load(
"StEmcSimulatorMaker");
75 gSystem->Load(
"StDbBroker");
76 gSystem->Load(
"St_db_Maker");
77 gSystem->Load(
"StEEmcUtil");
78 gSystem->Load(
"StEEmcDbMaker");
79 gSystem->Load(
"StSpinDbMaker");
80 gSystem->Load(
"StEmcTriggerMaker");
81 gSystem->Load(
"StTriggerUtilities");
82 gSystem->Load(
"StMCAsymMaker");
83 gSystem->Load(
"StJetFinder");
84 gSystem->Load(
"StJets");
85 gSystem->Load(
"StJetSkimEvent");
86 gSystem->Load(
"StJetMaker");
89 void LoadJetLibraries_SL08b()
91 gROOT->Macro(
"loadMuDst.C");
92 gROOT->Macro(
"LoadLogger.C");
93 gSystem->Load(
"StTriggerFilterMaker");
94 gSystem->Load(
"StarMagField.so");
95 gSystem->Load(
"StMagF");
96 gSystem->Load(
"StTpcDb");
97 gSystem->Load(
"StDetectorDbMaker");
98 gSystem->Load(
"StDbUtilities");
99 gSystem->Load(
"StMcEvent");
100 gSystem->Load(
"StMcEventMaker");
101 gSystem->Load(
"geometry");
102 gSystem->Load(
"St_g2t");
103 gSystem->Load(
"St_geant_Maker");
104 gSystem->Load(
"StDaqLib");
105 gSystem->Load(
"StEmcRawMaker");
106 gSystem->Load(
"StEmcADCtoEMaker");
107 gSystem->Load(
"StPreEclMaker");
108 gSystem->Load(
"StEpcMaker");
109 gSystem->Load(
"StEmcSimulatorMaker");
110 gSystem->Load(
"StDbBroker");
111 gSystem->Load(
"St_db_Maker");
112 gSystem->Load(
"StEEmcUtil");
113 gSystem->Load(
"StEEmcDbMaker");
114 gSystem->Load(
"StSpinDbMaker");
115 gSystem->Load(
"StEmcTriggerMaker");
116 gSystem->Load(
"StTriggerUtilities");
117 gSystem->Load(
"StMCAsymMaker");
118 gSystem->Load(
"StJetFinder");
119 gSystem->Load(
"StJets");
120 gSystem->Load(
"StJetSkimEvent");
121 gSystem->Load(
"StJetMaker");
124 void LoadJetLibraries_SL08a()
126 gROOT->Macro(
"loadMuDst.C");
127 gROOT->Macro(
"LoadLogger.C");
128 gSystem->Load(
"StarMagField.so");
129 gSystem->Load(
"StMagF");
130 gSystem->Load(
"StTpcDb");
131 gSystem->Load(
"StDetectorDbMaker");
132 gSystem->Load(
"StDbUtilities");
133 gSystem->Load(
"StMcEvent");
134 gSystem->Load(
"StMcEventMaker");
135 gSystem->Load(
"geometry");
136 gSystem->Load(
"St_g2t");
137 gSystem->Load(
"St_geant_Maker");
138 gSystem->Load(
"StDaqLib");
139 gSystem->Load(
"StEmcRawMaker");
140 gSystem->Load(
"StEmcADCtoEMaker");
141 gSystem->Load(
"StPreEclMaker");
142 gSystem->Load(
"StEpcMaker");
143 gSystem->Load(
"StEmcSimulatorMaker");
144 gSystem->Load(
"StDbBroker");
145 gSystem->Load(
"St_db_Maker");
146 gSystem->Load(
"StEEmcUtil");
147 gSystem->Load(
"StEEmcDbMaker");
148 gSystem->Load(
"StSpinDbMaker");
149 gSystem->Load(
"StEmcTriggerMaker");
150 gSystem->Load(
"StTriggerUtilities");
151 gSystem->Load(
"StMCAsymMaker");
152 gSystem->Load(
"StJetFinder");
153 gSystem->Load(
"StJetMaker");
156 void LoadJetLibraries_SL07e()
158 gROOT->Macro(
"loadMuDst.C");
159 gROOT->Macro(
"LoadLogger.C");
160 gSystem->Load(
"StarMagField.so");
161 gSystem->Load(
"StMagF");
162 gSystem->Load(
"StTpcDb");
163 gSystem->Load(
"StDetectorDbMaker");
164 gSystem->Load(
"StDbUtilities");
165 gSystem->Load(
"StMcEvent");
166 gSystem->Load(
"StMcEventMaker");
167 gSystem->Load(
"geometry");
168 gSystem->Load(
"St_g2t");
169 gSystem->Load(
"St_geant_Maker");
170 gSystem->Load(
"StDaqLib");
171 gSystem->Load(
"StEmcRawMaker");
172 gSystem->Load(
"StEmcADCtoEMaker");
173 gSystem->Load(
"StPreEclMaker");
174 gSystem->Load(
"StEpcMaker");
175 gSystem->Load(
"StEmcSimulatorMaker");
176 gSystem->Load(
"StDbBroker");
177 gSystem->Load(
"St_db_Maker");
178 gSystem->Load(
"StEEmcUtil");
179 gSystem->Load(
"StEEmcDbMaker");
180 gSystem->Load(
"StSpinDbMaker");
181 gSystem->Load(
"StEmcTriggerMaker");
182 gSystem->Load(
"StTriggerUtilities");
183 gSystem->Load(
"StMCAsymMaker");
184 gSystem->Load(
"StJetFinder");
185 gSystem->Load(
"StJetMaker");
188 void LoadJetLibraries_SL07d()
190 gROOT->Macro(
"loadMuDst.C");
191 gROOT->Macro(
"LoadLogger.C");
192 gSystem->Load(
"StarMagField.so");
193 gSystem->Load(
"StMagF");
194 gSystem->Load(
"StTpcDb");
195 gSystem->Load(
"StDetectorDbMaker");
196 gSystem->Load(
"StDbUtilities");
197 gSystem->Load(
"StMcEvent");
198 gSystem->Load(
"StMcEventMaker");
199 gSystem->Load(
"geometry");
200 gSystem->Load(
"St_g2t");
201 gSystem->Load(
"St_geant_Maker");
202 gSystem->Load(
"StDaqLib");
203 gSystem->Load(
"StEmcRawMaker");
204 gSystem->Load(
"StEmcADCtoEMaker");
205 gSystem->Load(
"StPreEclMaker");
206 gSystem->Load(
"StEpcMaker");
207 gSystem->Load(
"StEmcSimulatorMaker");
208 gSystem->Load(
"StDbBroker");
209 gSystem->Load(
"St_db_Maker");
210 gSystem->Load(
"StEEmcUtil");
211 gSystem->Load(
"StEEmcDbMaker");
212 gSystem->Load(
"StSpinDbMaker");
213 gSystem->Load(
"StEmcTriggerMaker");
214 gSystem->Load(
"StTriggerUtilities");
215 gSystem->Load(
"StMCAsymMaker");
216 gSystem->Load(
"StJetFinder");
217 gSystem->Load(
"StJetMaker");
220 void LoadJetLibraries_SL07c()
222 gROOT->Macro(
"loadMuDst.C");
223 gROOT->Macro(
"LoadLogger.C");
224 gSystem->Load(
"StarMagField.so");
225 gSystem->Load(
"StMagF");
226 gSystem->Load(
"StTpcDb");
227 gSystem->Load(
"StDetectorDbMaker");
228 gSystem->Load(
"StDbUtilities");
229 gSystem->Load(
"StMcEvent");
230 gSystem->Load(
"StMcEventMaker");
231 gSystem->Load(
"geometry");
232 gSystem->Load(
"St_g2t");
233 gSystem->Load(
"St_geant_Maker");
234 gSystem->Load(
"StDaqLib");
235 gSystem->Load(
"StEmcRawMaker");
236 gSystem->Load(
"StEmcADCtoEMaker");
237 gSystem->Load(
"StPreEclMaker");
238 gSystem->Load(
"StEpcMaker");
239 gSystem->Load(
"StEmcSimulatorMaker");
240 gSystem->Load(
"StDbBroker");
241 gSystem->Load(
"St_db_Maker");
242 gSystem->Load(
"StEEmcUtil");
243 gSystem->Load(
"StEEmcDbMaker");
244 gSystem->Load(
"StSpinDbMaker");
245 gSystem->Load(
"StEmcTriggerMaker");
246 gSystem->Load(
"StMCAsymMaker");
247 gSystem->Load(
"StJetFinder");
248 gSystem->Load(
"StJetMaker");
252 void LoadJetLibraries_SL07b()
254 gROOT->Macro(
"loadMuDst.C");
255 gROOT->Macro(
"LoadLogger.C");
256 gSystem->Load(
"StarMagField.so");
257 gSystem->Load(
"StMagF");
258 gSystem->Load(
"StTpcDb");
259 gSystem->Load(
"StDetectorDbMaker");
260 gSystem->Load(
"StDbUtilities");
261 gSystem->Load(
"StMcEvent");
262 gSystem->Load(
"StMcEventMaker");
263 gSystem->Load(
"geometry");
264 gSystem->Load(
"St_g2t");
265 gSystem->Load(
"St_geant_Maker");
266 gSystem->Load(
"StDaqLib");
267 gSystem->Load(
"StEmcRawMaker");
268 gSystem->Load(
"StEmcADCtoEMaker");
269 gSystem->Load(
"StPreEclMaker");
270 gSystem->Load(
"StEpcMaker");
271 gSystem->Load(
"StEmcSimulatorMaker");
272 gSystem->Load(
"StDbBroker");
273 gSystem->Load(
"St_db_Maker");
274 gSystem->Load(
"StEEmcUtil");
275 gSystem->Load(
"StEEmcDbMaker");
276 gSystem->Load(
"StSpinDbMaker");
277 gSystem->Load(
"StEmcTriggerMaker");
278 gSystem->Load(
"StJetFinder");
279 gSystem->Load(
"StJetMaker");
282 void LoadJetLibraries_SL07a()
284 gROOT->Macro(
"loadMuDst.C");
285 gROOT->Macro(
"LoadLogger.C");
286 gSystem->Load(
"StarMagField.so");
287 gSystem->Load(
"StMagF");
288 gSystem->Load(
"StTpcDb");
289 gSystem->Load(
"StDetectorDbMaker");
290 gSystem->Load(
"StDbUtilities");
291 gSystem->Load(
"StMcEvent");
292 gSystem->Load(
"StMcEventMaker");
293 gSystem->Load(
"geometry");
294 gSystem->Load(
"St_g2t");
295 gSystem->Load(
"St_geant_Maker");
296 gSystem->Load(
"StDaqLib");
297 gSystem->Load(
"StEmcRawMaker");
298 gSystem->Load(
"StEmcADCtoEMaker");
299 gSystem->Load(
"StPreEclMaker");
300 gSystem->Load(
"StEpcMaker");
301 gSystem->Load(
"StEmcSimulatorMaker");
302 gSystem->Load(
"StDbBroker");
303 gSystem->Load(
"St_db_Maker");
304 gSystem->Load(
"StEEmcUtil");
305 gSystem->Load(
"StEEmcDbMaker");
306 gSystem->Load(
"StSpinDbMaker");
307 gSystem->Load(
"StEmcTriggerMaker");
308 gSystem->Load(
"StJetFinder");
309 gSystem->Load(
"StJetMaker");
313 void setLibraryPath()
315 TString path(gSystem->GetDynamicPath());
316 TString pwd(gSystem->pwd());
317 if(TString(
"StRoot") == gSystem->BaseName(pwd)) {
318 path = TString(
"../.") + gSystem->Getenv(
"STAR_HOST_SYS") +
"/lib:" + path;
319 }
else if(
"StRoot/StJetMaker" == pwd(pwd.Length() - TString(
"StRoot/StJetMaker").Length(), TString(
"StRoot/StJetMaker").Length())) {
320 path = TString(
"../../.") + gSystem->Getenv(
"STAR_HOST_SYS") +
"/lib:" + path;
321 }
else if(
"StRoot/StJetMaker/macros" == pwd(pwd.Length() - TString(
"StRoot/StJetMaker/macros").Length(), TString(
"StRoot/StJetMaker/macros").Length())) {
322 path = TString(
"../../../.") + gSystem->Getenv(
"STAR_HOST_SYS") +
"/lib:" + path;
323 }
else if(
"StRoot/StJetMaker/examples" == pwd(pwd.Length() - TString(
"StRoot/StJetMaker/examples").Length(), TString(
"StRoot/StJetMaker/examples").Length())) {
324 path = TString(
"../../../.") + gSystem->Getenv(
"STAR_HOST_SYS") +
"/lib:" + path;
327 gSystem->SetDynamicPath(path);
330 void setIncludePath()
332 TString path(gSystem->GetIncludePath());
333 path = TString(
"-I/afs/rhic.bnl.gov/star/packages/") + gSystem->Getenv(
"STAR_VERSION") +
"/." + gSystem->Getenv(
"STAR_HOST_SYS") +
"/include " + path;
334 path =
"-I./StRoot/StJetMaker/base " + path;
335 path =
"-I./StRoot/StJetMaker/emulator " + path;
336 path =
"-I./StRoot/StJetMaker/misc " + path;
337 path =
"-I./StRoot/StJetMaker/mudst " + path;
338 path =
"-I./StRoot/StJetMaker/trigger " + path;
339 path =
"-I./StRoot/StJetMaker/tree " + path;
340 path =
"-I./StRoot/StJetMaker/vertex " + path;
341 path =
"-I./StRoot/StJetMaker/mckin " + path;
342 path =
"-I./StRoot/StJetMaker/jets " + path;
343 path =
"-I./StRoot/StJetMaker/dijets " + path;
344 path =
"-I./StRoot/StJetMaker/spin " + path;
345 path =
"-I./StRoot " + path;
346 path = TString(
"-I./.") + gSystem->Getenv(
"STAR_HOST_SYS") +
"/include. " + path;
347 path =
"-I. " + path;
348 gSystem->SetIncludePath(path);