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 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 102 of file PATUserDataMerger.h.
References edm::ConsumesCollector::consumes(), HLT_25ns10e33_v2_cff::InputTag, pat::PATUserDataMerger< ObjectType, Operation >::labelPostfixesToStrip_, pat::PATUserDataMerger< ObjectType, Operation >::labels_, match(), AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, 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 139 of file PATUserDataMerger.h.
References edm::Event::getByToken(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by counter.Counter::register().
|
static |
Definition at line 167 of file PATUserDataMerger.h.
References edm::ParameterSetDescription::add(), and edm::ParameterSetDescription::addOptional().
Referenced by pat::PATUserDataHelper< ObjectType >::fillDescription().
|
private |
Definition at line 93 of file PATUserDataMerger.h.
Referenced by pat::PATUserDataMerger< ObjectType, Operation >::PATUserDataMerger().
|
private |
Definition at line 93 of file PATUserDataMerger.h.
Referenced by pat::PATUserDataMerger< ObjectType, Operation >::PATUserDataMerger().
|
private |
Definition at line 94 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().