Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TauAnalysis
MCEmbeddingTools
src
L1ExtraMixerPluginBase.cc
Go to the documentation of this file.
1
#include "
TauAnalysis/MCEmbeddingTools/interface/L1ExtraMixerPluginBase.h
"
2
3
L1ExtraMixerPluginBase::L1ExtraMixerPluginBase
(
const
edm::ParameterSet
& cfg)
4
{
5
edm::InputTag
src1
= cfg.
getParameter
<
edm::InputTag
>(
"src1"
);
6
edm::InputTag
src2
= cfg.
getParameter
<
edm::InputTag
>(
"src2"
);
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
17
#include "
FWCore/Framework/interface/MakerMacros.h
"
18
19
EDM_REGISTER_PLUGINFACTORY
(
L1ExtraMixerPluginFactory
,
"L1ExtraMixerPluginFactory"
);
20
readCalibrations2004_v2_cff.src1
tuple src1
Definition:
readCalibrations2004_v2_cff.py:3
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
L1ExtraMixerPluginBase::src1_
edm::InputTag src1_
Definition:
L1ExtraMixerPluginBase.h:36
MakerMacros.h
readConfiguration2006_v0_cff.src2
tuple src2
Definition:
readConfiguration2006_v0_cff.py:20
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edmplugin::PluginFactory
Definition:
PluginFactory.h:31
L1ExtraMixerPluginBase::L1ExtraMixerPluginBase
L1ExtraMixerPluginBase(const edm::ParameterSet &)
Definition:
L1ExtraMixerPluginBase.cc:3
L1ExtraMixerPluginBase::instanceLabel_
std::string instanceLabel_
Definition:
L1ExtraMixerPluginBase.h:39
EDM_REGISTER_PLUGINFACTORY
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition:
PluginFactory.h:90
edm::InputTag::label
std::string const & label() const
Definition:
InputTag.h:42
edm::InputTag::process
std::string const & process() const
Definition:
InputTag.h:46
edm::InputTag
Definition:
InputTag.h:17
edm::ParameterSet
Definition:
ParameterSet.h:35
L1ExtraMixerPluginBase::src2_
edm::InputTag src2_
Definition:
L1ExtraMixerPluginBase.h:37
L1ExtraMixerPluginBase.h
Generated for CMSSW Reference Manual by
1.8.5