Fork me on GitHub

source: svn/trunk/Makefile@ 547

Last change on this file since 547 was 547, checked in by severine ovyn, 15 years ago

bug fix(jet Ntracks), 3-prong taus, vertex coordinates for tracks

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