#include <JetMatching.h>
Classes | |
struct | JetPartonMatch |
Public Types | |
typedef edmplugin::PluginFactory < JetMatching *(const edm::ParameterSet &)> | Factory |
Public Member Functions | |
virtual void | beforeHadronisation (const boost::shared_ptr< LHEEvent > &event) |
virtual std::set< std::string > | capabilities () const |
const std::vector < JetPartonMatch > & | getMatchSummary () const |
virtual void | init (const boost::shared_ptr< LHERunInfo > &runInfo) |
JetMatching (const edm::ParameterSet ¶ms) | |
virtual double | match (const HepMC::GenEvent *partonLevel, const HepMC::GenEvent *finalState, bool showeredFinalState=false)=0 |
virtual | ~JetMatching () |
Static Public Member Functions | |
static std::auto_ptr< JetMatching > | create (const edm::ParameterSet ¶ms) |
Protected Attributes | |
std::vector< JetPartonMatch > | matchSummary |
Definition at line 24 of file JetMatching.h.
typedef edmplugin::PluginFactory<JetMatching*( const edm::ParameterSet &)> lhef::JetMatching::Factory |
Definition at line 71 of file JetMatching.h.
lhef::JetMatching::JetMatching | ( | const edm::ParameterSet & | params | ) |
Definition at line 21 of file JetMatching.cc.
{ }
lhef::JetMatching::~JetMatching | ( | ) | [virtual] |
Definition at line 25 of file JetMatching.cc.
{ }
void lhef::JetMatching::beforeHadronisation | ( | const boost::shared_ptr< LHEEvent > & | event | ) | [virtual] |
std::set< std::string > lhef::JetMatching::capabilities | ( | ) | const [virtual] |
Reimplemented in lhef::JetMatchingMLM, and lhef::JetMatchingMadgraph.
Definition at line 38 of file JetMatching.cc.
References query::result.
Referenced by lhef::JetMatchingMLM::capabilities().
std::auto_ptr< JetMatching > lhef::JetMatching::create | ( | const edm::ParameterSet & | params | ) | [static] |
Definition at line 46 of file JetMatching.cc.
References reco::get(), edm::ParameterSet::getParameter(), mergeVDriftHistosByStation::name, pfTaus_cff::plugin, and AlCaHLTBitMon_QueryRunRegistry::string.
{ std::string name = params.getParameter<std::string>("scheme"); std::auto_ptr<JetMatching> plugin( Factory::get()->create("JetMatching" + name, params)); if (!plugin.get()) throw cms::Exception("InvalidJetMatching") << "Unknown scheme \"" << name << "\"" " specified for jet matching in LHEProducer." << std::endl; edm::LogInfo("Generator|LHEInterface") << "Using " << name << " for ME/PS jet matching." << std::endl; return plugin; }
const std::vector<JetPartonMatch>& lhef::JetMatching::getMatchSummary | ( | ) | const [inline] |
void lhef::JetMatching::init | ( | const boost::shared_ptr< LHERunInfo > & | runInfo | ) | [virtual] |
virtual double lhef::JetMatching::match | ( | const HepMC::GenEvent * | partonLevel, |
const HepMC::GenEvent * | finalState, | ||
bool | showeredFinalState = false |
||
) | [pure virtual] |
Implemented in lhef::JetMatchingMLM, and lhef::JetMatchingMadgraph.
std::vector<JetPartonMatch> lhef::JetMatching::matchSummary [protected] |
Definition at line 74 of file JetMatching.h.
Referenced by getMatchSummary().