Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-27 23:38:24

0001 #ifndef TECClusterFilter_H
0002 #define TECClusterFilter_H
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:     SiStripChannelChargeFilter
0007 // Class  :     TECClusterFilter
0008 //
0009 //
0010 // Original Author: sfricke
0011 
0012 #include "FWCore/Framework/interface/stream/EDFilter.h"
0013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0014 #include "FWCore/Framework/interface/Event.h"
0015 #include "FWCore/Framework/interface/EventSetup.h"
0016 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
0017 #include "DataFormats/DetId/interface/DetId.h"
0018 
0019 namespace cms {
0020   class TECClusterFilter : public edm::stream::EDFilter<> {
0021   public:
0022     TECClusterFilter(const edm::ParameterSet& ps);
0023     ~TECClusterFilter() override = default;
0024     bool filter(edm::Event& e, edm::EventSetup const& c) override;
0025 
0026   private:
0027     std::string clusterProducer;
0028     unsigned int ChargeThresholdTEC;
0029     unsigned int minNrOfTECClusters;
0030     std::vector<uint32_t> ModulesToBeExcluded;
0031   };
0032 }  // namespace cms
0033 #endif