#include <TtSemiLepHitFitProducer.h>
Classes | |
struct | FitResult |
Public Member Functions | |
TtSemiLepHitFitProducer (const edm::ParameterSet &) | |
~TtSemiLepHitFitProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Types | |
typedef hitfit::RunHitFit< pat::Electron, pat::Muon, pat::Jet, pat::MET > | PatHitFit |
Private Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
std::string | bTagAlgo_ |
input tag for b-tagging algorithm More... | |
hitfit::LeptonTranslatorBase< pat::Electron > | electronTranslator_ |
PatHitFit * | HitFit |
edm::FileInPath | hitfitBJetResolution_ |
edm::FileInPath | hitfitDefault_ |
edm::FileInPath | hitfitElectronResolution_ |
edm::FileInPath | hitfitMETResolution_ |
edm::FileInPath | hitfitMuonResolution_ |
edm::FileInPath | hitfitUdscJetResolution_ |
double | jes_ |
jet energy scale More... | |
double | jesB_ |
std::string | jetCorrectionLevel_ |
jet correction level More... | |
edm::EDGetTokenT< std::vector< pat::Jet > > | jetsToken_ |
hitfit::JetTranslatorBase< pat::Jet > | jetTranslator_ |
edm::EDGetTokenT< LeptonCollection > | lepsToken_ |
double | maxBTagValueNonBJet_ |
max value of bTag for a non-b-jet More... | |
double | maxEtaEle_ |
maximum eta value for electrons, needed to limited range in which resolutions are provided More... | |
double | maxEtaJet_ |
maximum eta value for jets, needed to limited range in which resolutions are provided More... | |
double | maxEtaMu_ |
maximum eta value for muons, needed to limited range in which resolutions are provided 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... | |
edm::EDGetTokenT< std::vector< pat::MET > > | metsToken_ |
hitfit::METTranslatorBase< pat::MET > | metTranslator_ |
double | minBTagValueBJet_ |
min value of bTag for a b-jet More... | |
double | mTop_ |
hitfit::LeptonTranslatorBase< pat::Muon > | muonTranslator_ |
double | mW_ |
constraints More... | |
bool | useBTag_ |
switch to tell whether to use b-tagging or not More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
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) |
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 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 20 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 83 of file TtSemiLepHitFitProducer.h.
|
explicit |
Definition at line 101 of file TtSemiLepHitFitProducer.h.
References TtSemiLepHitFitProducer< LeptonCollection >::electronTranslator_, edm::FileInPath::fullPath(), TtSemiLepHitFitProducer< LeptonCollection >::HitFit, TtSemiLepHitFitProducer< LeptonCollection >::hitfitDefault_, TtSemiLepHitFitProducer< LeptonCollection >::jetTranslator_, TtSemiLepHitFitProducer< LeptonCollection >::maxEtaEle_, TtSemiLepHitFitProducer< LeptonCollection >::maxEtaJet_, TtSemiLepHitFitProducer< LeptonCollection >::maxEtaMu_, TtSemiLepHitFitProducer< LeptonCollection >::metTranslator_, TtSemiLepHitFitProducer< LeptonCollection >::mTop_, TtSemiLepHitFitProducer< LeptonCollection >::muonTranslator_, and TtSemiLepHitFitProducer< LeptonCollection >::mW_.
TtSemiLepHitFitProducer< LeptonCollection >::~TtSemiLepHitFitProducer | ( | ) |
Definition at line 184 of file TtSemiLepHitFitProducer.h.
References TtSemiLepHitFitProducer< LeptonCollection >::HitFit.
|
privatevirtual |
Definition at line 190 of file TtSemiLepHitFitProducer.h.
References funct::abs(), hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::AddJet(), hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::AddLepton(), TtSemiLepHitFitProducer< LeptonCollection >::bTagAlgo_, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::Chi2, hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::clear(), stringResolutionProvider_cfi::eta, JetChargeProducer_cfi::exp, trackingPlots::fit, hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::FitAllPermutation(), edm::Event::getByToken(), hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::GetFitAllPermutation(), hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::GetUnfittedEvent(), TtSemiLepEvtPartons::HadB, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::HadB, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::HadP, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::HadQ, TtSemiLepHitFitProducer< LeptonCollection >::HitFit, mps_fire::i, createfilelist::int, metsig::jet, hitfit::Lepjets_Event::jet(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::JetCombi, fwrapper::jets, TtSemiLepHitFitProducer< LeptonCollection >::jetsToken_, hitfit::Lepjets_Event::lep(), TtSemiLepEvtPartons::LepB, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::LepB, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::LepL, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::LepN, TtSemiLepHitFitProducer_Electrons_cfi::leps, TtSemiLepHitFitProducer< LeptonCollection >::lepsToken_, TtSemiLepEvtPartons::LightQ, TtSemiLepEvtPartons::LightQBar, TtSemiLepHitFitProducer< LeptonCollection >::maxBTagValueNonBJet_, TtSemiLepHitFitProducer< LeptonCollection >::maxEtaEle_, TtSemiLepHitFitProducer< LeptonCollection >::maxEtaJet_, TtSemiLepHitFitProducer< LeptonCollection >::maxEtaMu_, TtSemiLepHitFitProducer< LeptonCollection >::maxNComb_, TtSemiLepHitFitProducer< LeptonCollection >::maxNJets_, hitfit::Lepjets_Event::met(), TtSemiLepSignalSelMVAComputer_cfi::mets, TtSemiLepHitFitProducer< LeptonCollection >::metsToken_, TtSemiLepHitFitProducer< LeptonCollection >::minBTagValueBJet_, eostools::move(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::MT, nPartons, hitfit::Lepjets_Event_Lep::p(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::Prob, edm::Event::put(), mps_fire::result, hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::SetMet(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::SigMT, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::Status, hitfit::Lepjets_Event_Lep::type(), and TtSemiLepHitFitProducer< LeptonCollection >::useBTag_.
|
private |
input tag for b-tagging algorithm
Definition at line 48 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce().
|
private |
Definition at line 92 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
|
private |
Definition at line 89 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 85 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
Definition at line 86 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 90 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 87 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 88 of file TtSemiLepHitFitProducer.h.
|
private |
jet energy scale
Definition at line 64 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 65 of file TtSemiLepHitFitProducer.h.
|
private |
jet correction level
Definition at line 61 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 31 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce().
|
private |
Definition at line 94 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
Definition at line 32 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce().
|
private |
max value of bTag for a non-b-jet
Definition at line 52 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce().
|
private |
maximum eta value for electrons, needed to limited range in which resolutions are provided
Definition at line 43 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce(), and TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
maximum eta value for jets, needed to limited range in which resolutions are provided
Definition at line 45 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce(), and TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
maximum eta value for muons, needed to limited range in which resolutions are provided
Definition at line 41 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce(), and TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
maximal number of combinations to be written to the event
Definition at line 38 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce().
|
private |
maximal number of jets (-1 possible to indicate 'all')
Definition at line 36 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce().
|
private |
Definition at line 33 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce().
|
private |
Definition at line 95 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
min value of bTag for a b-jet
Definition at line 50 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce().
|
private |
Definition at line 58 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
Definition at line 93 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
constraints
Definition at line 57 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
switch to tell whether to use b-tagging or not
Definition at line 54 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::produce().