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, edm::ConsumesCollector &iC) | |
~PATUserDataMerger () | |
Static Public Member Functions | |
static void | fillDescription (edm::ParameterSetDescription &iDesc) |
Private Attributes | |
Operation | loader_ |
std::vector< edm::InputTag > | userDataSrc_ |
std::vector< edm::EDGetTokenT < typename Operation::product_type > > | userDataSrcTokens_ |
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 74 of file PATUserDataMerger.h.
|
inline |
Definition at line 78 of file PATUserDataMerger.h.
pat::PATUserDataMerger< ObjectType, Operation >::PATUserDataMerger | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 101 of file PATUserDataMerger.h.
References edm::ConsumesCollector::consumes(), pat::PATUserDataMerger< ObjectType, Operation >::userDataSrc_, and pat::PATUserDataMerger< ObjectType, Operation >::userDataSrcTokens_.
|
inline |
Definition at line 80 of file PATUserDataMerger.h.
void pat::PATUserDataMerger< ObjectType, Operation >::add | ( | ObjectType & | patObject, |
edm::Event const & | iEvent, | ||
edm::EventSetup const & | iSetup | ||
) |
Definition at line 128 of file PATUserDataMerger.h.
References edm::Event::getByToken(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by counter.Counter::register().
|
static |
Definition at line 156 of file PATUserDataMerger.h.
References edm::ParameterSetDescription::add().
Referenced by pat::PATUserDataHelper< ObjectType >::fillDescription().
|
private |
Definition at line 93 of file PATUserDataMerger.h.
|
private |
Definition at line 91 of file PATUserDataMerger.h.
Referenced by pat::PATUserDataMerger< ObjectType, Operation >::PATUserDataMerger().
|
private |
Definition at line 92 of file PATUserDataMerger.h.
Referenced by pat::PATUserDataMerger< ObjectType, Operation >::PATUserDataMerger().