1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef TECClusterFilter_H
#define TECClusterFilter_H
// -*- C++ -*-
//
// Package: SiStripChannelChargeFilter
// Class : TECClusterFilter
//
//
// Original Author: sfricke
#include "FWCore/Framework/interface/stream/EDFilter.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
#include "DataFormats/DetId/interface/DetId.h"
namespace cms {
class TECClusterFilter : public edm::stream::EDFilter<> {
public:
TECClusterFilter(const edm::ParameterSet& ps);
~TECClusterFilter() override = default;
bool filter(edm::Event& e, edm::EventSetup const& c) override;
private:
std::string clusterProducer;
unsigned int ChargeThresholdTEC;
unsigned int minNrOfTECClusters;
std::vector<uint32_t> ModulesToBeExcluded;
};
} // namespace cms
#endif
|