Fork me on GitHub

source: svn/trunk/Makefile@ 83

Last change on this file since 83 was 83, checked in by uid677, 16 years ago

add example code

File size: 28.1 KB
Line 
1
2#
3# Makefile for Delphes, a Fast Simulator for general-purpose detectors at the LHC
4#
5# Author: S. Ovyn, X. Rouby - UCL, Louvain-la-Neuve
6# -- inspired by P. Demin's work on ExRootAnalysis (UCL, Louvain-la-Neuve)
7# -- the multi-platform configuration is taken from ROOT (root/test/Makefile.arch)
8#
9
10include $(ROOTSYS)/test/Makefile.arch
11
12ifeq ($(ARCH),macosx64)
13UNDEFOPT = dynamic_lookup
14endif
15
16SrcSuf = cc
17
18#CXXFLAGS += $(ROOTCFLAGS) -DDROP_CGAL -Iinterface -IUtilities/CDFCones/interface -IUtilities/ExRootAnalysis/interface -IUtilities/mcfio -IUtilities/stdhep -IUtilities/Hector/include
19CXXFLAGS += $(ROOTCFLAGS) -DDROP_CGAL -I. -IUtilities/mcfio -IUtilities/stdhep -IUtilities/Hector/include -IUtilities/CDFCones/interface -IExamples
20LIBS = $(ROOTLIBS) -lEG $(SYSLIBS)
21GLIBS = $(ROOTGLIBS) $(SYSLIBS)
22
23###
24
25SHARED = lib/libUtilities.$(DllSuf) lib/libHector.$(DllSuf)
26
27all:
28
29
30Resolutions$(ExeSuf): \
31 tmp/Resolutions.$(ObjSuf)
32
33tmp/Resolutions.$(ObjSuf): \
34 Resolutions.cpp \
35 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
36 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
37 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
38 interface/DataConverter.h \
39 interface/HEPEVTConverter.h \
40 interface/LHEFConverter.h \
41 interface/STDHEPConverter.h \
42 interface/SmearUtil.h \
43 Utilities/Fastjet/include/fastjet/PseudoJet.hh \
44 Utilities/Fastjet/include/fastjet/ClusterSequence.hh \
45 Utilities/Fastjet/include/fastjet/config.h \
46 interface/TreeClasses.h
47Delphes$(ExeSuf): \
48 tmp/Delphes.$(ObjSuf)
49
50tmp/Delphes.$(ObjSuf): \
51 Delphes.cpp \
52 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
53 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
54 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
55 interface/DataConverter.h \
56 interface/HEPEVTConverter.h \
57 interface/LHEFConverter.h \
58 interface/STDHEPConverter.h \
59 interface/SmearUtil.h \
60 interface/BFieldProp.h \
61 interface/TriggerUtil.h \
62 interface/VeryForward.h \
63 interface/JetUtils.h
64Analysis_Ex$(ExeSuf): \
65 tmp/Examples/Analysis_Ex.$(ObjSuf)
66
67tmp/Examples/Analysis_Ex.$(ObjSuf): \
68 Examples/Analysis_Ex.cpp \
69 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
70 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
71 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
72 Utilities/ExRootAnalysis/interface/BlockClasses.h \
73 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
74 Examples/interface/Analysis_Ex.h
75Trigger_Only$(ExeSuf): \
76 tmp/Examples/Trigger_Only.$(ObjSuf)
77
78tmp/Examples/Trigger_Only.$(ObjSuf): \
79 Examples/Trigger_Only.cpp \
80 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
81 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
82 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
83 interface/TriggerUtil.h \
84 Utilities/ExRootAnalysis/interface/BlockClasses.h
85EXECUTABLE = \
86 Resolutions$(ExeSuf) \
87 Delphes$(ExeSuf) \
88 Analysis_Ex$(ExeSuf) \
89 Trigger_Only$(ExeSuf)
90
91EXECUTABLE_OBJ = \
92 tmp/Resolutions.$(ObjSuf) \
93 tmp/Delphes.$(ObjSuf) \
94 tmp/Examples/Analysis_Ex.$(ObjSuf) \
95 tmp/Examples/Trigger_Only.$(ObjSuf)
96
97tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf): \
98 Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h \
99 Utilities/ExRootAnalysis/interface/BlockClasses.h
100tmp/src/TreeClassesDict.$(SrcSuf): \
101 src/TreeClassesLinkDef.h \
102 interface/TreeClasses.h
103DICT = \
104 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf) \
105 tmp/src/TreeClassesDict.$(SrcSuf)
106
107DICT_OBJ = \
108 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(ObjSuf) \
109 tmp/src/TreeClassesDict.$(ObjSuf)
110
111tmp/src/BFieldProp.$(ObjSuf): \
112 src/BFieldProp.$(SrcSuf) \
113 interface/BFieldProp.h
114tmp/src/STDHEPConverter.$(ObjSuf): \
115 src/STDHEPConverter.$(SrcSuf) \
116 Utilities/ExRootAnalysis/interface/BlockClasses.h \
117 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
118 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
119 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
120 Utilities/ExRootAnalysis/interface/LHEF.h \
121 Utilities/stdhep/stdhep_mcfio.h \
122 Utilities/stdhep/stdhep_declarations.h \
123 interface/STDHEPConverter.h
124tmp/src/JetUtils.$(ObjSuf): \
125 src/JetUtils.$(SrcSuf) \
126 interface/JetUtils.h
127tmp/src/VeryForward.$(ObjSuf): \
128 src/VeryForward.$(SrcSuf) \
129 interface/VeryForward.h \
130 interface/SmearUtil.h
131tmp/src/TriggerUtil.$(ObjSuf): \
132 src/TriggerUtil.$(SrcSuf) \
133 interface/TriggerUtil.h
134tmp/src/HEPEVTConverter.$(ObjSuf): \
135 src/HEPEVTConverter.$(SrcSuf) \
136 Utilities/ExRootAnalysis/interface/BlockClasses.h \
137 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
138 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
139 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
140 interface/HEPEVTConverter.h
141tmp/src/SmearUtil.$(ObjSuf): \
142 src/SmearUtil.$(SrcSuf) \
143 interface/SmearUtil.h
144tmp/src/TreeClasses.$(ObjSuf): \
145 src/TreeClasses.$(SrcSuf) \
146 interface/TreeClasses.h
147tmp/src/LHEFConverter.$(ObjSuf): \
148 src/LHEFConverter.$(SrcSuf) \
149 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
150 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
151 Utilities/ExRootAnalysis/interface/BlockClasses.h \
152 interface/LHEFConverter.h \
153 Utilities/ExRootAnalysis/interface/LHEF.h
154tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf): \
155 Utilities/ExRootAnalysis/src/ExRootTreeReader.$(SrcSuf) \
156 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h
157tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf): \
158 Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(SrcSuf) \
159 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
160tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf): \
161 Utilities/ExRootAnalysis/src/ExRootProgressBar.$(SrcSuf) \
162 Utilities/ExRootAnalysis/interface/ExRootProgressBar.h
163tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf): \
164 Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(SrcSuf) \
165 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
166 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
167tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf): \
168 Utilities/ExRootAnalysis/src/BlockClasses.$(SrcSuf) \
169 Utilities/ExRootAnalysis/interface/BlockClasses.h \
170 Utilities/ExRootAnalysis/interface/BlockCompare.h
171tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf): \
172 Utilities/Hector/src/H_Parameters.$(SrcSuf)
173tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf): \
174 Utilities/Hector/src/H_HorizontalKicker.$(SrcSuf)
175tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf): \
176 Utilities/Hector/src/H_HorizontalQuadrupole.$(SrcSuf)
177tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf): \
178 Utilities/Hector/src/H_SectorDipole.$(SrcSuf)
179tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf): \
180 Utilities/Hector/src/H_RecRPObject.$(SrcSuf)
181tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf): \
182 Utilities/Hector/src/H_CircularAperture.$(SrcSuf)
183tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf): \
184 Utilities/Hector/src/H_RectEllipticAperture.$(SrcSuf)
185tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf): \
186 Utilities/Hector/src/H_AbstractBeamLine.$(SrcSuf)
187tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf): \
188 Utilities/Hector/src/H_TransportMatrices.$(SrcSuf)
189tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf): \
190 Utilities/Hector/src/H_Aperture.$(SrcSuf)
191tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf): \
192 Utilities/Hector/src/H_OpticalElement.$(SrcSuf)
193tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf): \
194 Utilities/Hector/src/H_BeamLine.$(SrcSuf)
195tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf): \
196 Utilities/Hector/src/H_BeamParticle.$(SrcSuf)
197tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf): \
198 Utilities/Hector/src/H_RectangularCollimator.$(SrcSuf)
199tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf): \
200 Utilities/Hector/src/H_RectangularDipole.$(SrcSuf)
201tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf): \
202 Utilities/Hector/src/H_BeamLineParser.$(SrcSuf)
203tmp/Utilities/Hector/src/H_Beam.$(ObjSuf): \
204 Utilities/Hector/src/H_Beam.$(SrcSuf)
205tmp/Utilities/Hector/src/H_Marker.$(ObjSuf): \
206 Utilities/Hector/src/H_Marker.$(SrcSuf)
207tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf): \
208 Utilities/Hector/src/H_Kicker.$(SrcSuf)
209tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf): \
210 Utilities/Hector/src/H_RomanPot.$(SrcSuf)
211tmp/Utilities/Hector/src/H_Drift.$(ObjSuf): \
212 Utilities/Hector/src/H_Drift.$(SrcSuf)
213tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf): \
214 Utilities/Hector/src/H_EllipticAperture.$(SrcSuf)
215tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf): \
216 Utilities/Hector/src/H_RectangularAperture.$(SrcSuf)
217tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf): \
218 Utilities/Hector/src/H_VerticalQuadrupole.$(SrcSuf)
219tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf): \
220 Utilities/Hector/src/H_Dipole.$(SrcSuf)
221tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf): \
222 Utilities/Hector/src/H_VerticalKicker.$(SrcSuf)
223tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf): \
224 Utilities/Hector/src/H_Quadrupole.$(SrcSuf)
225tmp/Utilities/Fastjet/src/ClosestPair2D.$(ObjSuf): \
226 Utilities/Fastjet/src/ClosestPair2D.$(SrcSuf)
227tmp/Utilities/Fastjet/src/Dnn2piCylinder.$(ObjSuf): \
228 Utilities/Fastjet/src/Dnn2piCylinder.$(SrcSuf)
229tmp/Utilities/Fastjet/src/ClusterSequenceActiveArea.$(ObjSuf): \
230 Utilities/Fastjet/src/ClusterSequenceActiveArea.$(SrcSuf)
231tmp/Utilities/Fastjet/src/ClusterSequence_TiledN2.$(ObjSuf): \
232 Utilities/Fastjet/src/ClusterSequence_TiledN2.$(SrcSuf)
233tmp/Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(ObjSuf): \
234 Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(SrcSuf)
235tmp/Utilities/Fastjet/src/ClusterSequence_N2.$(ObjSuf): \
236 Utilities/Fastjet/src/ClusterSequence_N2.$(SrcSuf)
237tmp/Utilities/Fastjet/src/ClusterSequencePassiveArea.$(ObjSuf): \
238 Utilities/Fastjet/src/ClusterSequencePassiveArea.$(SrcSuf)
239tmp/Utilities/Fastjet/src/GhostedAreaSpec.$(ObjSuf): \
240 Utilities/Fastjet/src/GhostedAreaSpec.$(SrcSuf)
241tmp/Utilities/Fastjet/src/ClusterSequence.$(ObjSuf): \
242 Utilities/Fastjet/src/ClusterSequence.$(SrcSuf)
243tmp/Utilities/Fastjet/src/RangeDefinition.$(ObjSuf): \
244 Utilities/Fastjet/src/RangeDefinition.$(SrcSuf)
245tmp/Utilities/Fastjet/src/BasicRandom.$(ObjSuf): \
246 Utilities/Fastjet/src/BasicRandom.$(SrcSuf)
247tmp/Utilities/Fastjet/src/ClusterSequenceArea.$(ObjSuf): \
248 Utilities/Fastjet/src/ClusterSequenceArea.$(SrcSuf)
249tmp/Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(ObjSuf): \
250 Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(SrcSuf)
251tmp/Utilities/Fastjet/src/PseudoJet.$(ObjSuf): \
252 Utilities/Fastjet/src/PseudoJet.$(SrcSuf)
253tmp/Utilities/Fastjet/src/AreaDefinition.$(ObjSuf): \
254 Utilities/Fastjet/src/AreaDefinition.$(SrcSuf)
255tmp/Utilities/Fastjet/src/ClusterSequence_DumbN3.$(ObjSuf): \
256 Utilities/Fastjet/src/ClusterSequence_DumbN3.$(SrcSuf)
257tmp/Utilities/Fastjet/src/ClusterSequenceVoronoiArea.$(ObjSuf): \
258 Utilities/Fastjet/src/ClusterSequenceVoronoiArea.$(SrcSuf)
259tmp/Utilities/Fastjet/src/Dnn3piCylinder.$(ObjSuf): \
260 Utilities/Fastjet/src/Dnn3piCylinder.$(SrcSuf)
261tmp/Utilities/Fastjet/src/Error.$(ObjSuf): \
262 Utilities/Fastjet/src/Error.$(SrcSuf)
263tmp/Utilities/Fastjet/src/ClusterSequenceAreaBase.$(ObjSuf): \
264 Utilities/Fastjet/src/ClusterSequenceAreaBase.$(SrcSuf)
265tmp/Utilities/Fastjet/src/Dnn4piCylinder.$(ObjSuf): \
266 Utilities/Fastjet/src/Dnn4piCylinder.$(SrcSuf)
267tmp/Utilities/Fastjet/src/ClusterSequence1GhostPassiveArea.$(ObjSuf): \
268 Utilities/Fastjet/src/ClusterSequence1GhostPassiveArea.$(SrcSuf)
269tmp/Utilities/Fastjet/src/JetDefinition.$(ObjSuf): \
270 Utilities/Fastjet/src/JetDefinition.$(SrcSuf)
271tmp/Utilities/Fastjet/src/DnnPlane.$(ObjSuf): \
272 Utilities/Fastjet/src/DnnPlane.$(SrcSuf)
273tmp/Utilities/Fastjet/src/ClusterSequence_Delaunay.$(ObjSuf): \
274 Utilities/Fastjet/src/ClusterSequence_Delaunay.$(SrcSuf)
275tmp/Utilities/Fastjet/src/MinHeap.$(ObjSuf): \
276 Utilities/Fastjet/src/MinHeap.$(SrcSuf)
277tmp/Utilities/Fastjet/src/Voronoi.$(ObjSuf): \
278 Utilities/Fastjet/src/Voronoi.$(SrcSuf)
279tmp/Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(ObjSuf): \
280 Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(SrcSuf) \
281 Utilities/Fastjet/include/fastjet/ClusterSequence.hh
282tmp/Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(ObjSuf): \
283 Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(SrcSuf) \
284 Utilities/Fastjet/include/fastjet/ClusterSequence.hh \
285 Utilities/Fastjet/include/fastjet/Error.hh
286tmp/Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(ObjSuf): \
287 Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(SrcSuf)
288tmp/Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(ObjSuf): \
289 Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(SrcSuf)
290tmp/Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(ObjSuf): \
291 Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(SrcSuf)
292tmp/Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(ObjSuf): \
293 Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(SrcSuf)
294tmp/Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(ObjSuf): \
295 Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(SrcSuf)
296tmp/Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(ObjSuf): \
297 Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(SrcSuf)
298tmp/Utilities/Fastjet/plugins/CDFCones/src/Centroid.$(ObjSuf): \
299 Utilities/Fastjet/plugins/CDFCones/src/Centroid.$(SrcSuf)
300tmp/Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(ObjSuf): \
301 Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(SrcSuf)
302tmp/Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(ObjSuf): \
303 Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(SrcSuf) \
304 Utilities/Fastjet/include/fastjet/ClusterSequence.hh
305tmp/Utilities/Fastjet/plugins/SISCone/src/ranlux.$(ObjSuf): \
306 Utilities/Fastjet/plugins/SISCone/src/ranlux.$(SrcSuf)
307tmp/Utilities/Fastjet/plugins/SISCone/src/protocones.$(ObjSuf): \
308 Utilities/Fastjet/plugins/SISCone/src/protocones.$(SrcSuf)
309tmp/Utilities/Fastjet/plugins/SISCone/src/vicinity.$(ObjSuf): \
310 Utilities/Fastjet/plugins/SISCone/src/vicinity.$(SrcSuf)
311tmp/Utilities/Fastjet/plugins/SISCone/src/siscone_error.$(ObjSuf): \
312 Utilities/Fastjet/plugins/SISCone/src/siscone_error.$(SrcSuf)
313tmp/Utilities/Fastjet/plugins/SISCone/src/siscone.$(ObjSuf): \
314 Utilities/Fastjet/plugins/SISCone/src/siscone.$(SrcSuf)
315tmp/Utilities/Fastjet/plugins/SISCone/src/area.$(ObjSuf): \
316 Utilities/Fastjet/plugins/SISCone/src/area.$(SrcSuf)
317tmp/Utilities/Fastjet/plugins/SISCone/src/hash.$(ObjSuf): \
318 Utilities/Fastjet/plugins/SISCone/src/hash.$(SrcSuf)
319tmp/Utilities/Fastjet/plugins/SISCone/src/reference.$(ObjSuf): \
320 Utilities/Fastjet/plugins/SISCone/src/reference.$(SrcSuf)
321tmp/Utilities/Fastjet/plugins/SISCone/src/momentum.$(ObjSuf): \
322 Utilities/Fastjet/plugins/SISCone/src/momentum.$(SrcSuf)
323tmp/Utilities/Fastjet/plugins/SISCone/src/geom_2d.$(ObjSuf): \
324 Utilities/Fastjet/plugins/SISCone/src/geom_2d.$(SrcSuf)
325tmp/Utilities/Fastjet/plugins/SISCone/src/split_merge.$(ObjSuf): \
326 Utilities/Fastjet/plugins/SISCone/src/split_merge.$(SrcSuf)
327tmp/Utilities/Fastjet/plugins/SISCone/src/quadtree.$(ObjSuf): \
328 Utilities/Fastjet/plugins/SISCone/src/quadtree.$(SrcSuf)
329tmp/Examples/src/Analysis_Ex.$(ObjSuf): \
330 Examples/src/Analysis_Ex.$(SrcSuf) \
331 Examples/interface/Analysis_Ex.h
332SOURCE_OBJ = \
333 tmp/src/BFieldProp.$(ObjSuf) \
334 tmp/src/STDHEPConverter.$(ObjSuf) \
335 tmp/src/JetUtils.$(ObjSuf) \
336 tmp/src/VeryForward.$(ObjSuf) \
337 tmp/src/TriggerUtil.$(ObjSuf) \
338 tmp/src/HEPEVTConverter.$(ObjSuf) \
339 tmp/src/SmearUtil.$(ObjSuf) \
340 tmp/src/TreeClasses.$(ObjSuf) \
341 tmp/src/LHEFConverter.$(ObjSuf) \
342 tmp/Utilities/ExRootAnalysis/src/ExRootTreeReader.$(ObjSuf) \
343 tmp/Utilities/ExRootAnalysis/src/ExRootTreeBranch.$(ObjSuf) \
344 tmp/Utilities/ExRootAnalysis/src/ExRootProgressBar.$(ObjSuf) \
345 tmp/Utilities/ExRootAnalysis/src/ExRootTreeWriter.$(ObjSuf) \
346 tmp/Utilities/ExRootAnalysis/src/BlockClasses.$(ObjSuf) \
347 tmp/Utilities/Hector/src/H_Parameters.$(ObjSuf) \
348 tmp/Utilities/Hector/src/H_HorizontalKicker.$(ObjSuf) \
349 tmp/Utilities/Hector/src/H_HorizontalQuadrupole.$(ObjSuf) \
350 tmp/Utilities/Hector/src/H_SectorDipole.$(ObjSuf) \
351 tmp/Utilities/Hector/src/H_RecRPObject.$(ObjSuf) \
352 tmp/Utilities/Hector/src/H_CircularAperture.$(ObjSuf) \
353 tmp/Utilities/Hector/src/H_RectEllipticAperture.$(ObjSuf) \
354 tmp/Utilities/Hector/src/H_AbstractBeamLine.$(ObjSuf) \
355 tmp/Utilities/Hector/src/H_TransportMatrices.$(ObjSuf) \
356 tmp/Utilities/Hector/src/H_Aperture.$(ObjSuf) \
357 tmp/Utilities/Hector/src/H_OpticalElement.$(ObjSuf) \
358 tmp/Utilities/Hector/src/H_BeamLine.$(ObjSuf) \
359 tmp/Utilities/Hector/src/H_BeamParticle.$(ObjSuf) \
360 tmp/Utilities/Hector/src/H_RectangularCollimator.$(ObjSuf) \
361 tmp/Utilities/Hector/src/H_RectangularDipole.$(ObjSuf) \
362 tmp/Utilities/Hector/src/H_BeamLineParser.$(ObjSuf) \
363 tmp/Utilities/Hector/src/H_Beam.$(ObjSuf) \
364 tmp/Utilities/Hector/src/H_Marker.$(ObjSuf) \
365 tmp/Utilities/Hector/src/H_Kicker.$(ObjSuf) \
366 tmp/Utilities/Hector/src/H_RomanPot.$(ObjSuf) \
367 tmp/Utilities/Hector/src/H_Drift.$(ObjSuf) \
368 tmp/Utilities/Hector/src/H_EllipticAperture.$(ObjSuf) \
369 tmp/Utilities/Hector/src/H_RectangularAperture.$(ObjSuf) \
370 tmp/Utilities/Hector/src/H_VerticalQuadrupole.$(ObjSuf) \
371 tmp/Utilities/Hector/src/H_Dipole.$(ObjSuf) \
372 tmp/Utilities/Hector/src/H_VerticalKicker.$(ObjSuf) \
373 tmp/Utilities/Hector/src/H_Quadrupole.$(ObjSuf) \
374 tmp/Utilities/Fastjet/src/ClosestPair2D.$(ObjSuf) \
375 tmp/Utilities/Fastjet/src/Dnn2piCylinder.$(ObjSuf) \
376 tmp/Utilities/Fastjet/src/ClusterSequenceActiveArea.$(ObjSuf) \
377 tmp/Utilities/Fastjet/src/ClusterSequence_TiledN2.$(ObjSuf) \
378 tmp/Utilities/Fastjet/src/ClusterSequence_CP2DChan.$(ObjSuf) \
379 tmp/Utilities/Fastjet/src/ClusterSequence_N2.$(ObjSuf) \
380 tmp/Utilities/Fastjet/src/ClusterSequencePassiveArea.$(ObjSuf) \
381 tmp/Utilities/Fastjet/src/GhostedAreaSpec.$(ObjSuf) \
382 tmp/Utilities/Fastjet/src/ClusterSequence.$(ObjSuf) \
383 tmp/Utilities/Fastjet/src/RangeDefinition.$(ObjSuf) \
384 tmp/Utilities/Fastjet/src/BasicRandom.$(ObjSuf) \
385 tmp/Utilities/Fastjet/src/ClusterSequenceArea.$(ObjSuf) \
386 tmp/Utilities/Fastjet/src/ClusterSequenceActiveAreaExplicitGhosts.$(ObjSuf) \
387 tmp/Utilities/Fastjet/src/PseudoJet.$(ObjSuf) \
388 tmp/Utilities/Fastjet/src/AreaDefinition.$(ObjSuf) \
389 tmp/Utilities/Fastjet/src/ClusterSequence_DumbN3.$(ObjSuf) \
390 tmp/Utilities/Fastjet/src/ClusterSequenceVoronoiArea.$(ObjSuf) \
391 tmp/Utilities/Fastjet/src/Dnn3piCylinder.$(ObjSuf) \
392 tmp/Utilities/Fastjet/src/Error.$(ObjSuf) \
393 tmp/Utilities/Fastjet/src/ClusterSequenceAreaBase.$(ObjSuf) \
394 tmp/Utilities/Fastjet/src/Dnn4piCylinder.$(ObjSuf) \
395 tmp/Utilities/Fastjet/src/ClusterSequence1GhostPassiveArea.$(ObjSuf) \
396 tmp/Utilities/Fastjet/src/JetDefinition.$(ObjSuf) \
397 tmp/Utilities/Fastjet/src/DnnPlane.$(ObjSuf) \
398 tmp/Utilities/Fastjet/src/ClusterSequence_Delaunay.$(ObjSuf) \
399 tmp/Utilities/Fastjet/src/MinHeap.$(ObjSuf) \
400 tmp/Utilities/Fastjet/src/Voronoi.$(ObjSuf) \
401 tmp/Utilities/Fastjet/plugins/CDFCones/CDFJetCluPlugin.$(ObjSuf) \
402 tmp/Utilities/Fastjet/plugins/CDFCones/CDFMidPointPlugin.$(ObjSuf) \
403 tmp/Utilities/Fastjet/plugins/CDFCones/src/Cluster.$(ObjSuf) \
404 tmp/Utilities/Fastjet/plugins/CDFCones/src/JetCluAlgorithm.$(ObjSuf) \
405 tmp/Utilities/Fastjet/plugins/CDFCones/src/ClusterComparisons.$(ObjSuf) \
406 tmp/Utilities/Fastjet/plugins/CDFCones/src/PhysicsTower.$(ObjSuf) \
407 tmp/Utilities/Fastjet/plugins/CDFCones/src/CalTower.$(ObjSuf) \
408 tmp/Utilities/Fastjet/plugins/CDFCones/src/LorentzVector.$(ObjSuf) \
409 tmp/Utilities/Fastjet/plugins/CDFCones/src/Centroid.$(ObjSuf) \
410 tmp/Utilities/Fastjet/plugins/CDFCones/src/MidPointAlgorithm.$(ObjSuf) \
411 tmp/Utilities/Fastjet/plugins/SISCone/SISConePlugin.$(ObjSuf) \
412 tmp/Utilities/Fastjet/plugins/SISCone/src/ranlux.$(ObjSuf) \
413 tmp/Utilities/Fastjet/plugins/SISCone/src/protocones.$(ObjSuf) \
414 tmp/Utilities/Fastjet/plugins/SISCone/src/vicinity.$(ObjSuf) \
415 tmp/Utilities/Fastjet/plugins/SISCone/src/siscone_error.$(ObjSuf) \
416 tmp/Utilities/Fastjet/plugins/SISCone/src/siscone.$(ObjSuf) \
417 tmp/Utilities/Fastjet/plugins/SISCone/src/area.$(ObjSuf) \
418 tmp/Utilities/Fastjet/plugins/SISCone/src/hash.$(ObjSuf) \
419 tmp/Utilities/Fastjet/plugins/SISCone/src/reference.$(ObjSuf) \
420 tmp/Utilities/Fastjet/plugins/SISCone/src/momentum.$(ObjSuf) \
421 tmp/Utilities/Fastjet/plugins/SISCone/src/geom_2d.$(ObjSuf) \
422 tmp/Utilities/Fastjet/plugins/SISCone/src/split_merge.$(ObjSuf) \
423 tmp/Utilities/Fastjet/plugins/SISCone/src/quadtree.$(ObjSuf) \
424 tmp/Examples/src/Analysis_Ex.$(ObjSuf)
425
426tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf): \
427 Utilities/mcfio/mcfio_Direct.c
428tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf): \
429 Utilities/mcfio/mcfio_Block.c
430tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf): \
431 Utilities/mcfio/mcf_evt_xdr.c
432tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf): \
433 Utilities/mcfio/mcf_NTuIOUtils.c
434tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf): \
435 Utilities/mcfio/mcf_NTuIOFiles.c
436tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf): \
437 Utilities/mcfio/mcfio_Util1.c
438tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf): \
439 Utilities/mcfio/mcf_ntubldInit.c
440tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf): \
441 Utilities/mcfio/mcfio_UserDictionary.c
442tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf): \
443 Utilities/mcfio/mcf_ntuBldDbinc.c
444tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf): \
445 Utilities/mcfio/mcfio_SeqDummy.c
446tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf): \
447 Utilities/stdhep/mcf_hepup_xdr.c \
448 Utilities/mcfio/mcfio_Dict.h \
449 Utilities/mcfio/mcf_xdr.h \
450 Utilities/stdhep/hepeup.h \
451 Utilities/stdhep/heprup.h \
452 Utilities/stdhep/stdver.h
453tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf): \
454 Utilities/stdhep/mcf_hepev4_xdr.c \
455 Utilities/mcfio/mcfio_Dict.h \
456 Utilities/mcfio/mcf_xdr.h \
457 Utilities/stdhep/stdhep.h \
458 Utilities/stdhep/hepev4.h \
459 Utilities/stdhep/stdtmp.h \
460 Utilities/stdhep/stdver.h
461tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf): \
462 Utilities/stdhep/mcf_stdcm1_xdr.c \
463 Utilities/mcfio/mcfio_Dict.h \
464 Utilities/mcfio/mcf_xdr.h \
465 Utilities/stdhep/stdcm1.h \
466 Utilities/stdhep/stdver.h
467tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf): \
468 Utilities/stdhep/stdhep_internal_utils.c \
469 Utilities/stdhep/stdhep.h \
470 Utilities/stdhep/hepev4.h \
471 Utilities/stdhep/stdtmp.h \
472 Utilities/stdhep/hepeup.h
473tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf): \
474 Utilities/stdhep/stdhep_mcfio.c \
475 Utilities/mcfio/mcf_xdr.h \
476 Utilities/mcfio/mcfio_Block.h \
477 Utilities/mcfio/mcfio_Dict.h \
478 Utilities/mcfio/mcfio_Direct.h \
479 Utilities/mcfio/mcfio_Util1.h \
480 Utilities/stdhep/stdhep.h \
481 Utilities/stdhep/hepev4.h \
482 Utilities/stdhep/hepeup.h \
483 Utilities/stdhep/heprup.h \
484 Utilities/stdhep/stdtmp.h \
485 Utilities/stdhep/stdhd.h \
486 Utilities/stdhep/stdcnt.h \
487 Utilities/stdhep/stdhep_mcfio.h
488tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf): \
489 Utilities/stdhep/mcf_Stdhep_xdr.c \
490 Utilities/mcfio/mcfio_Dict.h \
491 Utilities/mcfio/mcf_xdr.h \
492 Utilities/stdhep/stdhep.h \
493 Utilities/stdhep/stdtmp.h \
494 Utilities/stdhep/stdver.h
495STDHEP_OBJ = \
496 tmp/Utilities/mcfio/mcfio_Direct.$(ObjSuf) \
497 tmp/Utilities/mcfio/mcfio_Block.$(ObjSuf) \
498 tmp/Utilities/mcfio/mcf_evt_xdr.$(ObjSuf) \
499 tmp/Utilities/mcfio/mcf_NTuIOUtils.$(ObjSuf) \
500 tmp/Utilities/mcfio/mcf_NTuIOFiles.$(ObjSuf) \
501 tmp/Utilities/mcfio/mcfio_Util1.$(ObjSuf) \
502 tmp/Utilities/mcfio/mcf_ntubldInit.$(ObjSuf) \
503 tmp/Utilities/mcfio/mcfio_UserDictionary.$(ObjSuf) \
504 tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf) \
505 tmp/Utilities/mcfio/mcfio_SeqDummy.$(ObjSuf) \
506 tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf) \
507 tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf) \
508 tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf) \
509 tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf) \
510 tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf) \
511 tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf)
512
513interface/TriggerUtil.h: \
514 Utilities/ExRootAnalysis/interface/BlockClasses.h \
515 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
516 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h
517 @touch $@
518
519interface/DataConverter.h: \
520 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
521 Utilities/ExRootAnalysis/interface/LHEF.h
522 @touch $@
523
524interface/JetUtils.h: \
525 interface/SmearUtil.h \
526 Utilities/ExRootAnalysis/interface/BlockClasses.h \
527 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
528 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \
529 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
530 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
531 Utilities/Fastjet/plugins/CDFCones/interface/PhysicsTower.hh \
532 Utilities/Fastjet/include/fastjet/PseudoJet.hh \
533 Utilities/Fastjet/include/fastjet/ClusterSequence.hh \
534 Utilities/Fastjet/include/fastjet/config.h
535 @touch $@
536
537interface/HEPEVTConverter.h: \
538 Utilities/ExRootAnalysis/interface/BlockClasses.h \
539 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
540 interface/DataConverter.h
541 @touch $@
542
543interface/SmearUtil.h: \
544 Utilities/ExRootAnalysis/interface/BlockClasses.h \
545 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
546 Utilities/Fastjet/plugins/CDFCones/interface/PhysicsTower.hh
547 @touch $@
548
549interface/TreeClasses.h: \
550 Utilities/ExRootAnalysis/interface/BlockCompare.h \
551 Utilities/ExRootAnalysis/interface/BlockClasses.h
552 @touch $@
553
554interface/BFieldProp.h: \
555 interface/SmearUtil.h \
556 Utilities/ExRootAnalysis/interface/BlockClasses.h \
557 Utilities/ExRootAnalysis/interface/TSimpleArray.h
558 @touch $@
559
560interface/LHEFConverter.h: \
561 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
562 Utilities/ExRootAnalysis/interface/LHEF.h \
563 interface/DataConverter.h
564 @touch $@
565
566Utilities/Fastjet/include/fastjet/Error.hh: \
567 Utilities/Fastjet/include/fastjet/internal/base.hh
568 @touch $@
569
570Utilities/Fastjet/include/fastjet/ClusterSequence.hh: \
571 Utilities/Fastjet/include/fastjet/internal/DynamicNearestNeighbours.hh \
572 Utilities/Fastjet/include/fastjet/PseudoJet.hh \
573 Utilities/Fastjet/include/fastjet/Error.hh \
574 Utilities/Fastjet/include/fastjet/JetDefinition.hh
575 @touch $@
576
577Utilities/stdhep/stdhep_declarations.h: \
578 Utilities/stdhep/stdhep.h \
579 Utilities/stdhep/hepev4.h \
580 Utilities/stdhep/hepeup.h \
581 Utilities/stdhep/heprup.h \
582 Utilities/stdhep/stdtmp.h \
583 Utilities/stdhep/stdhd.h \
584 Utilities/stdhep/stdcnt.h \
585 Utilities/stdhep/stdcm1.h \
586 Utilities/stdhep/stdver.h
587 @touch $@
588
589interface/VeryForward.h: \
590 interface/SmearUtil.h \
591 Utilities/ExRootAnalysis/interface/BlockClasses.h \
592 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
593 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \
594 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \
595 Utilities/Fastjet/plugins/CDFCones/interface/PhysicsTower.hh
596 @touch $@
597
598Utilities/ExRootAnalysis/interface/BlockClasses.h: \
599 Utilities/ExRootAnalysis/interface/BlockCompare.h
600 @touch $@
601
602interface/STDHEPConverter.h: \
603 Utilities/ExRootAnalysis/interface/BlockClasses.h \
604 Utilities/ExRootAnalysis/interface/TSimpleArray.h \
605 Utilities/ExRootAnalysis/interface/LHEF.h \
606 interface/DataConverter.h
607 @touch $@
608
609Utilities/Fastjet/include/fastjet/PseudoJet.hh: \
610 Utilities/Fastjet/include/fastjet/internal/numconsts.hh
611 @touch $@
612
613
614
615###
616
617all: $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
618
619$(SHARED): $(DICT_OBJ) $(SOURCE_OBJ)
620 @mkdir -p $(@D)
621 @echo ">> Building $@"
622ifeq ($(ARCH),aix)
623 @/usr/ibmcxx/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
624else
625ifeq ($(ARCH),aix5)
626 @/usr/vacpp/bin/makeC++SharedLib $(OutPutOpt) $@ $(LIBS) -p 0 $^
627else
628ifeq ($(PLATFORM),macosx)
629# We need to make both the .dylib and the .so
630 @$(LD) $(SOFLAGS) $^ $(OutPutOpt) $@
631 @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt) $(subst .$(DllSuf),.so,$@)
632else
633ifeq ($(PLATFORM),win32)
634 @bindexplib $* $^ > $*.def
635 @lib -nologo -MACHINE:IX86 $^ -def:$*.def $(OutPutOpt)$(EVENTLIB)
636 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $*.exp $(LIBS) $(OutPutOpt)$@
637 @$(MT_DLL)
638else
639 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
640 @$(MT_DLL)
641endif
642endif
643endif
644endif
645
646clean:
647 @rm -f $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ) core
648
649distclean: clean
650 @rm -f $(SHARED) $(EXECUTABLE) $(STDHEP_EXECUTABLE)
651
652###
653
654.SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf)
655
656%Dict.$(SrcSuf):
657 @mkdir -p $(@D)
658 @echo ">> Generating $@"
659 @rootcint -f $@ -c $<
660 @echo "#define private public" > $@.arch
661 @echo "#define protected public" >> $@.arch
662 @mv $@ $@.base
663 @cat $@.arch $< $@.base > $@
664 @rm $@.arch $@.base
665
666$(SOURCE_OBJ): tmp/%.$(ObjSuf): %.$(SrcSuf)
667 @mkdir -p $(@D)
668 @echo ">> Compiling $<"
669 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
670
671$(DICT_OBJ): %.$(ObjSuf): %.$(SrcSuf)
672 @mkdir -p $(@D)
673 @echo ">> Compiling $<"
674 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
675
676$(STDHEP_OBJ): tmp/%.$(ObjSuf): %.c
677 @mkdir -p $(@D)
678 @echo ">> Compiling $<"
679 @gcc $(CXXFLAGS) -c $< $(OutPutOpt)$@
680
681$(STDHEP_EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
682 @mkdir -p $(@D)
683 @echo ">> Compiling $<"
684 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
685
686$(EXECUTABLE_OBJ): tmp/%.$(ObjSuf): %.cpp
687 @mkdir -p $(@D)
688 @echo ">> Compiling $<"
689 @$(CXX) $(CXXFLAGS) -c $< $(OutPutOpt)$@
690
691$(EXECUTABLE): %$(ExeSuf): $(DICT_OBJ) $(SOURCE_OBJ) $(STDHEP_OBJ)
692 @echo ">> Building $@"
693 @$(LD) $(LDFLAGS) $^ $(LIBS) $(OutPutOpt)$@
694
695###
696
697
Note: See TracBrowser for help on using the repository browser.