12 #include "Math/VectorUtil.h"
39 muonSrcToken_(consumes<edm::
View<pat::
Muon> >(iConfig.getUntrackedParameter<edm::
InputTag>(
"muonSrc"))) {}
49 for (
unsigned int i = 0;
i <
muon->genParticleRefs().size(); ++
i) {
50 switch (
muon->genParticle(
i)->status()) {
73 histContainer_[
"DR_defaultMatch"] = fs->
make<TH1F>(
"DR_defaultMatch",
"DR_defaultMatch", 100, 0., 0.02);
74 histContainer_[
"DR_status1Match"] = fs->
make<TH1F>(
"DR_status1Match",
"DR_status1Match", 100, 0., 0.02);
75 histContainer_[
"DR_status3Match"] = fs->
make<TH1F>(
"DR_status3Match",
"DR_status3Match", 100, 0., 0.02);
~PatMCMatching() override
default destructor
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
PatMCMatching(const edm::ParameterSet &)
default constructor
T * make(const Args &...args) const
make new ROOT object
void analyze(const edm::Event &, const edm::EventSetup &) override
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
std::map< std::string, TH1F * > histContainer_
edm::EDGetTokenT< edm::View< pat::Muon > > muonSrcToken_