41 bookH2(iBooker,
"beamSpotXvsY",
"beam spot x vs y", 100, -0.2, 0.2, 100, -0.2, 0.2,
"x (cm)",
"y (cm)");
43 bookP1(iBooker,
"nElectronsVsLs",
"# gsf electrons vs LS", 150, 0., 1500., 0., 20.,
"LS",
"<N_{ele}>");
45 bookP1(iBooker,
"nClustersVsLs",
"# clusters vs LS", 150, 0., 1500., 0., 100.,
"LS",
"<N_{SC}>");
47 bookP1(iBooker,
"nGsfTracksVsLs",
"# gsf tracks vs LS", 150, 0., 1500., 0., 20.,
"LS",
"<N_{GSF tk}>");
48 py_ele_nTracksVsLs =
bookP1(iBooker,
"nTracksVsLs",
"# tracks vs LS", 150, 0., 1500., 0., 100.,
"LS",
"<N_{gen tk}>");
50 bookP1(iBooker,
"nVerticesVsLs",
"# vertices vs LS", 150, 0., 1500., 0., 10.,
"LS",
"<N_{vert}>");
73 <<
"Treating " <<
gsfElectrons.product()->size() <<
" electrons" 74 <<
" from event " << ievt <<
" in run " << irun <<
" and lumiblock " << ils;
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
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
edm::EDGetTokenT< reco::VertexCollection > vertexCollection_
Log< level::Info, false > LogInfo
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