#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 | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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.
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 190 of file TtSemiLepHitFitProducer.h.
References funct::abs(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::Chi2, eta(), create_public_lumi_plots::exp, edm::Event::getByToken(), TtSemiLepEvtPartons::HadB, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::HadB, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::HadP, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::HadQ, 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(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::MT, nPartons, hitfit::Lepjets_Event_Lep::p(), TtSemiLepHitFitProducer< LeptonCollection >::FitResult::Prob, edm::Event::put(), query::result, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::SigMT, TtSemiLepHitFitProducer< LeptonCollection >::FitResult::Status, and hitfit::Lepjets_Event_Lep::type().
|
private |
input tag for b-tagging algorithm
Definition at line 48 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 92 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
Definition at line 97 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
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.
|
private |
Definition at line 94 of file TtSemiLepHitFitProducer.h.
Referenced by TtSemiLepHitFitProducer< LeptonCollection >::TtSemiLepHitFitProducer().
|
private |
Definition at line 32 of file TtSemiLepHitFitProducer.h.
|
private |
max value of bTag for a non-b-jet
Definition at line 52 of file TtSemiLepHitFitProducer.h.
|
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 >::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 >::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 >::TtSemiLepHitFitProducer().
|
private |
maximal number of combinations to be written to the event
Definition at line 38 of file TtSemiLepHitFitProducer.h.
|
private |
maximal number of jets (-1 possible to indicate 'all')
Definition at line 36 of file TtSemiLepHitFitProducer.h.
|
private |
Definition at line 33 of file TtSemiLepHitFitProducer.h.
|
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.
|
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.