114 histContainer_[
"photons"] = fs->
make<TH1F>(
"photons",
"photon multiplicity", 10, 0, 10);
115 histContainer_[
"elecs"] = fs->
make<TH1F>(
"elecs",
"electron multiplicity", 10, 0, 10);
116 histContainer_[
"muons"] = fs->
make<TH1F>(
"muons",
"muon multiplicity", 10, 0, 10);
117 histContainer_[
"taus"] = fs->
make<TH1F>(
"taus",
"tau multiplicity", 10, 0, 10);
118 histContainer_[
"jets"] = fs->
make<TH1F>(
"jets",
"jet multiplicity", 10, 0, 10);
119 histContainer_[
"met"] = fs->
make<TH1F>(
"met",
"missing E_{T}", 20, 0, 100);
edm::EDGetTokenT< edm::View< pat::Tau > > tauSrcToken_
edm::EDGetTokenT< edm::View< pat::Jet > > jetSrcToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void analyze(const edm::Event &, const edm::EventSetup &) override
everything that needs to be done during the event loop
T * make(const Args &...args) const
make new ROOT object
std::map< std::string, TH1F * > histContainer_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
PatBasicAnalyzer(const edm::ParameterSet &)
default constructor
edm::EDGetTokenT< edm::View< pat::Muon > > muonSrcToken_
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< edm::View< pat::MET > > metSrcToken_
edm::EDGetTokenT< edm::View< pat::Electron > > elecSrcToken_
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_