#include <TtJetPartonMatch.h>
Private Member Functions | |
JetPartonMatching::algorithms | readAlgorithm (const std::string &str) |
convert string for algorithm into corresponding enumerator type More... | |
Private Attributes | |
JetPartonMatching::algorithms | algorithm_ |
choice of algorithm More... | |
edm::EDGetTokenT< TtGenEvent > | genEvt_ |
TtGenEvent collection input. More... | |
edm::EDGetTokenT< edm::View< reco::Jet > > | jets_ |
jet collection input More... | |
double | maxDist_ |
int | maxNComb_ |
int | maxNJets_ |
C | partons_ |
partons More... | |
bool | useDeltaR_ |
switch to choose between deltaR/deltaTheta matching More... | |
bool | useMaxDist_ |
int | verbosity_ |
verbosity level More... | |
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 | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 44 of file TtJetPartonMatch.h.
|
explicit |
default conructor
Definition at line 87 of file TtJetPartonMatch.h.
|
override |
|
override |
write jet parton match objects into the event
Definition at line 117 of file TtJetPartonMatch.h.
References TtJetPartonMatch< C >::algorithm_, TtGenEvtProducer_cfi::genEvt, TtJetPartonMatch< C >::genEvt_, edm::Event::getByToken(), JetPartonMatching::getMatchesForPartons(), JetPartonMatching::getNumberOfAvailableCombinations(), JetPartonMatching::getSumDeltaPt(), JetPartonMatching::getSumDeltaR(), fwrapper::jets, TtJetPartonMatch< C >::jets_, match(), patRefSel_triggerMatching_cfi::matches, TtJetPartonMatch< C >::maxDist_, TtJetPartonMatch< C >::maxNComb_, TtJetPartonMatch< C >::maxNJets_, eostools::move(), AK4CaloJetsMCFlavour_cff::partons, TtJetPartonMatch< C >::partons_, JetPartonMatching::print(), edm::Event::put(), TtFullHadEvtBuilder_cfi::sumDR, TtFullHadEvtBuilder_cfi::sumPt, TtJetPartonMatch< C >::useDeltaR_, TtJetPartonMatch< C >::useMaxDist_, and TtJetPartonMatch< C >::verbosity_.
|
private |
convert string for algorithm into corresponding enumerator type
Definition at line 185 of file TtJetPartonMatch.h.
References Exception, JetPartonMatching::minSumDist, JetPartonMatching::ptOrderedMinDist, JetPartonMatching::totalMinDist, and JetPartonMatching::unambiguousOnly.
|
private |
choice of algorithm
Definition at line 73 of file TtJetPartonMatch.h.
Referenced by TtJetPartonMatch< C >::produce().
|
private |
TtGenEvent collection input.
Definition at line 63 of file TtJetPartonMatch.h.
Referenced by TtJetPartonMatch< C >::produce().
|
private |
jet collection input
Definition at line 65 of file TtJetPartonMatch.h.
Referenced by TtJetPartonMatch< C >::produce().
|
private |
threshold for outliers in the case that useMaxDist_ =true
Definition at line 81 of file TtJetPartonMatch.h.
Referenced by TtJetPartonMatch< C >::produce().
|
private |
maximal number of combinations for which the matching should be stored
Definition at line 71 of file TtJetPartonMatch.h.
Referenced by TtJetPartonMatch< C >::produce().
|
private |
maximal number of jets to be considered for the matching
Definition at line 68 of file TtJetPartonMatch.h.
Referenced by TtJetPartonMatch< C >::produce().
|
private |
partons
Definition at line 61 of file TtJetPartonMatch.h.
Referenced by TtJetPartonMatch< C >::produce().
|
private |
switch to choose between deltaR/deltaTheta matching
Definition at line 75 of file TtJetPartonMatch.h.
Referenced by TtJetPartonMatch< C >::produce().
|
private |
switch to choose whether an outlier rejection should be applied or not
Definition at line 78 of file TtJetPartonMatch.h.
Referenced by TtJetPartonMatch< C >::produce().
|
private |
verbosity level
Definition at line 83 of file TtJetPartonMatch.h.
Referenced by TtJetPartonMatch< C >::produce().