![]() |
![]() |
#include <JetMatching.h>
Public Member Functions | |
virtual void | beforeHadronisation (const lhef::LHEEvent *event) |
virtual void | beforeHadronisationExec () |
virtual std::set< std::string > | capabilities () const |
virtual double | getJetEtaMax () const =0 |
virtual const std::vector< int > * | getPartonList () |
virtual void | init (const lhef::LHERunInfo *runInfo) |
virtual bool | initAfterBeams () |
bool | isMatchingDone () |
JetMatching (const edm::ParameterSet ¶ms) | |
virtual int | match (const lhef::LHEEvent *partonLevel, const std::vector< fastjet::PseudoJet > *jetInput)=0 |
void | resetMatchingStatus () |
virtual | ~JetMatching () |
Static Public Member Functions | |
static std::auto_ptr< JetMatching > | create (const edm::ParameterSet ¶ms) |
Protected Attributes | |
bool | fMatchingStatus |
Definition at line 29 of file JetMatching.h.
gen::JetMatching::JetMatching | ( | const edm::ParameterSet & | params | ) |
Definition at line 18 of file JetMatching.cc.
References fMatchingStatus.
{ fMatchingStatus=false; }
gen::JetMatching::~JetMatching | ( | ) | [virtual] |
Definition at line 23 of file JetMatching.cc.
{ }
void gen::JetMatching::beforeHadronisation | ( | const lhef::LHEEvent * | event | ) | [virtual] |
Reimplemented in gen::JetMatchingAlpgen, gen::JetMatchingMadgraph, and gen::JetMatchingMGFastJet.
Definition at line 31 of file JetMatching.cc.
Referenced by JetMatchingHook::beforeHadronization(), and gen::Pythia6Hadronizer::hadronize().
{ }
void gen::JetMatching::beforeHadronisationExec | ( | ) | [virtual] |
Reimplemented in gen::JetMatchingMadgraph, and gen::JetMatchingMGFastJet.
Definition at line 35 of file JetMatching.cc.
Referenced by JetMatchingHook::beforeHadronization(), and gen::Pythia6ServiceWithCallback::upEvnt().
{ }
std::set< std::string > gen::JetMatching::capabilities | ( | ) | const [virtual] |
Reimplemented in gen::JetMatchingAlpgen, and gen::JetMatchingMadgraph.
Definition at line 39 of file JetMatching.cc.
References query::result.
std::auto_ptr< JetMatching > gen::JetMatching::create | ( | const edm::ParameterSet & | params | ) | [static] |
Definition at line 47 of file JetMatching.cc.
References Exception, edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
{ std::string scheme = params.getParameter<std::string>("scheme"); std::auto_ptr<JetMatching> matching; if (scheme == "Madgraph") { matching.reset(new JetMatchingMadgraph(params)); } else if (scheme == "Alpgen") { matching.reset(new JetMatchingAlpgen(params)); } else if (scheme == "MLM") { matching.reset(); } else throw cms::Exception("InvalidJetMatching") << "Unknown scheme \"" << scheme << "\"" " specified for parton-shower matching." << std::endl; if (!matching.get()) throw cms::Exception("InvalidJetMatching") << "Port of " << scheme << "scheme \"" << "\"" " for parton-shower matching is still in progress." << std::endl; return matching; }
virtual double gen::JetMatching::getJetEtaMax | ( | ) | const [pure virtual] |
Implemented in gen::JetMatchingAlpgen, and gen::JetMatchingMadgraph.
Referenced by JetMatchingHook::init().
virtual const std::vector<int>* gen::JetMatching::getPartonList | ( | ) | [inline, virtual] |
Reimplemented in gen::JetMatchingMGFastJet.
Definition at line 78 of file JetMatching.h.
Referenced by JetMatchingHook::doVetoPartonLevel().
{ return 0; }
void gen::JetMatching::init | ( | const lhef::LHERunInfo * | runInfo | ) | [virtual] |
Reimplemented in gen::JetMatchingAlpgen, gen::JetMatchingMadgraph, and gen::JetMatchingMGFastJet.
Definition at line 27 of file JetMatching.cc.
Referenced by JetMatchingHook::init(), and gen::Pythia6Hadronizer::initializeForExternalPartons().
{ }
virtual bool gen::JetMatching::initAfterBeams | ( | ) | [inline, virtual] |
Reimplemented in gen::JetMatchingMGFastJet.
Definition at line 61 of file JetMatching.h.
Referenced by JetMatchingHook::initAfterBeams().
{ return true; }
bool gen::JetMatching::isMatchingDone | ( | ) | [inline] |
Definition at line 76 of file JetMatching.h.
References fMatchingStatus.
Referenced by JetMatchingHook::doVetoPartonLevel(), and gen::Pythia6ServiceWithCallback::upVeto().
{ return fMatchingStatus; }
virtual int gen::JetMatching::match | ( | const lhef::LHEEvent * | partonLevel, |
const std::vector< fastjet::PseudoJet > * | jetInput | ||
) | [pure virtual] |
Implemented in gen::JetMatchingAlpgen, gen::JetMatchingMadgraph, and gen::JetMatchingMGFastJet.
Referenced by JetMatchingHook::doVetoPartonLevel(), and gen::Pythia6ServiceWithCallback::upVeto().
void gen::JetMatching::resetMatchingStatus | ( | ) | [inline] |
Definition at line 75 of file JetMatching.h.
References fMatchingStatus.
Referenced by gen::Pythia6Hadronizer::hadronize(), and JetMatchingHook::resetMatchingStatus().
{ fMatchingStatus = false; }
bool gen::JetMatching::fMatchingStatus [protected] |
Definition at line 89 of file JetMatching.h.
Referenced by isMatchingDone(), JetMatching(), gen::JetMatchingMadgraph::match(), and resetMatchingStatus().