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 
26  public :
27 
30  virtual void beginRun (edm::Run const&, const edm::EventSetup&) override final;
31  void produce(edm::Event & e, const edm::EventSetup& c) override;
32  void collectIds(const ESDetId strip1, const ESDetId strip2, const int & row=0);
33 
34  private :
35 
38 
39  double scEtThresh_;
40 
44  std::vector<edm::EDGetTokenT<DetIdCollection>> interestingDetIdCollections_;
45  std::vector<edm::EDGetTokenT<DetIdCollection>> interestingDetIdCollectionsNotToClean_; //theres a hard coded cut on rec-hit quality which some collections would prefer not to have...
46 
47  std::set<DetId> collectedIds_;
48 
49 };
50 
51 #endif
52 
53 
virtual void beginRun(edm::Run const &, const edm::EventSetup &) override 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)
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:42