12 #include "Math/VectorUtil.h" 51 for (
unsigned int i = 0;
i <
muon->genParticleRefs().size(); ++
i) {
52 switch (
muon->genParticle(
i)->status()) {
75 histContainer_[
"DR_defaultMatch"] =
fs->make<TH1F>(
"DR_defaultMatch",
"DR_defaultMatch", 100, 0., 0.02);
76 histContainer_[
"DR_status1Match"] =
fs->make<TH1F>(
"DR_status1Match",
"DR_status1Match", 100, 0., 0.02);
77 histContainer_[
"DR_status3Match"] =
fs->make<TH1F>(
"DR_status3Match",
"DR_status3Match", 100, 0., 0.02);
static const std::string kSharedResource
~PatMCMatching() override
default destructor
PatMCMatching(const edm::ParameterSet &)
default constructor
void analyze(const edm::Event &, const edm::EventSetup &) override
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
#define DEFINE_FWK_MODULE(type)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
std::map< std::string, TH1F * > histContainer_
edm::EDGetTokenT< edm::View< pat::Muon > > muonSrcToken_