Classes | |
struct | KinFitResult |
Public Member Functions | |
TtSemiLepKinFitProducer (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
TtSemiLepKinFitter::Constraint | constraint (unsigned) |
std::vector< TtSemiLepKinFitter::Constraint > | constraints (std::vector< unsigned > &) |
bool | doBTagging (bool &useBTag_, const edm::Handle< std::vector< pat::Jet >> &jets, const std::vector< int > &combi, std::string &bTagAlgo_, double &minBTagValueBJets_, double &maxBTagValueNonBJets_) |
TtSemiLepKinFitter::Param | param (unsigned) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::vector< edm::ParameterSet > | bResolutions_ |
std::string | bTagAlgo_ |
input tag for b-tagging algorithm More... | |
std::vector< unsigned > | constraints_ |
constrains More... | |
std::unique_ptr< TtSemiLepKinFitter > | fitter |
std::vector< double > | jetEnergyResolutionEtaBinning_ |
std::vector< double > | jetEnergyResolutionScaleFactors_ |
scale factors for jet energy resolution More... | |
unsigned int | jetParam_ |
edm::EDGetTokenT< std::vector< pat::Jet > > | jetsToken_ |
unsigned int | lepParam_ |
std::vector< edm::ParameterSet > | lepResolutions_ |
edm::EDGetTokenT< LeptonCollection > | lepsToken_ |
edm::EDGetTokenT< std::vector< std::vector< int > > > | matchToken_ |
double | maxBTagValueNonBJet_ |
max value of bTag for a non-b-jet More... | |
double | maxDeltaS_ |
maximal chi2 equivalent More... | |
double | maxF_ |
maximal deviation for contstraints More... | |
int | maxNComb_ |
maximal number of combinations to be written to the event More... | |
int | maxNJets_ |
maximal number of jets (-1 possible to indicate 'all') More... | |
unsigned int | maxNrIter_ |
maximal number of iterations to be performed for the fit More... | |
unsigned int | metParam_ |
std::vector< edm::ParameterSet > | metResolutions_ |
edm::EDGetTokenT< std::vector< pat::MET > > | metsToken_ |
double | minBTagValueBJet_ |
min value of bTag for a b-jet More... | |
double | mTop_ |
double | mW_ |
std::vector< edm::ParameterSet > | udscResolutions_ |
config-file-based object resolutions More... | |
bool | useBTag_ |
switch to tell whether to use b-tagging or not More... | |
bool | useOnlyMatch_ |
switch to use only a combination given by another hypothesis More... | |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 10 of file TtSemiLepKinFitProducer.cc.
|
explicit |
Definition at line 92 of file TtSemiLepKinFitProducer.cc.
References TtSemiLepKinFitProducer< LeptonCollection >::bResolutions_, looper::cfg, TtSemiLepKinFitProducer< LeptonCollection >::constraints(), TtSemiLepKinFitProducer< LeptonCollection >::constraints_, Exception, TtSemiLepKinFitProducer< LeptonCollection >::fitter, TtSemiLepKinFitProducer< LeptonCollection >::jetEnergyResolutionEtaBinning_, TtSemiLepKinFitProducer< LeptonCollection >::jetEnergyResolutionScaleFactors_, TtSemiLepKinFitProducer< LeptonCollection >::jetParam_, TtSemiLepKinFitProducer< LeptonCollection >::lepParam_, TtSemiLepKinFitProducer< LeptonCollection >::lepResolutions_, TtSemiLepKinFitProducer< LeptonCollection >::maxDeltaS_, TtSemiLepKinFitProducer< LeptonCollection >::maxF_, TtSemiLepKinFitProducer< LeptonCollection >::maxNrIter_, TtSemiLepKinFitProducer< LeptonCollection >::metParam_, TtSemiLepKinFitProducer< LeptonCollection >::metResolutions_, TtSemiLepKinFitProducer< LeptonCollection >::mTop_, TtSemiLepKinFitProducer< LeptonCollection >::mW_, TtSemiLepKinFitProducer< LeptonCollection >::param(), and TtSemiLepKinFitProducer< LeptonCollection >::udscResolutions_.
|
private |
Definition at line 418 of file TtSemiLepKinFitProducer.cc.
References Exception, TtSemiLepKinFitter::kEqualTopMasses, TtSemiLepKinFitter::kNeutrinoMass, TtSemiLepKinFitter::kSumPt, TtSemiLepKinFitter::kTopHadMass, TtSemiLepKinFitter::kTopLepMass, TtSemiLepKinFitter::kWHadMass, TtSemiLepKinFitter::kWLepMass, mps_fire::result, and heppy_batch::val.
|
private |
Definition at line 450 of file TtSemiLepKinFitProducer.cc.
References HLT_2024v13_cff::constraint, mps_fire::i, mps_fire::result, and heppy_batch::val.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 163 of file TtSemiLepKinFitProducer.cc.
References TtSemiLepEvtPartons::HadB, PDWG_EXODelayedJetMET_cff::jets, TtSemiLepEvtPartons::LepB, TtSemiLepEvtPartons::LightQ, and TtSemiLepEvtPartons::LightQBar.
|
private |
Definition at line 398 of file TtSemiLepKinFitProducer.cc.
References Exception, TopKinFitter::kEMom, TopKinFitter::kEtEtaPhi, TopKinFitter::kEtThetaPhi, mps_fire::result, and heppy_batch::val.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
overrideprivate |
Definition at line 183 of file TtSemiLepKinFitProducer.cc.
References edm::Event::getHandle(), TtSemiLepEvtPartons::HadB, mps_fire::i, heavyIonCSV_trainingSettings::idx, createfilelist::int, PDWG_EXODelayedJetMET_cff::jets, TtSemiLepEvtPartons::LepB, TtSemiLepHitFitProducer_Electrons_cfi::leps, TtSemiLepEvtPartons::LightQ, TtSemiLepEvtPartons::LightQBar, match(), singleTopDQM_cfi::mets, eostools::move(), stdcomb::next_combination(), nPartons, edm::Event::put(), mps_fire::result, mps_update::status, and trackerHitRTTI::vector.
|
private |
Definition at line 70 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
input tag for b-tagging algorithm
Definition at line 40 of file TtSemiLepKinFitProducer.cc.
|
private |
constrains
Definition at line 62 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 74 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 67 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
scale factors for jet energy resolution
Definition at line 66 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 58 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 32 of file TtSemiLepKinFitProducer.cc.
|
private |
Definition at line 59 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 71 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 33 of file TtSemiLepKinFitProducer.cc.
|
private |
Definition at line 36 of file TtSemiLepKinFitProducer.cc.
|
private |
max value of bTag for a non-b-jet
Definition at line 44 of file TtSemiLepKinFitProducer.cc.
|
private |
maximal chi2 equivalent
Definition at line 55 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
maximal deviation for contstraints
Definition at line 57 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
maximal number of combinations to be written to the event
Definition at line 50 of file TtSemiLepKinFitProducer.cc.
|
private |
maximal number of jets (-1 possible to indicate 'all')
Definition at line 48 of file TtSemiLepKinFitProducer.cc.
|
private |
maximal number of iterations to be performed for the fit
Definition at line 53 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 60 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 72 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 34 of file TtSemiLepKinFitProducer.cc.
|
private |
min value of bTag for a b-jet
Definition at line 42 of file TtSemiLepKinFitProducer.cc.
|
private |
Definition at line 64 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 63 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
config-file-based object resolutions
Definition at line 69 of file TtSemiLepKinFitProducer.cc.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
switch to tell whether to use b-tagging or not
Definition at line 46 of file TtSemiLepKinFitProducer.cc.
|
private |
switch to use only a combination given by another hypothesis
Definition at line 38 of file TtSemiLepKinFitProducer.cc.