63 muons_(iConfig.getParameter<edm::InputTag>(
"src"))
68 std::map<std::string,edm::ParameterSet> psetMap;
71 std::vector<std::string> isolationLabels;
72 isolationLabels.push_back(
"pfIsolationR03");
73 isolationLabels.push_back(
"pfIsoMeanDRProfileR03");
74 isolationLabels.push_back(
"pfIsoSumDRProfileR03");
75 isolationLabels.push_back(
"pfIsolationR04");
76 isolationLabels.push_back(
"pfIsoMeanDRProfileR04");
77 isolationLabels.push_back(
"pfIsoSumDRProfileR04");
80 for( std::vector<std::string>::const_iterator
label = isolationLabels.begin();
label != isolationLabels.end();++
label)
85 produces<reco::MuonCollection>();
107 using namespace reco;
118 for(
unsigned int i=0;
i<
muons->size();++
i) {
122 out->push_back(muon);
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
std::vector< Muon > MuonCollection
collection of Muon objects
void addDefault(ParameterSetDescription const &psetDescription)
MuPFIsoEmbedder(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
int embedPFIsolation(reco::Muon &, reco::MuonRef &)
virtual void produce(edm::Event &, const edm::EventSetup &)
void beginEvent(const edm::Event &iEvent)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)