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 | |
std::vector< std::string > | labelPostfixesToStrip_ |
std::vector< std::string > | labels_ |
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 79 of file PATUserDataMerger.h.
|
inline |
Definition at line 81 of file PATUserDataMerger.h.
pat::PATUserDataMerger< ObjectType, Operation >::PATUserDataMerger | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 102 of file PATUserDataMerger.h.
|
inline |
Definition at line 83 of file PATUserDataMerger.h.
void pat::PATUserDataMerger< ObjectType, Operation >::add | ( | ObjectType & | patObject, |
edm::Event const & | iEvent, | ||
edm::EventSetup const & | iSetup | ||
) |
|
static |
Definition at line 166 of file PATUserDataMerger.h.
Referenced by pat::PATUserDataHelper< pat::MET >::fillDescription().
|
private |
Definition at line 94 of file PATUserDataMerger.h.
|
private |
Definition at line 94 of file PATUserDataMerger.h.
|
private |
Definition at line 95 of file PATUserDataMerger.h.
|
private |
Definition at line 92 of file PATUserDataMerger.h.
|
private |
Definition at line 93 of file PATUserDataMerger.h.