53 photonSrcToken_(consumes<edm::
View<pat::
Photon>>(iConfig.getUntrackedParameter<edm::
InputTag>(
"photonSrc"))),
54 elecSrcToken_(consumes<edm::
View<pat::
Electron>>(iConfig.getUntrackedParameter<edm::
InputTag>(
"electronSrc"))),
55 muonSrcToken_(consumes<edm::
View<pat::
Muon>>(iConfig.getUntrackedParameter<edm::
InputTag>(
"muonSrc"))),
56 tauSrcToken_(consumes<edm::
View<pat::
Tau>>(iConfig.getUntrackedParameter<edm::
InputTag>(
"tauSrc"))),
57 jetSrcToken_(consumes<edm::
View<pat::
Jet>>(iConfig.getUntrackedParameter<edm::
InputTag>(
"jetSrc"))),
58 metSrcToken_(consumes<edm::
View<pat::
MET>>(iConfig.getUntrackedParameter<edm::
InputTag>(
"metSrc"))) {}
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
#define DEFINE_FWK_MODULE(type)
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_
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_
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
constexpr char Electron[]
edm::EDGetTokenT< edm::View< pat::Photon > > photonSrcToken_