CMS 3D CMS Logo

ReducedESRecHitCollectionProducer.h
Go to the documentation of this file.
1 #ifndef _ReducedESRecHitCollectionProducer_H
2 #define _ReducedESRecHitCollectionProducer_H
3 
16 #include <iostream>
17 #include <vector>
18 #include <string>
19 #include <map>
20 #include <set>
21 
25 public:
28  void beginRun(edm::Run const&, const edm::EventSetup&) final;
29  void produce(edm::Event& e, const edm::EventSetup& c) override;
30  void collectIds(const ESDetId strip1, const ESDetId strip2, const int& row = 0);
31 
32 private:
34  std::unique_ptr<CaloSubdetectorTopology> topology_p;
35 
36  double scEtThresh_;
37 
41  std::vector<edm::EDGetTokenT<DetIdCollection>> interestingDetIdCollections_;
42  std::vector<edm::EDGetTokenT<DetIdCollection>>
43  interestingDetIdCollectionsNotToClean_; //theres a hard coded cut on rec-hit quality which some collections would prefer not to have...
44 
45  std::set<DetId> collectedIds_;
46 };
47 
48 #endif
void beginRun(edm::Run const &, const edm::EventSetup &) final
std::vector< edm::EDGetTokenT< DetIdCollection > > interestingDetIdCollectionsNotToClean_
std::vector< edm::EDGetTokenT< DetIdCollection > > interestingDetIdCollections_
void collectIds(const ESDetId strip1, const ESDetId strip2, const int &row=0)
std::unique_ptr< CaloSubdetectorTopology > topology_p
edm::EDGetTokenT< ESRecHitCollection > InputRecHitES_
void produce(edm::Event &e, const edm::EventSetup &c) override
edm::EDGetTokenT< reco::SuperClusterCollection > InputSuperClusterEE_
ReducedESRecHitCollectionProducer(const edm::ParameterSet &pset)
Definition: Run.h:45