46 bookH2(iBooker,
"beamSpotXvsY",
"beam spot x vs y", 100, -0.2, 0.2, 100, -0.2, 0.2,
"x (cm)",
"y (cm)");
48 bookP1(iBooker,
"nElectronsVsLs",
"# gsf electrons vs LS", 150, 0., 1500., 0., 20.,
"LS",
"<N_{ele}>");
50 bookP1(iBooker,
"nClustersVsLs",
"# clusters vs LS", 150, 0., 1500., 0., 100.,
"LS",
"<N_{SC}>");
52 bookP1(iBooker,
"nGsfTracksVsLs",
"# gsf tracks vs LS", 150, 0., 1500., 0., 20.,
"LS",
"<N_{GSF tk}>");
53 py_ele_nTracksVsLs =
bookP1(iBooker,
"nTracksVsLs",
"# tracks vs LS", 150, 0., 1500., 0., 100.,
"LS",
"<N_{gen tk}>");
55 bookP1(iBooker,
"nVerticesVsLs",
"# vertices vs LS", 150, 0., 1500., 0., 10.,
"LS",
"<N_{vert}>");
79 <<
"Treating " <<
gsfElectrons.product()->size() <<
" electrons" 80 <<
" from event " << ievt <<
" in run " << irun <<
" and lumiblock " << ils;
94 for (
i = 0;
i !=
n; ++
i) {
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
MonitorElement * py_ele_nGsfTracksVsLs
MonitorElement * h2_ele_beamSpotXvsY
T getParameter(std::string const &) const
MonitorElement * py_ele_nVerticesVsLs
MonitorElement * py_ele_nElectronsVsLs
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
ElectronGeneralAnalyzer(const edm::ParameterSet &conf)
unsigned long long EventNumber_t
unsigned int LuminosityBlockNumber_t
MonitorElement * py_ele_nClustersVsLs
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * bookH1(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, const std::string &titleX="", const std::string &titleY="Events", Option_t *option="E1 P")
edm::EDGetTokenT< reco::TrackCollection > trackCollection_
edm::EDGetTokenT< reco::GsfElectronCollection > electronCollection_
MonitorElement * bookP1(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="E1 P")
~ElectronGeneralAnalyzer() override
static std::string const triggerResults
edm::EDGetTokenT< reco::VertexCollection > vertexCollection_
Log< level::Info, false > LogInfo
MonitorElement * h1_ele_triggers
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
MonitorElement * bookH2(DQMStore::IBooker &, const std::string &name, const std::string &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const std::string &titleX="", const std::string &titleY="", Option_t *option="COLZ")
edm::EDGetTokenT< reco::GsfTrackCollection > gsftrackCollection_
edm::EDGetTokenT< reco::SuperClusterCollection > matchingObjectCollection_
MonitorElement * py_ele_nTracksVsLs