#include <TtHadEvtSolutionMaker.h>
Public Member Functions | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
TtHadEvtSolutionMaker (const edm::ParameterSet &iConfig) | |
constructor More... | |
~TtHadEvtSolutionMaker () override | |
destructor More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
~EDProducer () override | |
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 () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
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, ModuleToResolverIndicies 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) |
Private Attributes | |
bool | addLRJetComb_ |
bool | addLRSignalSel_ |
std::vector< unsigned int > | constraints_ |
bool | doKinFit_ |
edm::EDGetTokenT< TtGenEvent > | genEvtToken_ |
int | jetCorrScheme_ |
int | jetParam_ |
edm::EDGetTokenT< std::vector< pat::Jet > > | jetSrcToken_ |
std::string | lrJetCombFile_ |
std::vector< int > | lrJetCombObs_ |
std::string | lrSignalSelFile_ |
std::vector< int > | lrSignalSelObs_ |
int | matchingAlgo_ |
bool | matchToGenEvt_ |
double | maxDeltaS_ |
double | maxDist_ |
double | maxF_ |
int | maxNrIter_ |
TtFullHadKinFitter * | myKinFitter |
TtHadLRJetCombCalc * | myLRJetCombCalc |
TtHadLRJetCombObservables * | myLRJetCombObservables |
TtHadLRSignalSelCalc * | myLRSignalSelCalc |
TtHadLRSignalSelObservables * | myLRSignalSelObservables |
TtHadSimpleBestJetComb * | mySimpleBestJetComb |
bool | useDeltaR_ |
bool | useMaxDist_ |
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) |
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 25 of file TtHadEvtSolutionMaker.h.
|
explicit |
constructor
Definition at line 17 of file TtHadEvtSolutionMaker.cc.
References addLRJetComb_, addLRSignalSel_, constraints_, doKinFit_, genEvtToken_, edm::ParameterSet::getParameter(), jetCorrScheme_, jetParam_, jetSrcToken_, lrJetCombFile_, lrJetCombObs_, lrSignalSelFile_, lrSignalSelObs_, matchingAlgo_, matchToGenEvt_, maxDeltaS_, maxDist_, maxF_, maxNrIter_, myKinFitter, myLRJetCombCalc, myLRJetCombObservables, myLRSignalSelCalc, myLRSignalSelObservables, mySimpleBestJetComb, AlCaHLTBitMon_QueryRunRegistry::string, useDeltaR_, and useMaxDist_.
|
override |
destructor
Definition at line 62 of file TtHadEvtSolutionMaker.cc.
References addLRJetComb_, addLRSignalSel_, doKinFit_, myKinFitter, myLRJetCombCalc, myLRJetCombObservables, myLRSignalSelCalc, myLRSignalSelObservables, and mySimpleBestJetComb.
|
override |
Definition at line 75 of file TtHadEvtSolutionMaker.cc.
References TtFullHadKinFitter::addKinFitInfo(), addLRJetComb_, addLRSignalSel_, TopGenEvent::b(), TopGenEvent::bBar(), gather_cfg::cout, TopGenEvent::daughterQuarkBarOfWMinus(), TopGenEvent::daughterQuarkBarOfWPlus(), TopGenEvent::daughterQuarkOfWMinus(), TopGenEvent::daughterQuarkOfWPlus(), doKinFit_, TtGenEvtProducer_cfi::genEvt, genEvtToken_, edm::Event::getByToken(), JetPartonMatching::getDistanceForParton(), JetPartonMatching::getMatchForParton(), JetPartonMatching::getSumDistances(), mps_fire::i, jetCorrScheme_, jetParam_, fwrapper::jets, jetSrcToken_, gen::k, matchingAlgo_, matchToGenEvt_, maxDist_, eostools::move(), myKinFitter, AlCaHLTBitMon_ParallelJobs::p, edm::Event::put(), lumiQueryAPI::q, alignCSCRings::s, TtHadEvtSolution::setJetParametrisation(), useDeltaR_, and useMaxDist_.
|
private |
Definition at line 40 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), TtHadEvtSolutionMaker(), and ~TtHadEvtSolutionMaker().
|
private |
Definition at line 40 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), TtHadEvtSolutionMaker(), and ~TtHadEvtSolutionMaker().
|
private |
Definition at line 48 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker().
|
private |
Definition at line 40 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), TtHadEvtSolutionMaker(), and ~TtHadEvtSolutionMaker().
|
private |
Definition at line 49 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), and TtHadEvtSolutionMaker().
|
private |
Definition at line 38 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), and TtHadEvtSolutionMaker().
|
private |
Definition at line 46 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), and TtHadEvtSolutionMaker().
|
private |
Definition at line 37 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), and TtHadEvtSolutionMaker().
|
private |
Definition at line 39 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker().
|
private |
Definition at line 47 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker().
|
private |
Definition at line 39 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker().
|
private |
Definition at line 47 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker().
|
private |
Definition at line 41 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), and TtHadEvtSolutionMaker().
|
private |
Definition at line 40 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), and TtHadEvtSolutionMaker().
|
private |
Definition at line 45 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker().
|
private |
Definition at line 43 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), and TtHadEvtSolutionMaker().
|
private |
Definition at line 45 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker().
|
private |
Definition at line 44 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker().
|
private |
Definition at line 51 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), TtHadEvtSolutionMaker(), and ~TtHadEvtSolutionMaker().
|
private |
Definition at line 54 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker(), and ~TtHadEvtSolutionMaker().
|
private |
Definition at line 53 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker(), and ~TtHadEvtSolutionMaker().
|
private |
Definition at line 56 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker(), and ~TtHadEvtSolutionMaker().
|
private |
Definition at line 55 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker(), and ~TtHadEvtSolutionMaker().
|
private |
Definition at line 52 of file TtHadEvtSolutionMaker.h.
Referenced by TtHadEvtSolutionMaker(), and ~TtHadEvtSolutionMaker().
|
private |
Definition at line 42 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), and TtHadEvtSolutionMaker().
|
private |
Definition at line 42 of file TtHadEvtSolutionMaker.h.
Referenced by produce(), and TtHadEvtSolutionMaker().