Produces VertexAssociation and a ValueMap to the originating reco jets. More...
Public Member Functions | |
PATVertexAssociationProducer (const edm::ParameterSet &iConfig) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
~PATVertexAssociationProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Types | |
typedef edm::ValueMap < pat::VertexAssociation > | VertexAssociationMap |
typedef std::vector < edm::InputTag > | VInputTag |
Private Attributes | |
std::vector< edm::InputTag > | particles_ |
pat::helper::VertexingHelper | vertexing_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Produces VertexAssociation and a ValueMap to the originating reco jets.
The PATVertexAssociationProducer produces a set of vertex associations for one or more collection of Candidates, and saves them in a ValueMap in the event.
These can be retrieved in PAT Layer 1 to be embedded in PAT Objects
Definition at line 29 of file VertexAssociationProducer.cc.
|
private |
Definition at line 31 of file VertexAssociationProducer.cc.
|
private |
Definition at line 41 of file VertexAssociationProducer.cc.
|
explicit |
Definition at line 52 of file VertexAssociationProducer.cc.
PATVertexAssociationProducer::~PATVertexAssociationProducer | ( | ) |
Definition at line 62 of file VertexAssociationProducer.cc.
|
virtual |
Implements edm::EDProducer.
Definition at line 66 of file VertexAssociationProducer.cc.
References end, edm::helper::Filler< Map >::fill(), edm::Event::getByLabel(), i, edm::helper::Filler< Map >::insert(), n, pat::helper::VertexingHelper::newEvent(), particles_, edm::Event::put(), query::result, and vertexing_.
|
private |
Definition at line 43 of file VertexAssociationProducer.cc.
Referenced by produce().
|
private |
Definition at line 44 of file VertexAssociationProducer.cc.
Referenced by produce().