#include <CommonTools/RecoUtils/plugins/PFCand_AssoMap.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
edm::InputTag | input_AssociationType_ |
edm::EDGetTokenT < reco::PFCandidateCollection > | token_PFCandidates_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
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) |
Protected Member Functions inherited from PF_PU_AssoMapAlgos | |
std::vector< reco::VertexRef > * | CreateVertexVector (edm::Handle< reco::VertexCollection >) |
int | DefineQuality (int, int, double) |
void | EraseVertex (std::vector< reco::VertexRef > *, reco::VertexRef) |
VertexStepPair | FindAssociation (const reco::TrackRef &, std::vector< reco::VertexRef > *, edm::ESHandle< MagneticField >, const edm::EventSetup &, edm::Handle< reco::BeamSpot >, int) |
Description: Produces a map with association between pf candidates and their particular most probable vertex with a quality of this association
Definition at line 37 of file PFCand_AssoMap.h.
|
explicit |
Definition at line 33 of file PFCand_AssoMap.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), input_AssociationType_, edm::InputTag::label(), and token_PFCandidates_.
PFCand_AssoMap::~PFCand_AssoMap | ( | ) |
Definition at line 63 of file PFCand_AssoMap.cc.
|
static |
Definition at line 103 of file PFCand_AssoMap.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 74 of file PFCand_AssoMap.cc.
References PFCand_AssoMapAlgos::CreatePFCandToVertexMap(), PFCand_AssoMapAlgos::CreateVertexToPFCandMap(), edm::Event::getByToken(), PFCand_AssoMapAlgos::GetInputCollections(), input_AssociationType_, edm::InputTag::label(), edm::Event::productGetter(), edm::Event::put(), dt_dqm_sourceclient_common_cff::reco, PFCand_AssoMapAlgos::SortPFCandAssociationMap(), and token_PFCandidates_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 49 of file PFCand_AssoMap.h.
Referenced by PFCand_AssoMap(), and produce().
|
private |
Definition at line 51 of file PFCand_AssoMap.h.
Referenced by PFCand_AssoMap(), and produce().