Assimilates pat::UserData into pat objects. More...
#include "PhysicsTools/PatAlgos/interface/PATUserDataMerger.h"
Public Member Functions | |
void | add (ObjectType &patObject, edm::Event const &iEvent, edm::EventSetup const &iSetup) |
PATUserDataMerger () | |
PATUserDataMerger (const edm::ParameterSet &iConfig) | |
~PATUserDataMerger () | |
Static Public Member Functions | |
static void | fillDescription (edm::ParameterSetDescription &iDesc) |
Private Attributes | |
Operation | loader_ |
std::vector< edm::InputTag > | userDataSrc_ |
Assimilates pat::UserData into pat objects.
This expects one input: src: The data to add to the objects that get passed to this object, which are ValueMaps to some type (like UserData or double). This will be called from PATUserDataHelper to handle the templated cases like UserData or double. PATUserDataHelper will then add all the instantiated cases.
Definition at line 73 of file PATUserDataMerger.h.
|
inline |
Definition at line 77 of file PATUserDataMerger.h.
pat::PATUserDataMerger< ObjectType, Operation >::PATUserDataMerger | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 99 of file PATUserDataMerger.h.
|
inline |
Definition at line 79 of file PATUserDataMerger.h.
void pat::PATUserDataMerger< ObjectType, Operation >::add | ( | ObjectType & | patObject, |
edm::Event const & | iEvent, | ||
edm::EventSetup const & | iSetup | ||
) |
Definition at line 123 of file PATUserDataMerger.h.
References edm::Event::getByLabel(), and edm::Ptr< T >::id().
|
static |
Definition at line 154 of file PATUserDataMerger.h.
References edm::ParameterSetDescription::add().
Referenced by pat::PATUserDataHelper< ObjectType >::fillDescription().
|
private |
Definition at line 91 of file PATUserDataMerger.h.
|
private |
Definition at line 90 of file PATUserDataMerger.h.