#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 () | |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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::InputTag | jets_ |
input tag for jets More... | |
edm::InputTag | match_ |
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 |
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 | |
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 22 of file TtFullHadKinFitProducer.h.
|
explicit |
default constructor
Definition at line 6 of file TtFullHadKinFitProducer.cc.
References bResolutions_, bTagAlgo_, bTags_, constraints_, edm::hlt::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
Implements edm::EDProducer.
Definition at line 65 of file TtFullHadKinFitProducer.cc.
References TtFullHadKinFitter::KinFit::fit(), customizeTrackingMonitorSeedNumber::idx, fwrapper::jets, jets_, kinFitter, match(), match_, maxNComb_, 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().