Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:34

0001 #ifndef CLUSTERCOUNT_H
0002 #define CLUSTERCOUNT_H
0003 // -*- C++ -*-
0004 //
0005 // Package:    ClusterCount
0006 // Class:      ClusterCount
0007 //
0008 /**\class ClusterCount ClusterCount.cc mytests/ClusterCount/src/ClusterCount.cc
0009 
0010  Description: <one line class summary>
0011 
0012  Implementation:
0013      <Notes on implementation>
0014 */
0015 //
0016 // Original Author:  Christophe DELAERE
0017 //         Created:  Tue May 27 11:11:05 CEST 2008
0018 //
0019 //
0020 
0021 // system include files
0022 #include <memory>
0023 
0024 // user include files
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 // class decleration
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   // ----------member data ---------------------------
0053   //      edm::InputTag clusterLabel_;
0054   edm::EDGetTokenT<edm::DetSetVector<SiStripCluster> > clusterToken_;
0055 };
0056 
0057 #endif