#include <TtSemiLepKinFitProducer.h>
Classes | |
struct | KinFitResult |
Public Member Functions | |
TtSemiLepKinFitProducer (const edm::ParameterSet &) | |
~TtSemiLepKinFitProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
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::InputTag | jets_ |
unsigned int | lepParam_ |
std::vector< edm::ParameterSet > | lepResolutions_ |
edm::InputTag | leps_ |
edm::InputTag | match_ |
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::InputTag | mets_ |
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 |
typedef WorkerT< EDProducer > | WorkerType |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
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_, edm::hlt::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_.
TtSemiLepKinFitProducer< LeptonCollection >::~TtSemiLepKinFitProducer | ( | ) |
Definition at line 149 of file TtSemiLepKinFitProducer.h.
|
private |
Definition at line 407 of file TtSemiLepKinFitProducer.h.
References edm::hlt::Exception, TtSemiLepKinFitter::kEqualTopMasses, TtSemiLepKinFitter::kNeutrinoMass, TtSemiLepKinFitter::kSumPt, TtSemiLepKinFitter::kTopHadMass, TtSemiLepKinFitter::kTopLepMass, TtSemiLepKinFitter::kWHadMass, TtSemiLepKinFitter::kWLepMass, and query::result.
|
private |
Definition at line 427 of file TtSemiLepKinFitProducer.h.
References i, and query::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.
|
private |
Definition at line 391 of file TtSemiLepKinFitProducer.h.
References edm::hlt::Exception, TopKinFitter::kEMom, TopKinFitter::kEtEtaPhi, TopKinFitter::kEtThetaPhi, and query::result.
Referenced by TtSemiLepKinFitProducer< LeptonCollection >::TtSemiLepKinFitProducer().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 174 of file TtSemiLepKinFitProducer.h.
References TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::Chi2, edm::Event::getByLabel(), TtSemiLepEvtPartons::HadB, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::HadB, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::HadP, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::HadQ, 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(), stdcomb::next_combination(), nPartons, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::Prob, edm::Event::put(), query::result, TtSemiLepKinFitProducer< LeptonCollection >::KinFitResult::Status, and ntuplemaker::status.
|
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.
|
private |
constrains
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 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.
|
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.
|
private |
Definition at line 38 of file TtSemiLepKinFitProducer.h.
|
private |
max value of bTag for a non-b-jet
Definition at line 46 of file TtSemiLepKinFitProducer.h.
|
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.
|
private |
maximal number of jets (-1 possible to indicate 'all')
Definition at line 50 of file TtSemiLepKinFitProducer.h.
|
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.
|
private |
min value of bTag for a b-jet
Definition at line 44 of file TtSemiLepKinFitProducer.h.
|
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.
|
private |
switch to use only a combination given by another hypothesis
Definition at line 40 of file TtSemiLepKinFitProducer.h.