116 histContainer_[
"photons"] =
fs->make<TH1F>(
"photons",
"photon multiplicity", 10, 0, 10);
117 histContainer_[
"elecs"] =
fs->make<TH1F>(
"elecs",
"electron multiplicity", 10, 0, 10);
118 histContainer_[
"muons"] =
fs->make<TH1F>(
"muons",
"muon multiplicity", 10, 0, 10);
119 histContainer_[
"taus"] =
fs->make<TH1F>(
"taus",
"tau multiplicity", 10, 0, 10);
120 histContainer_[
"jets"] =
fs->make<TH1F>(
"jets",
"jet multiplicity", 10, 0, 10);
static const std::string kSharedResource
edm::EDGetTokenT< edm::View< pat::Tau > > tauSrcToken_
edm::EDGetTokenT< edm::View< pat::Jet > > jetSrcToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
everything that needs to be done during the event loop
std::map< std::string, TH1F * > histContainer_
PatBasicAnalyzer(const edm::ParameterSet &)
default constructor
edm::EDGetTokenT< edm::View< pat::Muon > > muonSrcToken_
edm::EDGetTokenT< edm::View< pat::MET > > metSrcToken_
edm::EDGetTokenT< edm::View< pat::Electron > > elecSrcToken_
#define DEFINE_FWK_MODULE(type)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
~PatBasicAnalyzer() override
default destructor
void beginJob() override
everything that needs to be done before the event loop
void endJob() override
everything that needs to be done after the event loop
edm::EDGetTokenT< edm::View< pat::Photon > > photonSrcToken_