- Timestamp:
- Jul 4, 2013, 1:04:19 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 0d60c9d
- Parents:
- eced822
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
reced822 raf9008e 19 19 DELPHES_LIBS = $(shell $(RC) --libs) -lEG $(SYSLIBS) 20 20 DISPLAY_LIBS = $(shell $(RC) --evelibs) $(SYSLIBS) 21 22 ifneq ($(CMSSW_FWLITE_INCLUDE_PATH),) 23 HAS_CMSSW = true 24 CXXFLAGS += $(subst :, -I,$(CMSSW_FWLITE_INCLUDE_PATH)) 25 DELPHES_LIBS += $(subst include,lib,$(subst :, -L,$(CMSSW_FWLITE_INCLUDE_PATH)) 26 ifneq ($(CMSSW_RELEASE_BASE),) 27 CXXFLAGS += -I$(CMSSW_RELEASE_BASE)/src 28 endif 29 ifneq ($(LD_LIBRARY_PATH),) 30 DELPHES_LIBS += $(subst include,lib,$(subst :, -L,$(LD_LIBRARY_PATH)) 31 endif 32 DELPHES_LIBS += -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lCommonToolsUtils 33 endif 34 35 ifneq ($(PROMC),) 36 HAS_PROMC = true 37 CXXFLAGS += -I$(PROMC)/include 38 DELPHES_LIBS += -L$(PROMC)/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz 39 endif 21 40 22 41 ifneq ($(PYTHIA8),) … … 47 66 48 67 49 DelphesLHEF$(ExeSuf): \50 tmp/readers/DelphesLHEF.$(ObjSuf)51 52 tmp/readers/DelphesLHEF.$(ObjSuf): \53 readers/DelphesLHEF.cpp \54 modules/Delphes.h \55 classes/DelphesClasses.h \56 classes/DelphesFactory.h \57 classes/DelphesLHEFReader.h \58 external/ExRootAnalysis/ExRootTreeWriter.h \59 external/ExRootAnalysis/ExRootTreeBranch.h \60 external/ExRootAnalysis/ExRootProgressBar.h61 DelphesHepMC$(ExeSuf): \62 tmp/readers/DelphesHepMC.$(ObjSuf)63 64 tmp/readers/DelphesHepMC.$(ObjSuf): \65 readers/DelphesHepMC.cpp \66 modules/Delphes.h \67 classes/DelphesClasses.h \68 classes/DelphesFactory.h \69 classes/DelphesHepMCReader.h \70 external/ExRootAnalysis/ExRootTreeWriter.h \71 external/ExRootAnalysis/ExRootTreeBranch.h \72 external/ExRootAnalysis/ExRootProgressBar.h73 DelphesSTDHEP$(ExeSuf): \74 tmp/readers/DelphesSTDHEP.$(ObjSuf)75 76 tmp/readers/DelphesSTDHEP.$(ObjSuf): \77 readers/DelphesSTDHEP.cpp \78 modules/Delphes.h \79 classes/DelphesClasses.h \80 classes/DelphesFactory.h \81 classes/DelphesSTDHEPReader.h \82 external/ExRootAnalysis/ExRootTreeWriter.h \83 external/ExRootAnalysis/ExRootTreeBranch.h \84 external/ExRootAnalysis/ExRootProgressBar.h85 68 lhco2root$(ExeSuf): \ 86 69 tmp/converters/lhco2root.$(ObjSuf) … … 159 142 external/ExRootAnalysis/ExRootResult.h \ 160 143 external/ExRootAnalysis/ExRootUtilities.h 161 EXECUTABLE = \ 162 DelphesLHEF$(ExeSuf) \ 163 DelphesHepMC$(ExeSuf) \ 164 DelphesSTDHEP$(ExeSuf) \ 144 EXECUTABLE += \ 165 145 lhco2root$(ExeSuf) \ 166 146 root2pileup$(ExeSuf) \ … … 171 151 Example1$(ExeSuf) 172 152 173 EXECUTABLE_OBJ = \ 174 tmp/readers/DelphesLHEF.$(ObjSuf) \ 175 tmp/readers/DelphesHepMC.$(ObjSuf) \ 176 tmp/readers/DelphesSTDHEP.$(ObjSuf) \ 153 EXECUTABLE_OBJ += \ 177 154 tmp/converters/lhco2root.$(ObjSuf) \ 178 155 tmp/converters/root2pileup.$(ObjSuf) \ … … 182 159 tmp/converters/pileup2root.$(ObjSuf) \ 183 160 tmp/examples/Example1.$(ObjSuf) 161 162 DelphesHepMC$(ExeSuf): \ 163 tmp/readers/DelphesHepMC.$(ObjSuf) 164 165 tmp/readers/DelphesHepMC.$(ObjSuf): \ 166 readers/DelphesHepMC.cpp \ 167 modules/Delphes.h \ 168 classes/DelphesClasses.h \ 169 classes/DelphesFactory.h \ 170 classes/DelphesHepMCReader.h \ 171 external/ExRootAnalysis/ExRootTreeWriter.h \ 172 external/ExRootAnalysis/ExRootTreeBranch.h \ 173 external/ExRootAnalysis/ExRootProgressBar.h 174 DelphesLHEF$(ExeSuf): \ 175 tmp/readers/DelphesLHEF.$(ObjSuf) 176 177 tmp/readers/DelphesLHEF.$(ObjSuf): \ 178 readers/DelphesLHEF.cpp \ 179 modules/Delphes.h \ 180 classes/DelphesClasses.h \ 181 classes/DelphesFactory.h \ 182 classes/DelphesLHEFReader.h \ 183 external/ExRootAnalysis/ExRootTreeWriter.h \ 184 external/ExRootAnalysis/ExRootTreeBranch.h \ 185 external/ExRootAnalysis/ExRootProgressBar.h 186 DelphesSTDHEP$(ExeSuf): \ 187 tmp/readers/DelphesSTDHEP.$(ObjSuf) 188 189 tmp/readers/DelphesSTDHEP.$(ObjSuf): \ 190 readers/DelphesSTDHEP.cpp \ 191 modules/Delphes.h \ 192 classes/DelphesClasses.h \ 193 classes/DelphesFactory.h \ 194 classes/DelphesSTDHEPReader.h \ 195 external/ExRootAnalysis/ExRootTreeWriter.h \ 196 external/ExRootAnalysis/ExRootTreeBranch.h \ 197 external/ExRootAnalysis/ExRootProgressBar.h 198 EXECUTABLE += \ 199 DelphesHepMC$(ExeSuf) \ 200 DelphesLHEF$(ExeSuf) \ 201 DelphesSTDHEP$(ExeSuf) 202 203 EXECUTABLE_OBJ += \ 204 tmp/readers/DelphesHepMC.$(ObjSuf) \ 205 tmp/readers/DelphesLHEF.$(ObjSuf) \ 206 tmp/readers/DelphesSTDHEP.$(ObjSuf) 207 208 ifeq ($(HAS_CMSSW),true) 209 DelphesCMSFWLite$(ExeSuf): \ 210 tmp/readers/DelphesCMSFWLite.$(ObjSuf) 211 212 tmp/readers/DelphesCMSFWLite.$(ObjSuf): \ 213 readers/DelphesCMSFWLite.cpp \ 214 modules/Delphes.h \ 215 classes/DelphesStream.h \ 216 classes/DelphesClasses.h \ 217 classes/DelphesFactory.h \ 218 external/ExRootAnalysis/ExRootTreeWriter.h \ 219 external/ExRootAnalysis/ExRootTreeBranch.h \ 220 external/ExRootAnalysis/ExRootProgressBar.h 221 EXECUTABLE += \ 222 DelphesCMSFWLite$(ExeSuf) 223 224 EXECUTABLE_OBJ += \ 225 tmp/readers/DelphesCMSFWLite.$(ObjSuf) 226 227 endif 228 229 ifeq ($(HAS_PROMC),true) 230 DelphesProMC$(ExeSuf): \ 231 tmp/readers/DelphesProMC.$(ObjSuf) 232 233 tmp/readers/DelphesProMC.$(ObjSuf): \ 234 readers/DelphesProMC.cpp \ 235 modules/Delphes.h \ 236 classes/DelphesStream.h \ 237 classes/DelphesClasses.h \ 238 classes/DelphesFactory.h \ 239 external/ExRootAnalysis/ExRootTreeWriter.h \ 240 external/ExRootAnalysis/ExRootTreeBranch.h \ 241 external/ExRootAnalysis/ExRootProgressBar.h \ 242 external/ProMC/ProMCBook.h 243 EXECUTABLE += \ 244 DelphesProMC$(ExeSuf) 245 246 EXECUTABLE_OBJ += \ 247 tmp/readers/DelphesProMC.$(ObjSuf) 248 249 tmp/external/ProMC/ProMCBook.$(ObjSuf): \ 250 external/ProMC/ProMCBook.$(SrcSuf) 251 tmp/external/ProMC/ProMC.pb.$(ObjSuf): \ 252 external/ProMC/ProMC.pb.$(SrcSuf) 253 tmp/external/ProMC/ProMCStat.pb.$(ObjSuf): \ 254 external/ProMC/ProMCStat.pb.$(SrcSuf) 255 tmp/external/ProMC/ProMCHeader.pb.$(ObjSuf): \ 256 external/ProMC/ProMCHeader.pb.$(SrcSuf) 257 tmp/external/ProMC/ProMCDescription.pb.$(ObjSuf): \ 258 external/ProMC/ProMCDescription.pb.$(SrcSuf) 259 DELPHES_OBJ += \ 260 tmp/external/ProMC/ProMCBook.$(ObjSuf) \ 261 tmp/external/ProMC/ProMC.pb.$(ObjSuf) \ 262 tmp/external/ProMC/ProMCStat.pb.$(ObjSuf) \ 263 tmp/external/ProMC/ProMCHeader.pb.$(ObjSuf) \ 264 tmp/external/ProMC/ProMCDescription.pb.$(ObjSuf) 265 266 ifeq ($(HAS_PYTHIA8),true) 267 DELPHES_OBJ += \ 268 269 endif 270 271 endif 272 273 ifeq ($(HAS_PYTHIA8),true) 274 DelphesPythia8$(ExeSuf): \ 275 tmp/readers/DelphesPythia8.$(ObjSuf) 276 277 tmp/readers/DelphesPythia8.$(ObjSuf): \ 278 readers/DelphesPythia8.cpp \ 279 modules/Delphes.h \ 280 classes/DelphesClasses.h \ 281 classes/DelphesFactory.h \ 282 external/ExRootAnalysis/ExRootTreeWriter.h \ 283 external/ExRootAnalysis/ExRootTreeBranch.h \ 284 external/ExRootAnalysis/ExRootProgressBar.h 285 EXECUTABLE += \ 286 DelphesPythia8$(ExeSuf) 287 288 EXECUTABLE_OBJ += \ 289 tmp/readers/DelphesPythia8.$(ObjSuf) 290 291 endif 184 292 185 293 tmp/classes/ClassesDict.$(SrcSuf): \ … … 795 903 external/fastjet/ClusterSequence.hh \ 796 904 external/fastjet/NNH.hh 797 DELPHES_OBJ = \905 DELPHES_OBJ += \ 798 906 tmp/classes/DelphesHepMCReader.$(ObjSuf) \ 799 907 tmp/classes/DelphesLHEFReader.$(ObjSuf) \ … … 923 1031 display/DelphesCaloData.$(SrcSuf) \ 924 1032 display/DelphesCaloData.h 925 DISPLAY_OBJ = \1033 DISPLAY_OBJ += \ 926 1034 tmp/display/DelphesDisplay.$(ObjSuf) \ 927 1035 tmp/display/DelphesCaloData.$(ObjSuf)
Note:
See TracChangeset
for help on using the changeset viewer.