Go to the documentation of this file.
47 bookH2(iBooker,
"beamSpotXvsY",
"beam spot x vs y", 100, -0.2, 0.2, 100, -0.2, 0.2,
"x (cm)",
"y (cm)");
49 bookP1(iBooker,
"nElectronsVsLs",
"# gsf electrons vs LS", 150, 0., 1500., 0., 20.,
"LS",
"<N_{ele}>");
51 bookP1(iBooker,
"nClustersVsLs",
"# clusters vs LS", 150, 0., 1500., 0., 100.,
"LS",
"<N_{SC}>");
53 bookP1(iBooker,
"nGsfTracksVsLs",
"# gsf tracks vs LS", 150, 0., 1500., 0., 20.,
"LS",
"<N_{GSF tk}>");
54 py_ele_nTracksVsLs =
bookP1(iBooker,
"nTracksVsLs",
"# tracks vs LS", 150, 0., 1500., 0., 100.,
"LS",
"<N_{gen tk}>");
56 bookP1(iBooker,
"nVerticesVsLs",
"# vertices vs LS", 150, 0., 1500., 0., 10.,
"LS",
"<N_{vert}>");
80 <<
"Treating " <<
gsfElectrons.product()->size() <<
" electrons"
81 <<
" from event " << ievt <<
" in run " << irun <<
" and lumiblock " << ils;
95 for (
i = 0;
i !=
n; ++
i) {
static const std::string triggerResults
edm::EDGetTokenT< reco::SuperClusterCollection > matchingObjectCollection_
edm::EDGetTokenT< reco::TrackCollection > trackCollection_
Log< level::Info, false > LogInfo
MonitorElement * h1_ele_triggers
unsigned int LuminosityBlockNumber_t
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
edm::EDGetTokenT< reco::VertexCollection > vertexCollection_
MonitorElement * h2_ele_beamSpotXvsY
MonitorElement * py_ele_nElectronsVsLs
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")
unsigned long long EventNumber_t
edm::EDGetTokenT< reco::GsfTrackCollection > gsftrackCollection_
MonitorElement * py_ele_nTracksVsLs
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
~ElectronGeneralAnalyzer() 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::GsfElectronCollection > electronCollection_
MonitorElement * py_ele_nClustersVsLs
MonitorElement * py_ele_nGsfTracksVsLs
MonitorElement * py_ele_nVerticesVsLs
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")
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
T getParameter(std::string const &) const
ElectronGeneralAnalyzer(const edm::ParameterSet &conf)
void analyze(const edm::Event &e, const edm::EventSetup &c) override