Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:06:06

0001 #ifndef Validation_EcalClusters_EgammaBasicClusters_h
0002 #define Validation_EcalClusters_EgammaBasicClusters_h
0003 
0004 /**\class EgammaBasicClusters
0005 
0006    Description: SVSuite Basic Cluster Validation
0007 
0008    Implementation:
0009    \\\author: Michael A. Balazs, Nov 2006
0010 */
0011 //
0012 //
0013 
0014 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0015 
0016 #include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
0017 
0018 #include "HistSpec.h"
0019 #include "DQMServices/Core/interface/DQMStore.h"
0020 
0021 #include <string>
0022 
0023 class EgammaBasicClusters : public DQMEDAnalyzer {
0024 public:
0025   explicit EgammaBasicClusters(const edm::ParameterSet &);
0026   ~EgammaBasicClusters() override;
0027 
0028   void analyze(const edm::Event &, const edm::EventSetup &) override;
0029   void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0030 
0031 private:
0032   edm::EDGetTokenT<reco::BasicClusterCollection> barrelBasicClusterCollection_;
0033   edm::EDGetTokenT<reco::BasicClusterCollection> endcapBasicClusterCollection_;
0034 
0035   HistSpec hsSize_;
0036   HistSpec hsNumRecHits_;
0037   HistSpec hsET_;
0038   HistSpec hsEta_;
0039   HistSpec hsPhi_;
0040   HistSpec hsR_;
0041 
0042   MonitorElement *hist_EB_BC_Size_;
0043   MonitorElement *hist_EE_BC_Size_;
0044   MonitorElement *hist_EB_BC_NumRecHits_;
0045   MonitorElement *hist_EE_BC_NumRecHits_;
0046   MonitorElement *hist_EB_BC_ET_;
0047   MonitorElement *hist_EE_BC_ET_;
0048   MonitorElement *hist_EB_BC_Eta_;
0049   MonitorElement *hist_EE_BC_Eta_;
0050   MonitorElement *hist_EB_BC_Phi_;
0051   MonitorElement *hist_EE_BC_Phi_;
0052   MonitorElement *hist_EB_BC_ET_vs_Eta_;
0053   MonitorElement *hist_EB_BC_ET_vs_Phi_;
0054   MonitorElement *hist_EE_BC_ET_vs_Eta_;
0055   MonitorElement *hist_EE_BC_ET_vs_Phi_;
0056   MonitorElement *hist_EE_BC_ET_vs_R_;
0057 };
0058 
0059 #endif