CMS 3D CMS Logo

LowPtGsfElectronIDProducer.h
Go to the documentation of this file.
1 #ifndef RecoEgamma_EgammaElectronProducers_LowPtGsfElectronIDProducer_h
2 #define RecoEgamma_EgammaElectronProducers_LowPtGsfElectronIDProducer_h
3 
9 #include <string>
10 #include <vector>
11 
13 public edm::stream::EDProducer< edm::GlobalCache<lowptgsfeleid::HeavyObjectCache> > {
14 
15  public:
16 
19 
20  ~LowPtGsfElectronIDProducer() override;
21 
22  static std::unique_ptr<lowptgsfeleid::HeavyObjectCache>
24  return std::make_unique<lowptgsfeleid::HeavyObjectCache>(lowptgsfeleid::HeavyObjectCache(conf));
25  }
26 
28 
29  void produce( edm::Event&, const edm::EventSetup& ) override;
30 
32 
33  private:
34 
37  const std::vector<std::string> names_;
38  const bool passThrough_;
39  const double minPtThreshold_;
40  const double maxPtThreshold_;
41 
42 };
43 
44 #endif // RecoEgamma_EgammaElectronProducers_LowPtGsfElectronIDProducer_h
45 
static void globalEndJob(lowptgsfeleid::HeavyObjectCache const *)
static void fillDescriptions(edm::ConfigurationDescriptions &)
LowPtGsfElectronIDProducer(const edm::ParameterSet &, const lowptgsfeleid::HeavyObjectCache *)
const std::vector< std::string > names_
const edm::EDGetTokenT< reco::GsfElectronCollection > gsfElectrons_
void produce(edm::Event &, const edm::EventSetup &) override
const edm::EDGetTokenT< double > rho_
static std::unique_ptr< lowptgsfeleid::HeavyObjectCache > initializeGlobalCache(const edm::ParameterSet &conf)