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 
9  public:
11  ~JetMatchingMadgraph() override;
12 
13  protected:
14  void init(const lhef::LHERunInfo *runInfo) override;
15  void beforeHadronisation(const lhef::LHEEvent *event) override;
16  void beforeHadronisationExec() override;
17 
18  int match(const lhef::LHEEvent *partonLevel, const std::vector<fastjet::PseudoJet> *jetInput) override;
19 
20  double getJetEtaMax() const override;
21 
22  /*
23  int match(const HepMC::GenEvent *partonLevel,
24  const HepMC::GenEvent *finalState,
25  bool showeredFinalState);
26 */
27  std::set<std::string> capabilities() const override;
28 
29  template <typename T>
30  static T parseParameter(const std::string &value);
31  template <typename T>
32  static T getParameter(const std::map<std::string, std::string> &params,
33  const std::string &var,
34  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(const std::map<std::string, std::string> &params, T &param, const std::string &name);
40 
41  std::map<std::string, std::string> mgParams;
42 
45  bool soup;
46  bool exclusive;
47  };
48 
49 } // namespace gen
50 
51 #endif // GeneratorInterface_PartonShowerVeto_JetMatchingMadgraph_h
gen::JetMatchingMadgraph::parseParameter
static T parseParameter(const std::string &value)
Definition: JetMatchingMadgraph.cc:71
JetMatching.h
gen::JetMatchingMadgraph::~JetMatchingMadgraph
~JetMatchingMadgraph() override
Definition: JetMatchingMadgraph.cc:151
gen::JetMatchingMadgraph::updateOrDie
static void updateOrDie(const std::map< std::string, std::string > &params, T &param, const std::string &name)
Definition: JetMatchingMadgraph.cc:189
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
gen::JetMatchingMadgraph::match
int match(const lhef::LHEEvent *partonLevel, const std::vector< fastjet::PseudoJet > *jetInput) override
Definition: JetMatchingMadgraph.cc:304
gen::JetMatchingMadgraph::beforeHadronisation
void beforeHadronisation(const lhef::LHEEvent *event) override
Definition: JetMatchingMadgraph.cc:259
gen::JetMatchingMadgraph
Definition: JetMatchingMadgraph.h:8
gen::JetMatchingMadgraph::JetMatchingMadgraph
JetMatchingMadgraph(const edm::ParameterSet &params)
Definition: JetMatchingMadgraph.cc:110
gen::JetMatchingMadgraph::beforeHadronisationExec
void beforeHadronisationExec() override
Definition: JetMatchingMadgraph.cc:293
gen::JetMatchingMadgraph::mgParams
std::map< std::string, std::string > mgParams
Definition: JetMatchingMadgraph.h:41
gen::JetMatchingMadgraph::getParameter
static T getParameter(const std::map< std::string, std::string > &params, const std::string &var, const T &defValue=T())
Definition: JetMatchingMadgraph.cc:96
gen::JetMatchingMadgraph::init
void init(const lhef::LHERunInfo *runInfo) override
Definition: JetMatchingMadgraph.cc:206
gen::JetMatching
Definition: JetMatching.h:27
gen::JetMatchingMadgraph::runInitialized
bool runInitialized
Definition: JetMatchingMadgraph.h:43
trigObjTnPSource_cfi.var
var
Definition: trigObjTnPSource_cfi.py:21
gen
Definition: PythiaDecays.h:13
lhef::LHERunInfo
Definition: LHERunInfo.h:25
edm::ParameterSet
Definition: ParameterSet.h:47
gen::JetMatchingMadgraph::capabilities
std::set< std::string > capabilities() const override
Definition: JetMatchingMadgraph.cc:155
lhef::LHEEvent
Definition: LHEEvent.h:23
value
Definition: value.py:1
gen::JetMatchingMadgraph::exclusive
bool exclusive
Definition: JetMatchingMadgraph.h:46
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
gen::JetMatchingMadgraph::getJetEtaMax
double getJetEtaMax() const override
Definition: JetMatchingMadgraph.cc:153
T
long double T
Definition: Basic3DVectorLD.h:48
gen::JetMatchingMadgraph::soup
bool soup
Definition: JetMatchingMadgraph.h:45
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
submitPVValidationJobs.runInfo
dictionary runInfo
Definition: submitPVValidationJobs.py:1013
gen::JetMatchingMadgraph::eventInitialized
bool eventInitialized
Definition: JetMatchingMadgraph.h:44
event
Definition: event.py:1