#include <JetMatchingMGFastJet.h>
Public Member Functions | |
const std::vector< int > * | getPartonList () |
JetMatchingMGFastJet (const edm::ParameterSet ¶ms) | |
template<> | |
std::string | parseParameter (const std::string &value) |
template<> | |
bool | parseParameter (const std::string &value_) |
~JetMatchingMGFastJet () | |
Public Member Functions inherited from gen::JetMatching | |
virtual std::set< std::string > | capabilities () const |
bool | isMatchingDone () |
JetMatching (const edm::ParameterSet ¶ms) | |
void | resetMatchingStatus () |
virtual | ~JetMatching () |
Protected Member Functions | |
virtual void | beforeHadronisation (const lhef::LHEEvent *) |
virtual void | beforeHadronisationExec () |
virtual double | getJetEtaMax () const |
virtual void | init (const lhef::LHERunInfo *runInfo) |
virtual bool | initAfterBeams () |
virtual int | match (const lhef::LHEEvent *partonLevel, const std::vector< fastjet::PseudoJet > *jetInput) |
Private Types | |
enum | partonTypes { ID_TOP =6, ID_GLUON =21, ID_PHOTON =22 } |
enum | vetoStatus { NONE, LESS_JETS, MORE_JETS, HARD_JET, UNMATCHED_PARTON } |
Private Member Functions | |
template<typename T > | |
T | getParameter (const std::string &var, const T &defValue=T()) const |
Static Private Member Functions | |
template<typename T > | |
static T | getParameter (const std::map< std::string, std::string > ¶ms, const std::string &var, const T &defValue=T()) |
template<typename T > | |
static T | parseParameter (const std::string &value) |
template<typename T > | |
static void | updateOrDie (const std::map< std::string, std::string > ¶ms, T ¶m, const std::string &name) |
Private Attributes | |
double | clFact |
double | coneRadius |
bool | doMerge |
double | etaJetMax |
bool | exclusive |
std::vector< fastjet::PseudoJet > | fClusJets |
int | fDJROutFlag |
std::ofstream | fDJROutput |
bool | fExcLocal |
bool | fIsInit |
fastjet::JetDefinition * | fJetFinder |
std::vector< fastjet::PseudoJet > | fPtSortedJets |
int | jetAlgoPower |
std::map< std::string, std::string > | mgParams |
int | nJetMax |
int | nJetMin |
int | nQmatch |
double | qCut |
double | qCutSq |
bool | runInitialized |
bool | soup |
std::vector< int > | typeIdx [3] |
Additional Inherited Members | |
Static Public Member Functions inherited from gen::JetMatching | |
static std::auto_ptr< JetMatching > | create (const edm::ParameterSet ¶ms) |
Protected Attributes inherited from gen::JetMatching | |
bool | fMatchingStatus |
Definition at line 32 of file JetMatchingMGFastJet.h.
|
private |
|
private |
Enumerator | |
---|---|
NONE | |
LESS_JETS | |
MORE_JETS | |
HARD_JET | |
UNMATCHED_PARTON |
Definition at line 76 of file JetMatchingMGFastJet.h.
gen::JetMatchingMGFastJet::JetMatchingMGFastJet | ( | const edm::ParameterSet & | params | ) |
Definition at line 153 of file JetMatchingMGFastJet.cc.
References gen::MEMAIN::clfact, gen::MEMAIN::etaclmax, gen::MEMAIN::etcjet, Exception, exclusive, gen::MEMAIN::excres, fDJROutFlag, gen::OUTTREE::flag, edm::ParameterSet::getParameter(), diffTreeTool::index, gen::MEMAIN::ktsche, gen::MEMAIN::maxjets, gen::memain_, gen::MEMAIN::minjets, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, gen::MEMAIN::nexcres, gen::MEMAIN::nqmatch, gen::outtree_, gen::MEMAIN::qcut, gen::MEMAIN::rclmax, gen::MEMAIN::showerkt, soup, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 39 of file JetMatchingMGFastJet.h.
References fJetFinder.
|
protectedvirtual |
Reimplemented from gen::JetMatching.
Definition at line 251 of file JetMatchingMGFastJet.cc.
References funct::abs(), Exception, exclusive, fExcLocal, lhef::LHEEvent::getHEPEUP(), i, ID_GLUON, ID_TOP, lhef::HEPEUP::IDUP, training_settings::idx, lhef::HEPEUP::ISTUP, lhef::HEPEUP::MOTHUP, nJetMax, nQmatch, lhef::HEPEUP::NUP, runInitialized, soup, and typeIdx.
Referenced by getPartonList().
|
inlineprotectedvirtual |
Reimplemented from gen::JetMatching.
Definition at line 49 of file JetMatchingMGFastJet.h.
References getJetEtaMax(), getParameter(), match(), dataset::name, parseParameter(), AlCaHLTBitMon_QueryRunRegistry::string, updateOrDie(), and JetChargeProducer_cfi::var.
|
protectedvirtual |
Implements gen::JetMatching.
Definition at line 201 of file JetMatchingMGFastJet.cc.
References gen::MEMAIN::etaclmax, and gen::memain_.
Referenced by beforeHadronisationExec().
|
staticprivate |
Definition at line 87 of file JetMatchingMGFastJet.cc.
Referenced by beforeHadronisationExec().
|
private |
Definition at line 99 of file JetMatchingMGFastJet.cc.
|
inlinevirtual |
Reimplemented from gen::JetMatching.
Definition at line 41 of file JetMatchingMGFastJet.h.
References beforeHadronisation(), init(), initAfterBeams(), and typeIdx.
|
protectedvirtual |
Reimplemented from gen::JetMatching.
Definition at line 304 of file JetMatchingMGFastJet.cc.
References gather_cfg::cout, gen::MEMAIN::etaclmax, lhef::LHERunInfo::findHeader(), fIsInit, RecoTauValidation_cfi::header, gen::UPPRIV::ickkw, initAfterBeams(), gen::MEMAIN::maxjets, gen::MEMAIN::mektsc, gen::memain_, mgParams, gen::MEMAIN::minjets, gen::MEMAIN::nqmatch, metProducer_cfi::parameters, gen::parseHeader(), gen::MEMAIN::qcut, runInitialized, gen::MEMAIN::showerkt, updateOrDie(), gen::uppriv_, and MuonErrorMatrixValues_cff::values.
Referenced by getPartonList().
|
protectedvirtual |
Reimplemented from gen::JetMatching.
Definition at line 207 of file JetMatchingMGFastJet.cc.
References clFact, coneRadius, doMerge, gen::MEMAIN::etaclmax, etaJetMax, fClusJets, fExcLocal, fIsInit, fJetFinder, fPtSortedJets, gen::UPPRIV::ickkw, jetAlgoPower, gen::MEMAIN::maxjets, gen::memain_, gen::MEMAIN::minjets, nJetMax, nJetMin, gen::MEMAIN::nqmatch, nQmatch, funct::pow(), gen::MEMAIN::qcut, qCut, qCutSq, and gen::uppriv_.
Referenced by getPartonList(), and init().
|
protectedvirtual |
Implements gen::JetMatching.
Definition at line 364 of file JetMatchingMGFastJet.cc.
References clFact, counter, funct::false, fClusJets, fDJROutFlag, fDJROutput, fExcLocal, fJetFinder, fPtSortedJets, lhef::LHEEvent::getHEPEUP(), i, training_settings::idx, LESS_JETS, electronMatch_cfi::matched, hpstanc_transforms::max, MORE_JETS, NONE, convertSQLitetoXML_cfg::output, funct::pow(), CAHitQuadrupletGenerator_cfi::pt2, lhef::HEPEUP::PUP, qCut, qCutSq, mathSSE::sqrt(), typeIdx, and UNMATCHED_PARTON.
Referenced by beforeHadronisationExec().
|
staticprivate |
Definition at line 56 of file JetMatchingMGFastJet.cc.
References mps_fire::result.
Referenced by beforeHadronisationExec().
std::string gen::JetMatchingMGFastJet::parseParameter | ( | const std::string & | value | ) |
Definition at line 65 of file JetMatchingMGFastJet.cc.
References mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
bool gen::JetMatchingMGFastJet::parseParameter | ( | const std::string & | value_ | ) |
Definition at line 76 of file JetMatchingMGFastJet.cc.
References createfilelist::int, AlCaHLTBitMon_QueryRunRegistry::string, create_public_lumi_plots::transform, and relativeConstraints::value.
|
staticprivate |
Definition at line 137 of file JetMatchingMGFastJet.cc.
References Exception.
Referenced by beforeHadronisationExec(), and init().
|
private |
Definition at line 80 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), and match().
|
private |
Definition at line 91 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams().
|
private |
Definition at line 84 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams().
|
private |
Definition at line 91 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams().
|
private |
Definition at line 103 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), and JetMatchingMGFastJet().
|
private |
Definition at line 109 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), and match().
|
private |
Definition at line 114 of file JetMatchingMGFastJet.h.
Referenced by JetMatchingMGFastJet(), and match().
|
private |
Definition at line 113 of file JetMatchingMGFastJet.h.
Referenced by match().
|
private |
Definition at line 96 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), initAfterBeams(), and match().
|
private |
Definition at line 116 of file JetMatchingMGFastJet.h.
Referenced by init(), and initAfterBeams().
|
private |
Definition at line 108 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), match(), and ~JetMatchingMGFastJet().
|
private |
Definition at line 109 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), and match().
|
private |
Definition at line 90 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams().
|
private |
Definition at line 72 of file JetMatchingMGFastJet.h.
Referenced by init().
|
private |
Definition at line 87 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), and initAfterBeams().
|
private |
Definition at line 87 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams().
|
private |
Definition at line 81 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), and initAfterBeams().
|
private |
Definition at line 79 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), and match().
|
private |
Definition at line 79 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), and match().
|
private |
Definition at line 101 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), and init().
|
private |
Definition at line 102 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), and JetMatchingMGFastJet().
|
private |
Definition at line 99 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), getPartonList(), and match().