Fork me on GitHub

Changes in / [aafe927:d192152] in git


Ignore:
Files:
8 added
10 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    raafe927 rd192152  
    8989DISPLAYLIB = libDelphesDisplay.lib
    9090
    91 VERSION = x.y.z
     91VERSION = $(shell cat VERSION)
    9292DISTDIR = Delphes-$(VERSION)
    9393DISTTAR = $(DISTDIR).tar.gz
     
    174174tmp/examples/Example1.$(ObjSuf): \
    175175        examples/Example1.cpp \
     176        classes/DelphesClasses.h \
     177        external/ExRootAnalysis/ExRootResult.h \
     178        external/ExRootAnalysis/ExRootTreeBranch.h \
     179        external/ExRootAnalysis/ExRootTreeReader.h \
     180        external/ExRootAnalysis/ExRootTreeWriter.h \
     181        external/ExRootAnalysis/ExRootUtilities.h
     182DelphesValidation$(ExeSuf): \
     183        tmp/validation/DelphesValidation.$(ObjSuf)
     184
     185tmp/validation/DelphesValidation.$(ObjSuf): \
     186        validation/DelphesValidation.cpp \
    176187        classes/DelphesClasses.h \
    177188        external/ExRootAnalysis/ExRootResult.h \
     
    188199        stdhep2pileup$(ExeSuf) \
    189200        CaloGrid$(ExeSuf) \
    190         Example1$(ExeSuf)
     201        Example1$(ExeSuf) \
     202        DelphesValidation$(ExeSuf)
    191203
    192204EXECUTABLE_OBJ +=  \
     
    198210        tmp/converters/stdhep2pileup.$(ObjSuf) \
    199211        tmp/examples/CaloGrid.$(ObjSuf) \
    200         tmp/examples/Example1.$(ObjSuf)
     212        tmp/examples/Example1.$(ObjSuf) \
     213        tmp/validation/DelphesValidation.$(ObjSuf)
    201214
    202215DelphesHepMC$(ExeSuf): \
     
    24212434        @echo ">> Building $(DISTTAR)"
    24222435        @mkdir -p $(DISTDIR)
    2423         @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb Makefile MinBias.pileup configure cards classes converters display doc examples external modules python readers validation $(DISTDIR)
     2436        @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)
    24242437        @find $(DISTDIR) -depth -name .\* -exec rm -rf {} \;
    24252438        @tar -czf $(DISTTAR) $(DISTDIR)
  • doc/genMakefile.tcl

    raafe927 rd192152  
    282282DISPLAYLIB = libDelphesDisplay.lib
    283283
    284 VERSION = x.y.z
     284VERSION = $(shell cat VERSION)
    285285DISTDIR = Delphes-$(VERSION)
    286286DISTTAR = $(DISTDIR).tar.gz
     
    290290}
    291291
    292 executableDeps {converters/*.cpp} {examples/*.cpp}
     292executableDeps {converters/*.cpp} {examples/*.cpp} {validation/*.cpp}
    293293
    294294executableDeps {readers/DelphesHepMC.cpp} {readers/DelphesLHEF.cpp} {readers/DelphesSTDHEP.cpp} {readers/DelphesROOT.cpp}
     
    434434        @echo ">> Building $(DISTTAR)"
    435435        @mkdir -p $(DISTDIR)
    436         @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb Makefile MinBias.pileup configure cards classes converters display doc examples external modules python readers validation $(DISTDIR)
     436        @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)
    437437        @find $(DISTDIR) -depth -name .\* -exec rm -rf {} \;
    438438        @tar -czf $(DISTTAR) $(DISTDIR)
  • modules/FastJetFinder.cc

    raafe927 rd192152  
    489489      fastjet::Filter trimmer(fastjet::JetDefinition(fastjet::kt_algorithm, fRTrim), fastjet::SelectorPtFractionMin(fPtFracTrim));
    490490      fastjet::PseudoJet trimmed_jet = trimmer(*itOutputList);
    491      
     491
     492      trimmed_jet = join(trimmed_jet.constituents());
     493
    492494      candidate->TrimmedP4[0].SetPtEtaPhiM(trimmed_jet.pt(), trimmed_jet.eta(), trimmed_jet.phi(), trimmed_jet.m());
    493495
  • readers/DelphesPythia8.cpp

    raafe927 rd192152  
    296296
    297297    // jet matching
    298 #if PYTHIA_VERSION_INTEGER < 8300
    299298    matching = combined->getHook(*pythia);
    300299    if(!matching)
     
    303302    }
    304303    pythia->setUserHooksPtr(matching);
    305 #endif
    306304
    307305    if(pythia == NULL)
  • validation/DelphesValidation.cpp

    raafe927 rd192152  
    3232#include "TGraph.h"
    3333#include "TGraphErrors.h"
    34 #include "TF1.h"
    3534#include "TH1.h"
    3635#include "TH2.h"
  • validation/validation.sh

    raafe927 rd192152  
    3838outputrootdir=report_${cardbase%.*}/root
    3939cardlabel=${cardbase%.*}
    40 version=x.y.z
     40version=$(cat VERSION)
    4141outpdf=$mainoutputdir/${output%.*}.pdf
    4242cardsdir=validation/cards
Note: See TracChangeset for help on using the changeset viewer.