8 : leps_(iConfig.getParameter<
edm::
InputTag>(
"leptons")) {
35 hists_[
"lepPtAll"]->Fill(lep_it->p4().pt());
36 hists_[
"lepEtaAll"]->Fill(lep_it->p4().eta());
39 hists_[
"lepPt1"]->Fill(lep_it->p4().pt());
40 hists_[
"lepEta1"]->Fill(lep_it->p4().eta());
43 hists_[
"lepPt2"]->Fill(lep_it->p4().pt());
44 hists_[
"lepEta2"]->Fill(lep_it->p4().eta());
47 hists_[
"lepPt3"]->Fill(lep_it->p4().pt());
48 hists_[
"lepEta3"]->Fill(lep_it->p4().eta());
51 hists_[
"lepPt4"]->Fill(lep_it->p4().pt());
52 hists_[
"lepEta4"]->Fill(lep_it->p4().eta());
56 hists_[
"lepN"]->Fill(nleps);
61 i.setCurrentFolder(
"Generator/TTbar");
63 "TTbar_lepN" +
leps_.
label(),
"N", 10, -.5, 9.5,
"Number of " +
leps_.
label(),
"Number of Events");
102 "TTbar_lepEtaAll" +
leps_.
label(),
"eta", 100, -5., 5.,
"#eta^{All-" +
leps_.
label() +
"}",
"Number of Events");
104 "TTbar_lepEta1" +
leps_.
label(),
"eta", 100, -5., 5.,
"#eta^{1st-" +
leps_.
label() +
"}",
"Number of Events");
106 "TTbar_lepEta2" +
leps_.
label(),
"eta", 100, -5., 5.,
"#eta^{2nd-" +
leps_.
label() +
"}",
"Number of Events");
108 "TTbar_lepEta3" +
leps_.
label(),
"eta", 100, -5., 5.,
"#eta^{3rd-" +
leps_.
label() +
"}",
"Number of Events");
110 "TTbar_lepEta4" +
leps_.
label(),
"eta", 100, -5., 5.,
"#eta^{4th-" +
leps_.
label() +
"}",
"Number of Events");
edm::EDGetTokenT< edm::View< reco::Candidate > > lepsToken_
TTbar_GenLepAnalyzer(const edm::ParameterSet &)
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
void analyze(const edm::Event &, const edm::EventSetup &) override
std::map< std::string, MonitorElement * > hists_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
~TTbar_GenLepAnalyzer() override