File indexing completed on 2024-04-06 12:09:20
0001 #ifndef ESRecoSummary_h
0002 #define ESRecoSummary_h
0003
0004
0005 #include <memory>
0006
0007
0008 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0009 #include "DQMServices/Core/interface/DQMStore.h"
0010
0011 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
0012 #include "DataFormats/EgammaReco/interface/PreshowerClusterFwd.h"
0013 #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
0014
0015 class ESRecoSummary : public DQMEDAnalyzer {
0016 public:
0017 explicit ESRecoSummary(const edm::ParameterSet &);
0018 ~ESRecoSummary() override {}
0019
0020 private:
0021 void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0022 void analyze(const edm::Event &, const edm::EventSetup &) override;
0023
0024 std::string prefixME_;
0025
0026
0027 MonitorElement *h_recHits_ES_energyMax;
0028 MonitorElement *h_recHits_ES_time;
0029
0030 MonitorElement *h_esClusters_energy_plane1;
0031 MonitorElement *h_esClusters_energy_plane2;
0032 MonitorElement *h_esClusters_energy_ratio;
0033
0034 protected:
0035
0036 edm::EDGetTokenT<reco::SuperClusterCollection> superClusterCollection_EE_;
0037 edm::EDGetTokenT<ESRecHitCollection> esRecHitCollection_;
0038 edm::EDGetTokenT<reco::PreshowerClusterCollection> esClusterCollectionX_;
0039 edm::EDGetTokenT<reco::PreshowerClusterCollection> esClusterCollectionY_;
0040 };
0041
0042 #endif