CMS 3D CMS Logo

JetMatchingMadgraph.h
Go to the documentation of this file.
1 #ifndef GeneratorInterface_PartonShowerVeto_JetMatchingMadgraph_h
2 #define GeneratorInterface_PartonShowerVeto_JetMatchingMadgraph_h
3 
5 
6 namespace gen
7 {
8 
10  public:
13 
14  protected:
15  virtual void init(const lhef::LHERunInfo* runInfo);
16  virtual void beforeHadronisation(const lhef::LHEEvent* event);
17  virtual void beforeHadronisationExec();
18 
19  virtual int match( const lhef::LHEEvent* partonLevel, const std::vector<fastjet::PseudoJet>* jetInput );
20 
21  virtual double getJetEtaMax() const;
22 
23 /*
24  int match(const HepMC::GenEvent *partonLevel,
25  const HepMC::GenEvent *finalState,
26  bool showeredFinalState);
27 */
28  std::set<std::string> capabilities() const;
29 
30  template<typename T>
31  static T parseParameter(const std::string &value);
32  template<typename T>
33  static T getParameter(const std::map<std::string, std::string> &params,
34  const std::string &var, const T &defValue = T());
35  template<typename T>
36  T getParameter(const std::string &var, const T &defValue = T()) const;
37 
38  template<typename T>
39  static void updateOrDie(
40  const std::map<std::string, std::string> &params,
41  T &param, const std::string &name);
42 
43  std::map<std::string, std::string> mgParams;
44 
47  bool soup;
48  bool exclusive;
49 };
50 
51 } // namespace gen
52 
53 
54 #endif // GeneratorInterface_PartonShowerVeto_JetMatchingMadgraph_h
virtual void init(const lhef::LHERunInfo *runInfo)
virtual void beforeHadronisation(const lhef::LHEEvent *event)
static T parseParameter(const std::string &value)
static void updateOrDie(const std::map< std::string, std::string > &params, T &param, const std::string &name)
static T getParameter(const std::map< std::string, std::string > &params, const std::string &var, const T &defValue=T())
virtual int match(const lhef::LHEEvent *partonLevel, const std::vector< fastjet::PseudoJet > *jetInput)
Definition: value.py:1
JetMatchingMadgraph(const edm::ParameterSet &params)
std::map< std::string, std::string > mgParams
std::set< std::string > capabilities() const
virtual void beforeHadronisationExec()
long double T
virtual double getJetEtaMax() const
Definition: event.py:1