34 virtual void endJob()
override ;
111 histContainer_[
"met" ]->Fill(mets->empty() ? 0 : (*mets)[0].et());
123 histContainer_[
"photons"]=fs->
make<TH1F>(
"photons",
"photon multiplicity", 10, 0, 10);
125 histContainer_[
"muons" ]=fs->
make<TH1F>(
"muons",
"muon multiplicity", 10, 0, 10);
126 histContainer_[
"taus" ]=fs->
make<TH1F>(
"taus",
"tau multiplicity", 10, 0, 10);
127 histContainer_[
"jets" ]=fs->
make<TH1F>(
"jets",
"jet multiplicity", 10, 0, 10);
128 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
#define DEFINE_FWK_MODULE(type)
virtual 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
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
PatBasicAnalyzer(const edm::ParameterSet &)
default constructor
edm::EDGetTokenT< edm::View< pat::Muon > > muonSrcToken_
edm::EDGetTokenT< edm::View< pat::MET > > metSrcToken_
~PatBasicAnalyzer()
default destructor
std::map< std::string, TH1F * > histContainer_
edm::EDGetTokenT< edm::View< pat::Electron > > elecSrcToken_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
virtual void beginJob() override
everything that needs to be done before the event loop
virtual void endJob() override
everything that needs to be done after the event loop
edm::EDGetTokenT< edm::View< pat::Photon > > photonSrcToken_