Fork me on GitHub

Changeset d612dec in git for Makefile


Ignore:
Timestamp:
Dec 9, 2021, 7:52:15 AM (3 years ago)
Author:
christinaw97 <christina.wang@…>
Children:
29b722a
Parents:
a5af1df (diff), 0c0c9af (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of github.com:Christinaw97/delphes into HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    ra5af1df rd612dec  
    9090DISPLAYLIB = libDelphesDisplay.lib
    9191
    92 VERSION = $(shell cat VERSION)
     92VERSION = x.y.z
    9393DISTDIR = Delphes-$(VERSION)
    9494DISTTAR = $(DISTDIR).tar.gz
     
    104104        classes/DelphesClasses.h \
    105105        classes/DelphesFactory.h \
    106         classes/DelphesHepMCReader.h \
     106        classes/DelphesHepMC2Reader.h \
    107107        classes/DelphesPileUpWriter.h \
    108108        external/ExRootAnalysis/ExRootProgressBar.h \
     
    214214        tmp/validation/DelphesValidation.$(ObjSuf)
    215215
    216 DelphesHepMC$(ExeSuf): \
    217         tmp/readers/DelphesHepMC.$(ObjSuf)
    218 
    219 tmp/readers/DelphesHepMC.$(ObjSuf): \
    220         readers/DelphesHepMC.cpp \
    221         classes/DelphesClasses.h \
    222         classes/DelphesFactory.h \
    223         classes/DelphesHepMCReader.h \
     216DelphesHepMC2$(ExeSuf): \
     217        tmp/readers/DelphesHepMC2.$(ObjSuf)
     218
     219tmp/readers/DelphesHepMC2.$(ObjSuf): \
     220        readers/DelphesHepMC2.cpp \
     221        classes/DelphesClasses.h \
     222        classes/DelphesFactory.h \
     223        classes/DelphesHepMC2Reader.h \
     224        modules/Delphes.h \
     225        external/ExRootAnalysis/ExRootProgressBar.h \
     226        external/ExRootAnalysis/ExRootTreeBranch.h \
     227        external/ExRootAnalysis/ExRootTreeWriter.h
     228DelphesHepMC3$(ExeSuf): \
     229        tmp/readers/DelphesHepMC3.$(ObjSuf)
     230
     231tmp/readers/DelphesHepMC3.$(ObjSuf): \
     232        readers/DelphesHepMC3.cpp \
     233        classes/DelphesClasses.h \
     234        classes/DelphesFactory.h \
     235        classes/DelphesHepMC3Reader.h \
    224236        modules/Delphes.h \
    225237        external/ExRootAnalysis/ExRootProgressBar.h \
     
    264276        external/ExRootAnalysis/ExRootTreeWriter.h
    265277EXECUTABLE +=  \
    266         DelphesHepMC$(ExeSuf) \
     278        DelphesHepMC2$(ExeSuf) \
     279        DelphesHepMC3$(ExeSuf) \
    267280        DelphesLHEF$(ExeSuf) \
    268281        DelphesROOT$(ExeSuf) \
     
    270283
    271284EXECUTABLE_OBJ +=  \
    272         tmp/readers/DelphesHepMC.$(ObjSuf) \
     285        tmp/readers/DelphesHepMC2.$(ObjSuf) \
     286        tmp/readers/DelphesHepMC3.$(ObjSuf) \
    273287        tmp/readers/DelphesLHEF.$(ObjSuf) \
    274288        tmp/readers/DelphesROOT.$(ObjSuf) \
     
    409423        modules/MomentumSmearing.h \
    410424        modules/TrackSmearing.h \
     425        modules/TrackCovariance.h \
     426        modules/ClusterCounting.h \
    411427        modules/ImpactParameterSmearing.h \
    412428        modules/TimeSmearing.h \
     429        modules/TimeOfFlight.h \
    413430        modules/SimpleCalorimeter.h \
    414431        modules/DenseTrackFilter.h \
     
    445462        modules/VertexFinder.h \
    446463        modules/VertexFinderDA4D.h \
    447         modules/ExampleModule.h \
    448464        modules/LLPFilter.h \
    449465        modules/CscClusterEfficiency.h \
    450         modules/CscClusterId.h
     466        modules/CscClusterId.h \
     467        modules/DecayFilter.h \
     468        modules/ParticleDensity.h \
     469        modules/TruthVertexFinder.h \
     470        modules/ExampleModule.h
    451471tmp/modules/ModulesDict$(PcmSuf): \
    452472        tmp/modules/ModulesDict.$(SrcSuf)
     
    512532tmp/classes/DelphesFormula.$(ObjSuf): \
    513533        classes/DelphesFormula.$(SrcSuf) \
    514         classes/DelphesFormula.h
    515 tmp/classes/DelphesHepMCReader.$(ObjSuf): \
    516         classes/DelphesHepMCReader.$(SrcSuf) \
    517         classes/DelphesHepMCReader.h \
     534        classes/DelphesFormula.h \
     535        classes/DelphesClasses.h
     536tmp/classes/DelphesHepMC2Reader.$(ObjSuf): \
     537        classes/DelphesHepMC2Reader.$(SrcSuf) \
     538        classes/DelphesHepMC2Reader.h \
     539        classes/DelphesClasses.h \
     540        classes/DelphesFactory.h \
     541        classes/DelphesStream.h \
     542        external/ExRootAnalysis/ExRootTreeBranch.h
     543tmp/classes/DelphesHepMC3Reader.$(ObjSuf): \
     544        classes/DelphesHepMC3Reader.$(SrcSuf) \
     545        classes/DelphesHepMC3Reader.h \
    518546        classes/DelphesClasses.h \
    519547        classes/DelphesFactory.h \
     
    648676tmp/external/Hector/H_VerticalQuadrupole.$(ObjSuf): \
    649677        external/Hector/H_VerticalQuadrupole.$(SrcSuf)
     678tmp/external/TrackCovariance/AcceptanceClx.$(ObjSuf): \
     679        external/TrackCovariance/AcceptanceClx.$(SrcSuf)
     680tmp/external/TrackCovariance/ObsTrk.$(ObjSuf): \
     681        external/TrackCovariance/ObsTrk.$(SrcSuf)
     682tmp/external/TrackCovariance/SolGeom.$(ObjSuf): \
     683        external/TrackCovariance/SolGeom.$(SrcSuf)
     684tmp/external/TrackCovariance/SolGridCov.$(ObjSuf): \
     685        external/TrackCovariance/SolGridCov.$(SrcSuf)
     686tmp/external/TrackCovariance/SolTrack.$(ObjSuf): \
     687        external/TrackCovariance/SolTrack.$(SrcSuf)
     688tmp/external/TrackCovariance/TrkUtil.$(ObjSuf): \
     689        external/TrackCovariance/TrkUtil.$(SrcSuf)
     690tmp/external/TrackCovariance/VertexFit.$(ObjSuf): \
     691        external/TrackCovariance/VertexFit.$(SrcSuf)
    650692tmp/modules/AngularSmearing.$(ObjSuf): \
    651693        modules/AngularSmearing.$(SrcSuf) \
     
    690732        external/ExRootAnalysis/ExRootFilter.h \
    691733        external/ExRootAnalysis/ExRootResult.h
     734tmp/modules/ClusterCounting.$(ObjSuf): \
     735        modules/ClusterCounting.$(SrcSuf) \
     736        modules/ClusterCounting.h \
     737        classes/DelphesClasses.h \
     738        external/TrackCovariance/TrkUtil.h
    692739tmp/modules/ConstituentFilter.$(ObjSuf): \
    693         modules/ConstituentFilter.$(SrcSuf) \
    694         modules/ConstituentFilter.h \
    695         classes/DelphesClasses.h \
    696         classes/DelphesFactory.h \
    697         classes/DelphesFormula.h \
    698         external/ExRootAnalysis/ExRootClassifier.h \
    699         external/ExRootAnalysis/ExRootFilter.h \
    700         external/ExRootAnalysis/ExRootResult.h
     740        modules/ConstituentFilter.$(SrcSuf) \
     741        modules/ConstituentFilter.h \
     742        classes/DelphesClasses.h \
     743        classes/DelphesFactory.h \
     744        classes/DelphesFormula.h \
     745        external/ExRootAnalysis/ExRootClassifier.h \
     746        external/ExRootAnalysis/ExRootFilter.h \
     747        external/ExRootAnalysis/ExRootResult.h
    701748tmp/modules/CscClusterEfficiency.$(ObjSuf): \
    702749        modules/CscClusterEfficiency.$(SrcSuf) \
     
    711758        modules/CscClusterId.$(SrcSuf) \
    712759        modules/CscClusterId.h \
     760        classes/DelphesClasses.h \
     761        classes/DelphesFactory.h \
     762        classes/DelphesFormula.h \
     763        external/ExRootAnalysis/ExRootClassifier.h \
     764        external/ExRootAnalysis/ExRootFilter.h \
     765        external/ExRootAnalysis/ExRootResult.h
     766tmp/modules/DecayFilter.$(ObjSuf): \
     767        modules/DecayFilter.$(SrcSuf) \
     768        modules/DecayFilter.h \
    713769        classes/DelphesClasses.h \
    714770        classes/DelphesFactory.h \
     
    893949        external/ExRootAnalysis/ExRootFilter.h \
    894950        external/ExRootAnalysis/ExRootResult.h
     951tmp/modules/ParticleDensity.$(ObjSuf): \
     952        modules/ParticleDensity.$(SrcSuf) \
     953        modules/ParticleDensity.h \
     954        classes/DelphesClasses.h \
     955        classes/DelphesFactory.h \
     956        classes/DelphesFormula.h \
     957        external/ExRootAnalysis/ExRootClassifier.h \
     958        external/ExRootAnalysis/ExRootFilter.h \
     959        external/ExRootAnalysis/ExRootResult.h
    895960tmp/modules/ParticlePropagator.$(ObjSuf): \
    896961        modules/ParticlePropagator.$(SrcSuf) \
     
    10011066        classes/DelphesFactory.h \
    10021067        classes/DelphesFormula.h
     1068tmp/modules/TimeOfFlight.$(ObjSuf): \
     1069        modules/TimeOfFlight.$(SrcSuf) \
     1070        modules/TimeOfFlight.h \
     1071        classes/DelphesClasses.h \
     1072        classes/DelphesFactory.h \
     1073        classes/DelphesFormula.h \
     1074        external/ExRootAnalysis/ExRootClassifier.h \
     1075        external/ExRootAnalysis/ExRootFilter.h \
     1076        external/ExRootAnalysis/ExRootResult.h
    10031077tmp/modules/TimeSmearing.$(ObjSuf): \
    10041078        modules/TimeSmearing.$(SrcSuf) \
     
    10251099        external/ExRootAnalysis/ExRootFilter.h \
    10261100        external/ExRootAnalysis/ExRootResult.h
     1101tmp/modules/TrackCovariance.$(ObjSuf): \
     1102        modules/TrackCovariance.$(SrcSuf) \
     1103        modules/TrackCovariance.h \
     1104        classes/DelphesClasses.h \
     1105        external/TrackCovariance/SolGeom.h \
     1106        external/TrackCovariance/SolGridCov.h \
     1107        external/TrackCovariance/ObsTrk.h
    10271108tmp/modules/TrackPileUpSubtractor.$(ObjSuf): \
    10281109        modules/TrackPileUpSubtractor.$(SrcSuf) \
     
    10531134        external/ExRootAnalysis/ExRootResult.h \
    10541135        external/ExRootAnalysis/ExRootTreeBranch.h
     1136tmp/modules/TruthVertexFinder.$(ObjSuf): \
     1137        modules/TruthVertexFinder.$(SrcSuf) \
     1138        modules/TruthVertexFinder.h \
     1139        classes/DelphesClasses.h \
     1140        classes/DelphesFactory.h \
     1141        classes/DelphesPileUpReader.h \
     1142        classes/DelphesTF2.h \
     1143        external/ExRootAnalysis/ExRootClassifier.h \
     1144        external/ExRootAnalysis/ExRootFilter.h \
     1145        external/ExRootAnalysis/ExRootResult.h
    10551146tmp/modules/UniqueObjectFinder.$(ObjSuf): \
    10561147        modules/UniqueObjectFinder.$(SrcSuf) \
     
    11061197        tmp/classes/DelphesFactory.$(ObjSuf) \
    11071198        tmp/classes/DelphesFormula.$(ObjSuf) \
    1108         tmp/classes/DelphesHepMCReader.$(ObjSuf) \
     1199        tmp/classes/DelphesHepMC2Reader.$(ObjSuf) \
     1200        tmp/classes/DelphesHepMC3Reader.$(ObjSuf) \
    11091201        tmp/classes/DelphesLHEFReader.$(ObjSuf) \
    11101202        tmp/classes/DelphesModule.$(ObjSuf) \
     
    11521244        tmp/external/Hector/H_VerticalKicker.$(ObjSuf) \
    11531245        tmp/external/Hector/H_VerticalQuadrupole.$(ObjSuf) \
     1246        tmp/external/TrackCovariance/AcceptanceClx.$(ObjSuf) \
     1247        tmp/external/TrackCovariance/ObsTrk.$(ObjSuf) \
     1248        tmp/external/TrackCovariance/SolGeom.$(ObjSuf) \
     1249        tmp/external/TrackCovariance/SolGridCov.$(ObjSuf) \
     1250        tmp/external/TrackCovariance/SolTrack.$(ObjSuf) \
     1251        tmp/external/TrackCovariance/TrkUtil.$(ObjSuf) \
     1252        tmp/external/TrackCovariance/VertexFit.$(ObjSuf) \
    11541253        tmp/modules/AngularSmearing.$(ObjSuf) \
    11551254        tmp/modules/BTagging.$(ObjSuf) \
     
    11571256        tmp/modules/Calorimeter.$(ObjSuf) \
    11581257        tmp/modules/Cloner.$(ObjSuf) \
     1258        tmp/modules/ClusterCounting.$(ObjSuf) \
    11591259        tmp/modules/ConstituentFilter.$(ObjSuf) \
    11601260        tmp/modules/CscClusterEfficiency.$(ObjSuf) \
    11611261        tmp/modules/CscClusterId.$(ObjSuf) \
     1262        tmp/modules/DecayFilter.$(ObjSuf) \
    11621263        tmp/modules/Delphes.$(ObjSuf) \
    11631264        tmp/modules/DenseTrackFilter.$(ObjSuf) \
     
    11791280        tmp/modules/MomentumSmearing.$(ObjSuf) \
    11801281        tmp/modules/OldCalorimeter.$(ObjSuf) \
     1282        tmp/modules/ParticleDensity.$(ObjSuf) \
    11811283        tmp/modules/ParticlePropagator.$(ObjSuf) \
    11821284        tmp/modules/PdgCodeFilter.$(ObjSuf) \
     
    11901292        tmp/modules/TaggingParticlesSkimmer.$(ObjSuf) \
    11911293        tmp/modules/TauTagging.$(ObjSuf) \
     1294        tmp/modules/TimeOfFlight.$(ObjSuf) \
    11921295        tmp/modules/TimeSmearing.$(ObjSuf) \
    11931296        tmp/modules/TrackCountingBTagging.$(ObjSuf) \
    11941297        tmp/modules/TrackCountingTauTagging.$(ObjSuf) \
     1298        tmp/modules/TrackCovariance.$(ObjSuf) \
    11951299        tmp/modules/TrackPileUpSubtractor.$(ObjSuf) \
    11961300        tmp/modules/TrackSmearing.$(ObjSuf) \
    11971301        tmp/modules/TreeWriter.$(ObjSuf) \
     1302        tmp/modules/TruthVertexFinder.$(ObjSuf) \
    11981303        tmp/modules/UniqueObjectFinder.$(ObjSuf) \
    11991304        tmp/modules/VertexFinder.$(ObjSuf) \
     
    19112016        @touch $@
    19122017
     2018modules/TrackCovariance.h: \
     2019        classes/DelphesModule.h
     2020        @touch $@
     2021
    19132022modules/ExampleModule.h: \
    19142023        classes/DelphesModule.h
    19152024        @touch $@
    19162025
     2026modules/Merger.h: \
     2027        classes/DelphesModule.h
     2028        @touch $@
     2029
    19172030modules/Isolation.h: \
    19182031        classes/DelphesModule.h
     
    19202033
    19212034modules/EnergyScale.h: \
    1922         classes/DelphesModule.h
    1923         @touch $@
    1924 
    1925 modules/Merger.h: \
    19262035        classes/DelphesModule.h
    19272036        @touch $@
     
    19582067        external/fastjet/config.h \
    19592068        external/fastjet/LimitedWarning.hh
     2069        @touch $@
     2070
     2071modules/DecayFilter.h: \
     2072        classes/DelphesModule.h
    19602073        @touch $@
    19612074
     
    20372150        @touch $@
    20382151
     2152modules/TimeOfFlight.h: \
     2153        classes/DelphesModule.h
     2154        @touch $@
     2155
    20392156external/fastjet/contribs/Nsubjettiness/NjettinessPlugin.hh: \
    20402157        external/fastjet/ClusterSequence.hh \
     
    21552272        @touch $@
    21562273
     2274modules/TruthVertexFinder.h: \
     2275        classes/DelphesModule.h
     2276        @touch $@
     2277
    21572278classes/DelphesSTDHEPReader.h: \
    21582279        classes/DelphesXDRReader.h
     
    22312352        @touch $@
    22322353
     2354modules/ClusterCounting.h: \
     2355        classes/DelphesModule.h
     2356        @touch $@
     2357
    22332358modules/SimpleCalorimeter.h: \
    22342359        classes/DelphesModule.h
     
    22662391        @touch $@
    22672392
     2393modules/ParticleDensity.h: \
     2394        classes/DelphesModule.h
     2395        @touch $@
     2396
     2397modules/TreeWriter.h: \
     2398        classes/DelphesModule.h
     2399        @touch $@
     2400
    22682401modules/TimeSmearing.h: \
    2269         classes/DelphesModule.h
    2270         @touch $@
    2271 
    2272 modules/TreeWriter.h: \
    22732402        classes/DelphesModule.h
    22742403        @touch $@
     
    23362465        @mkdir -p $(@D)
    23372466        @echo ">> Building $@"
    2338 ifeq ($(ARCH),aix5)
    2339         @$(MAKESHARED) $(OutPutOpt) $@ $(DELPHES_LIBS) -p 0 $^
    2340 else
    23412467ifeq ($(PLATFORM),macosx)
    2342 # We need to make both the .dylib and the .so
    23432468        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
    2344 ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
    2345 ifeq ($(MACOSX_MINOR),4)
    2346         @ln -sf $@ $(subst .$(DllSuf),.so,$@)
    2347 endif
    2348 endif
    23492469else
    23502470ifeq ($(PLATFORM),win32)
     
    23552475else
    23562476        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
    2357         @$(MT_DLL)
    2358 endif
    23592477endif
    23602478endif
     
    23632481        @mkdir -p $(@D)
    23642482        @echo ">> Building $@"
    2365 ifeq ($(ARCH),aix5)
    2366         @$(MAKESHARED) $(OutPutOpt) $@ $(DELPHES_LIBS) -p 0 $^
    2367 else
    23682483ifeq ($(PLATFORM),macosx)
    2369 # We need to make both the .dylib and the .so
    23702484        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
    2371 ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
    2372 ifeq ($(MACOSX_MINOR),4)
    2373         @ln -sf $@ $(subst .$(DllSuf),.so,$@)
    2374 endif
    2375 endif
    23762485else
    23772486ifeq ($(PLATFORM),win32)
     
    23822491else
    23832492        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DELPHES_LIBS)
    2384         @$(MT_DLL)
    2385 endif
    23862493endif
    23872494endif
     
    23902497        @mkdir -p $(@D)
    23912498        @echo ">> Building $@"
    2392 ifeq ($(ARCH),aix5)
    2393         @$(MAKESHARED) $(OutPutOpt) $@ $(DISPLAY_LIBS) -p 0 $^
    2394 else
    23952499ifeq ($(PLATFORM),macosx)
    2396 # We need to make both the .dylib and the .so
    23972500        @$(LD) $(SOFLAGS)$@ $(LDFLAGS) $^ $(OutPutOpt) $@ $(DISPLAY_LIBS)
    2398 ifneq ($(subst $(MACOSX_MINOR),,1234),1234)
    2399 ifeq ($(MACOSX_MINOR),4)
    2400         @ln -sf $@ $(subst .$(DllSuf),.so,$@)
    2401 endif
    2402 endif
    24032501else
    24042502ifeq ($(PLATFORM),win32)
     
    24092507else
    24102508        @$(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(DISPLAY_LIBS)
    2411         @$(MT_DLL)
    2412 endif
    24132509endif
    24142510endif
     
    24242520        @echo ">> Building $(DISTTAR)"
    24252521        @mkdir -p $(DISTDIR)
    2426         @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb VERSION Makefile MinBias.pileup configure cards classes converters display doc examples external modules python readers validation $(DISTDIR)
     2522        @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb Makefile MinBias.pileup configure cards classes cmake converters display doc examples external modules python readers validation $(DISTDIR)
    24272523        @find $(DISTDIR) -depth -name .\* -exec rm -rf {} \;
    24282524        @tar -czf $(DISTTAR) $(DISTDIR)
Note: See TracChangeset for help on using the changeset viewer.