Skip to content

Commit

Permalink
Merge pull request cms-sw#151 from amarini/topic_fix_ewk_nopythia
Browse files Browse the repository at this point in the history
making EWK compile w/o pythia
  • Loading branch information
amarini authored Jun 14, 2017
2 parents c6b867c + c79909e commit d3b8e01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions interface/AnalysisChargedHiggsEWKPurity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
#include <memory>

// FWD Declaration
#ifdef HAVE_PYTHIA
namespace Pythia8{
class Pythia;
};
#endif

namespace CLHEP {
class HepRandomEngine;
Expand All @@ -34,7 +36,9 @@ class ChargedHiggsEWKPurity: virtual public ChargedHiggsTauNu
void SetLeptonCuts(Lepton *l) override { l->SetIsoCut(10); l->SetPtCut(10);l->SetIsoRelCut(-1);l->SetEtaCut(2.4); l->SetTightCut(false);}

private:
#ifdef HAVE_PYTHIA
std::unique_ptr<Pythia8::Pythia> fMasterGen;
#endif
std::unique_ptr<TRandom> random;
};

Expand Down
1 change: 1 addition & 0 deletions src/AnalysisChargedHiggsEWKPurity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "interface/GeneralFunctions.hpp"
#include "interface/CutSelector.hpp"
#include "interface/AnalysisChargedHiggsTauNu.hpp"
#include "interface/Handlers.hpp"
#include <string>

#ifdef HAVE_PYTHIA
Expand Down

0 comments on commit d3b8e01

Please sign in to comment.