#include <TtSemiLepKinFitProducer.h>
Classes | |
struct | KinFitResult |
Private Member Functions | |
TtSemiLepKinFitter::Constraint | constraint (unsigned) |
std::vector< TtSemiLepKinFitter::Constraint > | constraints (std::vector< unsigned > &) |
bool | doBTagging (bool &useBTag_, edm::Handle< std::vector< pat::Jet > > &jets, 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... | |
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::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ESProduct , Transition Tr = Transition::Event> | |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 13 of file TtSemiLepKinFitProducer.h.
|
explicit |
Definition at line 94 of file TtSemiLepKinFitProducer.h.
References TtSemiLepKinFitProducer< LeptonCollection >::bResolutions_, TtSemiLepKinFitProducer< LeptonCollection >::constraints(), TtSemiLepKinFitProducer< LeptonCollection >::constraints_, Exception, edm::ParameterSet::exists(), TtSemiLepKinFitProducer< LeptonCollection >::fitter, edm::ParameterSet::getParameter(), 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_.
|
override |
Definition at line 149 of file TtSemiLepKinFitProducer.h.
References TtSemiLepKinFitProducer< LeptonCollection >::fitter.
|
private |
Definition at line 407 of file TtSemiLepKinFitProducer.h.
References Exception, TtSemiLepKinFitter::kEqualTopMasses, TtSemiLepKinFitter::kNeutrinoMass, TtSemiLepKinFitter::kSumPt, TtSemiLepKinFitter::kTopHadMass, TtSemiLepKinFitter::kTopLepMass, TtSemiLepKinFitter::kWHadMass, TtSemiLepKinFitter::kWLepMass, and mps_fire::result.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::constraints().
|
private |
Definition at line 427 of file TtSemiLepKinFitProducer.h.
References TtSemiLepKinFitProducer< LeptonCollection >::constraint(), mps_fire::i, and mps_fire::result.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 155 of file TtSemiLepKinFitProducer.h.
References TtSemiLepEvtPartons::HadB, fwrapper::jets, TtSemiLepEvtPartons::LepB, TtSemiLepEvtPartons::LightQ, and TtSemiLepEvtPartons::LightQBar.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
Definition at line 391 of file TtSemiLepKinFitProducer.h.
References Exception, TopKinFitter::kEMom, TopKinFitter::kEtEtaPhi, TopKinFitter::kEtThetaPhi, and mps_fire::result.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
overrideprivate |
Definition at line 174 of file TtSemiLepKinFitProducer.h.
References TtSemiLepKinFitProducer< LeptonCollection >::bTagAlgo_, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::Chi2, TtSemiLepKinFitProducer< LeptonCollection >::doBTagging(), TtSemiLepKinFitter::fit(), TopKinFitter::fitProb(), TopKinFitter::fitS(), TtSemiLepKinFitter::fittedHadB(), TtSemiLepKinFitter::fittedHadP(), TtSemiLepKinFitter::fittedHadQ(), TtSemiLepKinFitter::fittedLepB(), TtSemiLepKinFitter::fittedLepton(), TtSemiLepKinFitter::fittedNeutrino(), TtSemiLepKinFitProducer< LeptonCollection >::fitter, edm::Event::getByToken(), TtSemiLepEvtPartons::HadB, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::HadB, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::HadP, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::HadQ, mps_fire::i, training_settings::idx, createfilelist::int, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::JetCombi, fwrapper::jets, TtSemiLepKinFitProducer< LeptonCollection >::jetsToken_, TtSemiLepEvtPartons::LepB, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::LepB, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::LepL, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::LepN, TtSemiLepHitFitProducer_Electrons_cfi::leps, TtSemiLepKinFitProducer< LeptonCollection >::lepsToken_, TtSemiLepEvtPartons::LightQ, TtSemiLepEvtPartons::LightQBar, match(), TtSemiLepKinFitProducer< LeptonCollection >::matchToken_, TtSemiLepKinFitProducer< LeptonCollection >::maxBTagValueNonBJet_, TtSemiLepKinFitProducer< LeptonCollection >::maxNComb_, TtSemiLepKinFitProducer< LeptonCollection >::maxNJets_, TtSemiLepSignalSelMVAComputer_cfi::mets, TtSemiLepKinFitProducer< LeptonCollection >::metsToken_, TtSemiLepKinFitProducer< LeptonCollection >::minBTagValueBJet_, eostools::move(), stdcomb::next_combination(), nPartons, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::Prob, edm::Event::put(), mps_fire::result, mps_update::status, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::Status, TtSemiLepKinFitProducer< LeptonCollection >::useBTag_, and TtSemiLepKinFitProducer< LeptonCollection >::useOnlyMatch_.
|
private |
Definition at line 72 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
input tag for b-tagging algorithm
Definition at line 42 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
constrains
Definition at line 64 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
|
private |
Definition at line 69 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
scale factors for jet energy resolution
Definition at line 68 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 60 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 34 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
Definition at line 61 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 73 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 35 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
Definition at line 38 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
max value of bTag for a non-b-jet
Definition at line 46 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
maximal chi2 equivalent
Definition at line 57 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
maximal deviation for contstraints
Definition at line 59 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
maximal number of combinations to be written to the event
Definition at line 52 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
maximal number of jets (-1 possible to indicate 'all')
Definition at line 50 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
maximal number of iterations to be performed for the fit
Definition at line 55 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 62 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 74 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 36 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
min value of bTag for a b-jet
Definition at line 44 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
Definition at line 66 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 65 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
config-file-based object resolutions
Definition at line 71 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
switch to tell whether to use b-tagging or not
Definition at line 48 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
private |
switch to use only a combination given by another hypothesis
Definition at line 40 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::produce().