26 theInputTags(par.getParameter<
std::vector<
edm::
InputTag> >(
"inputTags")),
27 theDepositNames(par.getParameter<
std::vector<
std::
string> >(
"depositNames"))
30 LogDebug(
"RecoMuon|MuonIsolation")<<
" MuIsoDepositCopyProducer CTOR";
32 throw cms::Exception(
"MuIsoDepositCopyProducer constructor")<<
"the sizes of input/output vectors don't match";
40 for (
unsigned int iDep = 0; iDep <
theInputTags.size(); ++iDep)
47 LogDebug(
"RecoMuon/MuIsoDepositCopyProducer")<<
" MuIsoDepositCopyProducer DTOR";
54 LogDebug(metname)<<
" Muon Deposit producing..." 55 <<
" BEGINING OF EVENT " <<
"================================";
57 LogTrace(metname)<<
" Taking the inputs: ";
63 event.put(std::make_unique<reco::IsoDepositMap>(*inDep),
theDepositNames[iDep]);
66 LogTrace(metname) <<
" END OF EVENT " <<
"================================";
T getParameter(std::string const &) const
std::vector< edm::EDGetTokenT< reco::IsoDepositMap > > theInputTokens
const std::string metname
void produce(edm::Event &, const edm::EventSetup &) override
data making method
std::vector< std::string > theDepositNames
#define DEFINE_FWK_MODULE(type)
edm::ParameterSet theConfig
module configuration
~MuIsoDepositCopyProducer() override
destructor
MuIsoDepositCopyProducer(const edm::ParameterSet &)
constructor
std::vector< edm::InputTag > theInputTags
for backward compatibility: take one input module and