#include <TtFullHadKinFitProducer.h>
Public Attributes | |
TtFullHadKinFitter::KinFit * | kinFitter |
kinematic fit interface More... | |
Private Member Functions | |
void | produce (edm::Event &event, const edm::EventSetup &setup) override |
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 | |
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 | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (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_, looper::cfg, constraints_, Exception, jetCorrectionLevel_, jetEnergyResolutionEtaBinning_, jetEnergyResolutionScaleFactors_, jetParam_, kinFitter, maxBTagValueNonBJet_, maxDeltaS_, maxF_, maxNComb_, maxNJets_, maxNrIter_, minBTagValueBJet_, mTop_, mW_, udscResolutions_, and useBTagging_.
|
override |
|
overrideprivatevirtual |
produce fitted object collections and meta data describing fit quality
set match to be used
set the validity of a match
Implements edm::EDProducer.
Definition at line 78 of file TtFullHadKinFitProducer.cc.
References TtFullHadKinFitter::KinFit::fit(), heavyIonCSV_trainingSettings::idx, singleTopDQM_cfi::jets, jetsToken_, kinFitter, match(), patCandidatesForDimuonsSequences_cff::matches, matchToken_, maxNComb_, eostools::move(), nPartons, TtFullHadKinFitter::KinFit::setMatch(), TtFullHadKinFitter::KinFit::setMatchInvalidity(), TtFullHadKinFitter::KinFit::setUseOnlyMatch(), useOnlyMatch_, and trackerHitRTTI::vector.
|
private |
Definition at line 72 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
input tag for b-tagging algorithm
Definition at line 42 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
minimal number of b-jets
Definition at line 50 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
numbering of different possible kinematic constraints
Definition at line 66 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
correction level for jets
Definition at line 52 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
Definition at line 75 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
scale factors for jet energy resolution
Definition at line 74 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
numbering of different possible jet parametrizations
Definition at line 64 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
input tag for jets
Definition at line 35 of file TtFullHadKinFitProducer.h.
Referenced by produce().
TtFullHadKinFitter::KinFit* TtFullHadKinFitProducer::kinFitter |
kinematic fit interface
Definition at line 79 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 37 of file TtFullHadKinFitProducer.h.
Referenced by produce().
|
private |
max value of bTag for a non-b-jet
Definition at line 46 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
maximal chi2 equivalent
Definition at line 60 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
maximal deviation for contstraints
Definition at line 62 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
maximal number of combinations to be written to the event
Definition at line 56 of file TtFullHadKinFitProducer.h.
Referenced by produce(), and TtFullHadKinFitProducer().
|
private |
maximal number of jets (-1 possible to indicate 'all')
Definition at line 54 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
maximal number of iterations to be performed for the fit
Definition at line 58 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
min value of bTag for a b-jet
Definition at line 44 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
top mass value used for constraints
Definition at line 70 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
W mass value used for constraints.
Definition at line 68 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
store the resolutions for the jets
Definition at line 72 of file TtFullHadKinFitProducer.h.
Referenced by TtFullHadKinFitProducer().
|
private |
switch to tell whether to use b-tagging or not
Definition at line 48 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 40 of file TtFullHadKinFitProducer.h.
Referenced by produce().