#include <JetMatchingMGFastJet.h>
Public Member Functions | |
const std::vector< int > * | getPartonList () override |
JetMatchingMGFastJet (const edm::ParameterSet ¶ms) | |
template<> | |
std::string | parseParameter (const std::string &value) |
template<> | |
bool | parseParameter (const std::string &value_) |
~JetMatchingMGFastJet () override | |
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 | |
void | beforeHadronisation (const lhef::LHEEvent *) override |
void | beforeHadronisationExec () override |
double | getJetEtaMax () const override |
void | init (const lhef::LHERunInfo *runInfo) override |
bool | initAfterBeams () override |
int | match (const lhef::LHEEvent *partonLevel, const std::vector< fastjet::PseudoJet > *jetInput) override |
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::unique_ptr< JetMatching > | create (const edm::ParameterSet ¶ms) |
Protected Attributes inherited from gen::JetMatching | |
bool | fMatchingStatus |
Definition at line 31 of file JetMatchingMGFastJet.h.
|
private |
|
private |
Enumerator | |
---|---|
NONE | |
LESS_JETS | |
MORE_JETS | |
HARD_JET | |
UNMATCHED_PARTON |
Definition at line 72 of file JetMatchingMGFastJet.h.
gen::JetMatchingMGFastJet::JetMatchingMGFastJet | ( | const edm::ParameterSet & | params | ) |
Definition at line 129 of file JetMatchingMGFastJet.cc.
References gen::MEMAIN::clfact, gen::MEMAIN::etaclmax, gen::MEMAIN::etcjet, Exception, exclusive, gen::MEMAIN::excres, fDJROutFlag, gen::OUTTREE::flag, B2GTnPMonitor_cfi::item, gen::MEMAIN::ktsche, gen::MEMAIN::maxjets, gen::memain_, gen::MEMAIN::minjets, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, gen::MEMAIN::nexcres, gen::MEMAIN::nqmatch, gen::outtree_, submitPVValidationJobs::params, gen::MEMAIN::qcut, gen::MEMAIN::rclmax, gen::MEMAIN::showerkt, soup, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverride |
Definition at line 35 of file JetMatchingMGFastJet.h.
References fJetFinder.
|
overrideprotectedvirtual |
Reimplemented from gen::JetMatching.
Definition at line 215 of file JetMatchingMGFastJet.cc.
References funct::abs(), Exception, exclusive, fExcLocal, lhef::LHEEvent::getHEPEUP(), mps_fire::i, ID_GLUON, ID_TOP, lhef::HEPEUP::IDUP, heavyIonCSV_trainingSettings::idx, lhef::HEPEUP::ISTUP, lhef::HEPEUP::MOTHUP, nJetMax, nQmatch, lhef::HEPEUP::NUP, runInitialized, soup, and typeIdx.
|
inlineoverrideprotectedvirtual |
Reimplemented from gen::JetMatching.
Definition at line 47 of file JetMatchingMGFastJet.h.
|
overrideprotectedvirtual |
Implements gen::JetMatching.
Definition at line 172 of file JetMatchingMGFastJet.cc.
References gen::MEMAIN::etaclmax, and gen::memain_.
|
staticprivate |
Definition at line 74 of file JetMatchingMGFastJet.cc.
References submitPVValidationJobs::params, and trigObjTnPSource_cfi::var.
Referenced by getParameter(), and updateOrDie().
|
private |
Definition at line 84 of file JetMatchingMGFastJet.cc.
References getParameter(), mgParams, and trigObjTnPSource_cfi::var.
|
inlineoverridevirtual |
Reimplemented from gen::JetMatching.
Definition at line 40 of file JetMatchingMGFastJet.h.
References typeIdx.
|
overrideprotectedvirtual |
Reimplemented from gen::JetMatching.
Definition at line 260 of file JetMatchingMGFastJet.cc.
References gather_cfg::cout, gen::MEMAIN::etaclmax, fIsInit, RecoTauValidation_cfi::header, gen::UPPRIV::ickkw, initAfterBeams(), gen::MEMAIN::maxjets, gen::MEMAIN::mektsc, gen::memain_, mgParams, gen::MEMAIN::minjets, gen::MEMAIN::nqmatch, submitPVValidationJobs::params, gen::parseHeader(), gen::MEMAIN::qcut, submitPVValidationJobs::runInfo, runInitialized, gen::MEMAIN::showerkt, updateOrDie(), gen::uppriv_, and contentValuesCheck::values.
|
overrideprotectedvirtual |
Reimplemented from gen::JetMatching.
Definition at line 174 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, conifer::pow(), gen::MEMAIN::qcut, qCut, qCutSq, and gen::uppriv_.
Referenced by init().
|
overrideprotectedvirtual |
Implements gen::JetMatching.
Definition at line 315 of file JetMatchingMGFastJet.cc.
References clFact, counter, fClusJets, fDJROutFlag, fDJROutput, fExcLocal, fJetFinder, fPtSortedJets, lhef::LHEEvent::getHEPEUP(), mps_fire::i, heavyIonCSV_trainingSettings::idx, LESS_JETS, muonTagProbeFilters_cff::matched, SiStripPI::max, MORE_JETS, NONE, convertSQLitetoXML_cfg::output, conifer::pow(), HLT_2023v12_cff::pt2, lhef::HEPEUP::PUP, qCut, qCutSq, mathSSE::sqrt(), typeIdx, and UNMATCHED_PARTON.
|
staticprivate |
Definition at line 49 of file JetMatchingMGFastJet.cc.
References mps_fire::result, and contentValuesCheck::ss.
std::string gen::JetMatchingMGFastJet::parseParameter | ( | const std::string & | value | ) |
Definition at line 57 of file JetMatchingMGFastJet.cc.
References mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
bool gen::JetMatchingMGFastJet::parseParameter | ( | const std::string & | value_ | ) |
Definition at line 67 of file JetMatchingMGFastJet.cc.
References createfilelist::int, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetIdTransform::transform(), and relativeConstraints::value.
|
staticprivate |
Definition at line 114 of file JetMatchingMGFastJet.cc.
References Exception, getParameter(), Skims_PA_cff::name, and submitPVValidationJobs::params.
Referenced by init().
|
private |
Definition at line 76 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), and match().
|
private |
Definition at line 87 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams().
|
private |
Definition at line 80 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams().
|
private |
Definition at line 87 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams().
|
private |
Definition at line 99 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), and JetMatchingMGFastJet().
|
private |
Definition at line 105 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), and match().
|
private |
Definition at line 110 of file JetMatchingMGFastJet.h.
Referenced by JetMatchingMGFastJet(), and match().
|
private |
Definition at line 109 of file JetMatchingMGFastJet.h.
Referenced by match().
|
private |
Definition at line 92 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), initAfterBeams(), and match().
|
private |
Definition at line 112 of file JetMatchingMGFastJet.h.
Referenced by init(), and initAfterBeams().
|
private |
Definition at line 104 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), match(), and ~JetMatchingMGFastJet().
|
private |
Definition at line 105 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), and match().
|
private |
Definition at line 86 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams().
|
private |
Definition at line 68 of file JetMatchingMGFastJet.h.
Referenced by getParameter(), and init().
|
private |
Definition at line 83 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), and initAfterBeams().
|
private |
Definition at line 83 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams().
|
private |
Definition at line 77 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), and initAfterBeams().
|
private |
Definition at line 75 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), and match().
|
private |
Definition at line 75 of file JetMatchingMGFastJet.h.
Referenced by initAfterBeams(), and match().
|
private |
Definition at line 97 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), and init().
|
private |
Definition at line 98 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), and JetMatchingMGFastJet().
|
private |
Definition at line 95 of file JetMatchingMGFastJet.h.
Referenced by beforeHadronisation(), getPartonList(), and match().