Public Types | |
enum | DEFINITION_T { PHYSICS = 0, ALGO, NEAREST_STATUS2, NEAREST_STATUS3, HEAVIEST, N_DEFINITIONS, NULL_DEF } |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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 |
Private Member Functions | |
void | fillLeptons (const std::vector< const reco::Candidate *> &, JetFlavour::Leptons &, int, int, math::XYZTLorentzVector const &thePartonLV) const |
std::vector< const reco::Candidate * > | findCandidates (const reco::Candidate *, int, math::XYZTLorentzVector const &thePartonLV) const |
JetFlavour::Leptons | findLeptons (const GenParticleRef &) const |
void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
Static Private Member Functions | |
static int | heaviestFlavour (int) |
Private Attributes | |
DEFINITION_T | definition |
bool | leptonInfo_ |
bool | physDefinition |
EDGetTokenT< JetMatchedPartonsCollection > | sourceByReferToken_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::global::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
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) |
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 () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 86 of file JetFlavourIdentifier.cc.
Enumerator | |
---|---|
PHYSICS | |
ALGO | |
NEAREST_STATUS2 | |
NEAREST_STATUS3 | |
HEAVIEST | |
N_DEFINITIONS | |
NULL_DEF |
Definition at line 88 of file JetFlavourIdentifier.cc.
JetFlavourIdentifier::JetFlavourIdentifier | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 118 of file JetFlavourIdentifier.cc.
References edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().
|
override |
Definition at line 136 of file JetFlavourIdentifier.cc.
|
private |
test for neutrinos because of conversions and dalitz pions
Definition at line 342 of file JetFlavourIdentifier.cc.
References funct::abs(), HLT_2023v12_cff::cands, mps_fire::i, dqmiolumiharvest::j, HLT_2023v12_cff::leptons, SiStripPI::max, and EgammaValidation_cff::pdgId.
|
private |
Definition at line 307 of file JetFlavourIdentifier.cc.
References funct::abs(), HLT_2023v12_cff::cands, filterCSVwithJSON::copy, electronAnalyzer_cfi::DeltaR, mps_fire::i, jetMC_cff::partonFlavour, and EgammaValidation_cff::pdgId.
|
private |
first daughter of the parton should be an MC particle (pdgId==92,93)
lookup particles with parton flavour and weak decay
count leptons of candidates
Definition at line 286 of file JetFlavourIdentifier.cc.
References funct::abs(), HLT_2023v12_cff::candidates, and jetMC_cff::partonFlavour.
|
staticprivate |
Definition at line 375 of file JetFlavourIdentifier.cc.
References funct::abs(), and EgammaValidation_cff::pdgId.
|
overrideprivatevirtual |
Implements edm::global::EDProducerBase.
Definition at line 140 of file JetFlavourIdentifier.cc.
References lumi::ALGO, reco::MatchedPartons::algoDefinitionParton(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::begin(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::empty(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::end(), edm::Ref< C, T, F >::get(), reco::MatchedPartons::heaviest(), iEvent, edm::Ref< C, T, F >::isNonnull(), dqmiolumiharvest::j, findQualityFiles::jj, edm::makeRefToBaseProdFrom(), eostools::move(), reco::MatchedPartons::nearest_status2(), reco::MatchedPartons::nearest_status3(), sistrip::PHYSICS, and reco::MatchedPartons::physicsDefinitionParton().
|
private |
Definition at line 110 of file JetFlavourIdentifier.cc.
|
private |
Definition at line 109 of file JetFlavourIdentifier.cc.
|
private |
Definition at line 108 of file JetFlavourIdentifier.cc.
|
private |
Definition at line 107 of file JetFlavourIdentifier.cc.