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";
51 LogDebug(metname) <<
" Muon Deposit producing..."
52 <<
" BEGINING OF EVENT "
53 <<
"================================";
55 LogTrace(metname) <<
" Taking the inputs: ";
57 for (
unsigned int iDep = 0; iDep <
theInputTokens.size(); ++iDep) {
61 event.put(std::make_unique<reco::IsoDepositMap>(*inDep),
theDepositNames[iDep]);
64 LogTrace(metname) <<
" END OF EVENT "
65 <<
"================================";
std::vector< edm::EDGetTokenT< reco::IsoDepositMap > > theInputTokens
const std::string metname
#define DEFINE_FWK_MODULE(type)
void produce(edm::Event &, const edm::EventSetup &) override
data making method
std::vector< std::string > theDepositNames
edm::ParameterSet theConfig
module configuration
T getParameter(std::string const &) const
~MuIsoDepositCopyProducer() override
destructor
MuIsoDepositCopyProducer(const edm::ParameterSet &)
constructor
std::vector< edm::InputTag > theInputTags
for backward compatibility: take one input module and