#include <PhysicsTools/PATObjectCrossLinker/plugins/PATObjectCrossLinker.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | beginStream (edm::StreamID) override |
void | endStream () override |
template<class C1 , class C2 , class C3 , class C4 > | |
void | matchElectronToPhoton (const C1 &refProdOne, C2 &itemsOne, const std::string &nameOne, const C3 &refProdMany, C4 &itemsMany, const std::string &nameMany) |
template<class C1 , class C2 , class C3 , class C4 > | |
void | matchOneToMany (const C1 &refProdOne, C2 &itemsOne, const std::string &nameOne, const C3 &refProdMany, C4 &itemsMany, const std::string &nameMany) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
const edm::EDGetTokenT< edm::View< pat::Electron > > | electrons_ |
const edm::EDGetTokenT< edm::View< pat::Jet > > | jets_ |
const edm::EDGetTokenT< edm::View< pat::Muon > > | muons_ |
const edm::EDGetTokenT< edm::View< pat::Photon > > | photons_ |
const edm::EDGetTokenT< edm::View< pat::Tau > > | taus_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | 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 |
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) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 46 of file PATObjectCrossLinker.cc.
|
explicit |
Definition at line 84 of file PATObjectCrossLinker.cc.
|
override |
Definition at line 101 of file PATObjectCrossLinker.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 209 of file PATObjectCrossLinker.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 215 of file PATObjectCrossLinker.cc.
|
static |
Definition at line 220 of file PATObjectCrossLinker.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 138 of file PATObjectCrossLinker.cc.
References funct::m, matchByCommonParentSuperClusterRef(), analyzePatCleaning_cfg::overlaps, and edm::PtrVectorBase::productGetter().
Referenced by produce().
|
private |
Definition at line 118 of file PATObjectCrossLinker.cc.
References funct::m, matchByCommonSourceCandidatePtr(), analyzePatCleaning_cfg::overlaps, and edm::PtrVectorBase::productGetter().
Referenced by produce().
|
overrideprivate |
Definition at line 159 of file PATObjectCrossLinker.cc.
References MillePedeFileConverter_cfg::e, electrons_cff::electrons, electrons_, edm::Event::getByToken(), edm::Event::getRefBeforePut(), fwrapper::jets, jets_, funct::m, matchElectronToPhoton(), matchOneToMany(), eostools::move(), extraflags_cff::muons, muons_, AlCaHLTBitMon_ParallelJobs::p, nano_cff::photons, photons_, edm::Event::put(), lumiQTWidget::t, nano_cff::taus, and taus_.
|
private |
Definition at line 74 of file PATObjectCrossLinker.cc.
Referenced by produce().
|
private |
Definition at line 72 of file PATObjectCrossLinker.cc.
Referenced by produce().
|
private |
Definition at line 73 of file PATObjectCrossLinker.cc.
Referenced by produce().
|
private |
Definition at line 76 of file PATObjectCrossLinker.cc.
Referenced by produce().
|
private |
Definition at line 75 of file PATObjectCrossLinker.cc.
Referenced by produce().