#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 | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 13 of file TtSemiLepKinFitProducer.h.
|
explicit |
Definition at line 96 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 167 of file TtSemiLepKinFitProducer.h.
|
private |
Definition at line 431 of file TtSemiLepKinFitProducer.h.
References Exception, TtSemiLepKinFitter::kEqualTopMasses, TtSemiLepKinFitter::kNeutrinoMass, TtSemiLepKinFitter::kSumPt, TtSemiLepKinFitter::kTopHadMass, TtSemiLepKinFitter::kTopLepMass, TtSemiLepKinFitter::kWHadMass, TtSemiLepKinFitter::kWLepMass, and mps_fire::result.
|
private |
Definition at line 463 of file TtSemiLepKinFitProducer.h.
References HLT_FULL_cff::constraint, mps_fire::i, and mps_fire::result.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 172 of file TtSemiLepKinFitProducer.h.
References TtSemiLepEvtPartons::HadB, fwrapper::jets, TtSemiLepEvtPartons::LepB, TtSemiLepEvtPartons::LightQ, and TtSemiLepEvtPartons::LightQBar.
|
private |
Definition at line 411 of file TtSemiLepKinFitProducer.h.
References Exception, TopKinFitter::kEMom, TopKinFitter::kEtEtaPhi, TopKinFitter::kEtThetaPhi, and mps_fire::result.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 192 of file TtSemiLepKinFitProducer.h.
References TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::Chi2, edm::Event::getByToken(), TtSemiLepEvtPartons::HadB, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::HadB, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::HadP, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::HadQ, mps_fire::i, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::JetCombi, fwrapper::jets, TtSemiLepEvtPartons::LepB, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::LepB, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::LepL, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::LepN, TtSemiLepEvtPartons::LightQ, TtSemiLepEvtPartons::LightQBar, match(), eostools::move(), stdcomb::next_combination(), nPartons, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::Prob, edm::Event::put(), mps_fire::result, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::Status, mps_update::status, and trackerHitRTTI::vector.
|
private |
Definition at line 74 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
input tag for b-tagging algorithm
Definition at line 44 of file TtSemiLepKinFitProducer.h.
|
private |
constrains
Definition at line 66 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 78 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 71 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
scale factors for jet energy resolution
Definition at line 70 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 36 of file TtSemiLepKinFitProducer.h.
|
private |
Definition at line 63 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 75 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 37 of file TtSemiLepKinFitProducer.h.
|
private |
Definition at line 40 of file TtSemiLepKinFitProducer.h.
|
private |
max value of bTag for a non-b-jet
Definition at line 48 of file TtSemiLepKinFitProducer.h.
|
private |
maximal chi2 equivalent
Definition at line 59 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
maximal deviation for contstraints
Definition at line 61 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
maximal number of combinations to be written to the event
Definition at line 54 of file TtSemiLepKinFitProducer.h.
|
private |
maximal number of jets (-1 possible to indicate 'all')
Definition at line 52 of file TtSemiLepKinFitProducer.h.
|
private |
maximal number of iterations to be performed for the fit
Definition at line 57 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 64 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 76 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 38 of file TtSemiLepKinFitProducer.h.
|
private |
min value of bTag for a b-jet
Definition at line 46 of file TtSemiLepKinFitProducer.h.
|
private |
Definition at line 68 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
Definition at line 67 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
config-file-based object resolutions
Definition at line 73 of file TtSemiLepKinFitProducer.h.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
private |
switch to tell whether to use b-tagging or not
Definition at line 50 of file TtSemiLepKinFitProducer.h.
|
private |
switch to use only a combination given by another hypothesis
Definition at line 42 of file TtSemiLepKinFitProducer.h.