#include <TtSemiLepHitFitProducer.h>
Classes | |
struct | FitResult |
Private Types | |
typedef hitfit::RunHitFit < pat::Electron, pat::Muon, pat::Jet, pat::MET > | PatHitFit |
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
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 | |
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 20 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 81 of file TtSemiLepHitFitProducer.h.
|
explicit |
Definition at line 99 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_.
|
override |
Definition at line 182 of file TtSemiLepHitFitProducer.h.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 187 of file TtSemiLepHitFitProducer.h.
References funct::abs(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::Chi2, PVValHelper::eta, funct::exp(), gpuVertexFinder::fit, edm::Event::getByToken(), TtSemiLepEvtPartons::HadB, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::HadB, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::HadP, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::HadQ, mps_fire::i, metsig::jet, hitfit::Lepjets_Event::jet(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::JetCombi, fwrapper::jets, hitfit::Lepjets_Event::lep(), TtSemiLepEvtPartons::LepB, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::LepB, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::LepL, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::LepN, TtSemiLepEvtPartons::LightQ, TtSemiLepEvtPartons::LightQBar, hitfit::Lepjets_Event::met(), eostools::move(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::MT, nPartons, hitfit::Lepjets_Event_Lep::p(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::Prob, edm::Event::put(), mps_fire::result, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::SigMT, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::Status, hitfit::Lepjets_Event_Lep::type(), and trackerHitRTTI::vector.
|
private |
input tag for b-tagging algorithm
Definition at line 46 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 90 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
Definition at line 95 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
Definition at line 87 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 83 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
Definition at line 84 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 88 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 85 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 86 of file TtSemiLepHitFitProducer.h.
|
private |
jet energy scale
Definition at line 62 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 63 of file TtSemiLepHitFitProducer.h.
|
private |
jet correction level
Definition at line 59 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 29 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 92 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
Definition at line 30 of file TtSemiLepHitFitProducer.h.
|
private |
max value of bTag for a non-b-jet
Definition at line 50 of file TtSemiLepHitFitProducer.h.
|
private |
maximum eta value for electrons, needed to limited range in which resolutions are provided
Definition at line 41 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
maximum eta value for jets, needed to limited range in which resolutions are provided
Definition at line 43 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
maximum eta value for muons, needed to limited range in which resolutions are provided
Definition at line 39 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
maximal number of combinations to be written to the event
Definition at line 36 of file TtSemiLepHitFitProducer.h.
|
private |
maximal number of jets (-1 possible to indicate 'all')
Definition at line 34 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 31 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 93 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
min value of bTag for a b-jet
Definition at line 48 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 56 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
Definition at line 91 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
constraints
Definition at line 55 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
switch to tell whether to use b-tagging or not
Definition at line 52 of file TtSemiLepHitFitProducer.h.