#include <TtFullHadKinFitProducer.h>
Public Member Functions | |
TtFullHadKinFitProducer (const edm::ParameterSet &cfg) | |
default constructor More... | |
~TtFullHadKinFitProducer () | |
default destructor More... | |
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) |
Public Attributes | |
TtFullHadKinFitter::KinFit * | kinFitter |
kinematic fit interface More... | |
Private Member Functions | |
virtual void | produce (edm::Event &event, const edm::EventSetup &setup) |
produce fitted object collections and meta data describing fit quality More... | |
Private Attributes | |
std::vector< edm::ParameterSet > | bResolutions_ |
std::string | bTagAlgo_ |
input tag for b-tagging algorithm More... | |
unsigned int | bTags_ |
minimal number of b-jets More... | |
std::vector< unsigned > | constraints_ |
numbering of different possible kinematic constraints More... | |
std::string | jetCorrectionLevel_ |
correction level for jets More... | |
std::vector< double > | jetEnergyResolutionEtaBinning_ |
std::vector< double > | jetEnergyResolutionScaleFactors_ |
scale factors for jet energy resolution More... | |
unsigned int | jetParam_ |
numbering of different possible jet parametrizations More... | |
edm::EDGetTokenT< std::vector< pat::Jet > > | jetsToken_ |
input tag for jets More... | |
edm::EDGetTokenT< std::vector< std::vector< int > > > | matchToken_ |
input tag for matches (in case the fit should be performed on certain matches) More... | |
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... | |
double | minBTagValueBJet_ |
min value of bTag for a b-jet More... | |
double | mTop_ |
top mass value used for constraints More... | |
double | mW_ |
W mass value used for constraints. More... | |
std::vector< edm::ParameterSet > | udscResolutions_ |
store the resolutions for the jets More... | |
bool | useBTagging_ |
switch to tell whether to use b-tagging or not More... | |
bool | useOnlyMatch_ |
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 22 of file TtFullHadKinFitProducer.h.
|
explicit |
default constructor
Definition at line 6 of file TtFullHadKinFitProducer.cc.
References bResolutions_, bTagAlgo_, bTags_, constraints_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), jetCorrectionLevel_, jetEnergyResolutionEtaBinning_, jetEnergyResolutionScaleFactors_, jetParam_, kinFitter, maxBTagValueNonBJet_, maxDeltaS_, maxF_, maxNComb_, maxNJets_, maxNrIter_, minBTagValueBJet_, mTop_, mW_, udscResolutions_, and useBTagging_.
TtFullHadKinFitProducer::~TtFullHadKinFitProducer | ( | ) |
default destructor
Definition at line 58 of file TtFullHadKinFitProducer.cc.
References kinFitter.
|
privatevirtual |
produce fitted object collections and meta data describing fit quality
set match to be used
set the validity of a match
Definition at line 65 of file TtFullHadKinFitProducer.cc.
References DEFINE_FWK_MODULE, TtFullHadKinFitter::KinFit::fit(), training_settings::idx, fwrapper::jets, jetsToken_, kinFitter, match(), patRefSel_triggerMatching_cfi::matches, matchToken_, maxNComb_, eostools::move(), nPartons, TtFullHadKinFitter::KinFit::setMatch(), TtFullHadKinFitter::KinFit::setMatchInvalidity(), TtFullHadKinFitter::KinFit::setUseOnlyMatch(), and useOnlyMatch_.
|
private |
Definition at line 73 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
input tag for b-tagging algorithm
Definition at line 43 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
minimal number of b-jets
Definition at line 51 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
numbering of different possible kinematic constraints
Definition at line 67 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
correction level for jets
Definition at line 53 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
Definition at line 76 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
scale factors for jet energy resolution
Definition at line 75 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
numbering of different possible jet parametrizations
Definition at line 65 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
input tag for jets
Definition at line 36 of file TtFullHadKinFitProducer.h.
Referenced by produce().
TtFullHadKinFitter::KinFit* TtFullHadKinFitProducer::kinFitter |
kinematic fit interface
Definition at line 81 of file TtFullHadKinFitProducer.h.
Referenced by produce(), TtFullHadKinFitProducer(), and ~TtFullHadKinFitProducer().
|
private |
input tag for matches (in case the fit should be performed on certain matches)
Definition at line 38 of file TtFullHadKinFitProducer.h.
Referenced by produce().
|
private |
max value of bTag for a non-b-jet
Definition at line 47 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
maximal chi2 equivalent
Definition at line 61 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
maximal deviation for contstraints
Definition at line 63 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
maximal number of combinations to be written to the event
Definition at line 57 of file TtFullHadKinFitProducer.h.
Referenced by produce(), and TtFullHadKinFitProducer().
|
private |
maximal number of jets (-1 possible to indicate 'all')
Definition at line 55 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
maximal number of iterations to be performed for the fit
Definition at line 59 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
min value of bTag for a b-jet
Definition at line 45 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
top mass value used for constraints
Definition at line 71 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
W mass value used for constraints.
Definition at line 69 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
store the resolutions for the jets
Definition at line 73 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
switch to tell whether to use b-tagging or not
Definition at line 49 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
switch to tell whether all possible combinations should be used for the fit or only a certain combination
Definition at line 41 of file TtFullHadKinFitProducer.h.
Referenced by produce().