Changeset c466459 in git
- Timestamp:
- Jul 4, 2013, 1:35:38 AM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- cf14ea5
- Parents:
- c41c262
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/genMakefile.tcl
rc41c262 rc466459 107 107 puts "" 108 108 109 puts {if neq ($(PYTHIA8),)}109 puts {ifeq ($(HAS_PYTHIA8),true)} 110 110 puts -nonewline "${srcPrefix}_OBJ += $suffix" 111 111 puts [join $srcObjFilesPythia8 $suffix] … … 204 204 205 205 ifneq ($(PYTHIA8),) 206 HAS_PYTHIA8 = true 206 207 CXXFLAGS += -DHAS_PYTHIA8 -I$(PYTHIA8)/include 207 DELPHES_LIBS += -L$(PYTHIA8)/lib/archive -lpythia8 -llhapdfdummy 208 DELPHES_LIBS += -L$(PYTHIA8)/lib -lpythia8 -llhapdfdummy 209 else 210 ifneq ($(PYTHIA8DATA),) 211 HAS_PYTHIA8 = true 212 CXXFLAGS += -DHAS_PYTHIA8 -I$(PYTHIA8DATA)/../include 213 DELPHES_LIBS += -L$(PYTHIA8DATA)/../lib -lpythia8 -llhapdfdummy 214 endif 208 215 endif 209 216 … … 322 329 @mkdir -p $(@D) 323 330 @echo ">> Generating $@" 324 @rootcint -f $@ -c -Iexternal$<331 @rootcint -f $@ -c $(CXXFLAGS) $< 325 332 @echo "#define private public" > $@.arch 326 333 @echo "#define protected public" >> $@.arch -
modules/PileUpMergerPythia8.cc
rc41c262 rc466459 57 57 void PileUpMergerPythia8::Init() 58 58 { 59 const char *fileName;60 61 59 fMeanPileUp = GetDouble("MeanPileUp", 10); 62 60 fZVertexSpread = GetDouble("ZVertexSpread", 0.05)*1.0E3; … … 101 99 Double_t dz, dphi; 102 100 Int_t poisson, event, i; 103 Long64_t allEntries, entry;104 101 Candidate *candidate; 105 102 DelphesFactory *factory; … … 124 121 for(i = 0; i < fPythia->event.size(); ++i) 125 122 { 126 Pythia8::Particle &particle = pythia->event[i];123 Pythia8::Particle &particle = fPythia->event[i]; 127 124 128 125 if(particle.status() != 1 || !particle.isVisible() || particle.pT() <= fPTMin) continue;
Note:
See TracChangeset
for help on using the changeset viewer.