CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1ExtraMixerPluginBase.cc
Go to the documentation of this file.
2 
4 {
7 
8  instanceLabel_ = cfg.getParameter<std::string>("instanceLabel");
9 
10  // CV: update instance labels
11  // (this logic guarantees that instance labels of the two input collections
12  // and the output collection always matches in all derived classes)
13  src1_ = edm::InputTag(src1.label(), instanceLabel_, src1.process());
14  src2_ = edm::InputTag(src2.label(), instanceLabel_, src2.process());
15 }
16 
18 
19 EDM_REGISTER_PLUGINFACTORY(L1ExtraMixerPluginFactory, "L1ExtraMixerPluginFactory");
20 
T getParameter(std::string const &) const
L1ExtraMixerPluginBase(const edm::ParameterSet &)
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition: PluginFactory.h:90
std::string const & label() const
Definition: InputTag.h:42
std::string const & process() const
Definition: InputTag.h:46