Go to the documentation of this file.
23 theInputTags(par.getParameter<
std::vector<
edm::
InputTag> >(
"inputTags")),
24 theDepositNames(par.getParameter<
std::vector<
std::
string> >(
"depositNames"))
27 LogDebug(
"RecoMuon|MuonIsolation") <<
" MuIsoDepositCopyProducer CTOR";
29 throw cms::Exception(
"MuIsoDepositCopyProducer constructor") <<
"the sizes of input/output vectors don't match";
38 for (
unsigned int iDep = 0; iDep <
theInputTags.size(); ++iDep)
44 LogDebug(
"RecoMuon/MuIsoDepositCopyProducer") <<
" MuIsoDepositCopyProducer DTOR";
52 <<
" BEGINING OF EVENT "
53 <<
"================================";
57 for (
unsigned int iDep = 0; iDep <
theInputTokens.size(); ++iDep) {
61 event.put(std::make_unique<reco::IsoDepositMap>(*inDep),
theDepositNames[iDep]);
65 <<
"================================";
void produce(edm::Event &, const edm::EventSetup &) override
data making method
#define DEFINE_FWK_MODULE(type)
edm::ParameterSet theConfig
module configuration
std::vector< std::string > theDepositNames
~MuIsoDepositCopyProducer() override
destructor
T getParameter(std::string const &) const
std::vector< edm::EDGetTokenT< reco::IsoDepositMap > > theInputTokens
MuIsoDepositCopyProducer(const edm::ParameterSet &)
constructor
std::vector< edm::InputTag > theInputTags
for backward compatibility: take one input module and
const std::string metname