CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
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