Fork me on GitHub

Changeset c41c262 in git for doc/genMakefile.tcl


Ignore:
Timestamp:
Jul 4, 2013, 1:04:05 AM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
c466459
Parents:
5ca3d52
Message:

add PileUpMergerPythia8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/genMakefile.tcl

    r5ca3d52 rc41c262  
    8888
    8989  set srcObjFiles {}
     90  set srcObjFilesPythia8 {}
    9091
    9192  foreach fileName $source {
    9293    regsub {\.cc} $fileName {} srcName
    9394    set srcObjName $prefix$srcName
    94 
    95     lappend srcObjFiles $srcObjName$objSuf
     95   
     96    if {$fileName == "modules/PileUpMergerPythia8.cc"} {
     97      lappend srcObjFilesPythia8 $srcObjName$objSuf
     98    } else {
     99      lappend srcObjFiles $srcObjName$objSuf
     100    }
    96101
    97102    dependencies $fileName "$srcObjName$objSuf:$suffix$srcName$srcSuf"
     
    101106  puts [join $srcObjFiles $suffix]
    102107  puts ""
     108 
     109  puts {ifneq ($(PYTHIA8),)}
     110  puts -nonewline "${srcPrefix}_OBJ += $suffix"
     111  puts [join $srcObjFilesPythia8 $suffix]
     112  puts {endif}
    103113}
    104114
     
    193203DISPLAY_LIBS = $(shell $(RC) --evelibs) $(SYSLIBS)
    194204
     205ifneq ($(PYTHIA8),)
     206CXXFLAGS += -DHAS_PYTHIA8 -I$(PYTHIA8)/include
     207DELPHES_LIBS += -L$(PYTHIA8)/lib/archive -lpythia8 -llhapdfdummy
     208endif
     209
    195210###
    196211
Note: See TracChangeset for help on using the changeset viewer.