Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:19:51

0001 #ifndef ClusterMultiplicityFilter_h
0002 #define ClusterMultiplicityFilter_h
0003 
0004 #include <string>
0005 
0006 #include "FWCore/Framework/interface/Frameworkfwd.h"
0007 #include "FWCore/Framework/interface/global/EDFilter.h"
0008 #include "FWCore/Framework/interface/Event.h"
0009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0010 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
0011 #include "DataFormats/Common/interface/DetSetVectorNew.h"
0012 
0013 class ClusterMultiplicityFilter : public edm::global::EDFilter<> {
0014 public:
0015   explicit ClusterMultiplicityFilter(const edm::ParameterSet&);
0016   ~ClusterMultiplicityFilter() override;
0017 
0018 private:
0019   bool filter(edm::StreamID, edm::Event&, edm::EventSetup const&) const override;
0020 
0021   const unsigned int maxNumberOfClusters_;
0022   const edm::InputTag clusterCollectionTag_;
0023   const edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster> > clusters_;
0024 };
0025 
0026 #endif