File indexing completed on 2024-04-06 12:08:34
0001 #ifndef CLUSTERCOUNT_H
0002 #define CLUSTERCOUNT_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include <memory>
0023
0024
0025 #include "FWCore/Utilities/interface/EDGetToken.h"
0026 #include "FWCore/Framework/interface/Frameworkfwd.h"
0027 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0028
0029 #include "FWCore/Framework/interface/Event.h"
0030 #include "FWCore/Framework/interface/MakerMacros.h"
0031
0032 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0033
0034 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
0035 #include "DataFormats/SiStripCluster/interface/SiStripClusterCollection.h"
0036 #include "FWCore/Utilities/interface/InputTag.h"
0037 #include <DataFormats/Common/interface/DetSetVector.h>
0038
0039
0040
0041
0042
0043 class ClusterCount : public DQMEDAnalyzer {
0044 public:
0045 explicit ClusterCount(const edm::ParameterSet&);
0046 ~ClusterCount() override;
0047
0048 private:
0049 void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
0050 void analyze(const edm::Event&, const edm::EventSetup&) override;
0051
0052
0053
0054 edm::EDGetTokenT<edm::DetSetVector<SiStripCluster> > clusterToken_;
0055 };
0056
0057 #endif