CMS 3D CMS Logo

HLTRechitInRegionsProducer.h
Go to the documentation of this file.
1 #ifndef RecoEgamma_EgammayHLTProducers_HLTRechitInRegionsProducer_h_
2 #define RecoEgamma_EgammayHLTProducers_HLTRechitInRegionsProducer_h_
3 
4 #include <memory>
5 
11 
14 
15 // Reco candidates
18 
19 // Geometry and topology
27 
28 // Level 1 Trigger
33 
34 
35 template<typename T1>
37  typedef std::vector<T1> T1Collection;
38  typedef typename T1::const_iterator T1iterator;
39 
40  public:
41 
43  ~HLTRechitInRegionsProducer() override;
44 
45  void produce(edm::Event&, const edm::EventSetup&) override;
46  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
47 
48  private:
49 
50  void getEtaPhiRegions(std::vector<EcalEtaPhiRegion> *, T1Collection, const L1CaloGeometry&, bool);
51 
52  const bool useUncalib_;
53 
54  const bool doIsolated_;
55 
58  const double l1LowerThr_;
59  const double l1UpperThr_;
61 
62  const double regionEtaMargin_;
63  const double regionPhiMargin_;
64 
65  const std::vector<edm::InputTag> hitLabels;
66  const std::vector<std::string> productLabels;
67 
68  std::vector<edm::EDGetTokenT<EcalRecHitCollection>> hitTokens;
69  std::vector<edm::EDGetTokenT<EcalUncalibratedRecHitCollection>> uncalibHitTokens;
70 };
71 
72 
73 #endif
74 
75 
HLTRechitInRegionsProducer(const edm::ParameterSet &ps)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const std::vector< edm::InputTag > hitLabels
const std::vector< std::string > productLabels
const edm::EDGetTokenT< T1Collection > l1TokenIsolated_
std::vector< edm::EDGetTokenT< EcalRecHitCollection > > hitTokens
void produce(edm::Event &, const edm::EventSetup &) override
const edm::EDGetTokenT< T1Collection > l1TokenNonIsolated_
void getEtaPhiRegions(std::vector< EcalEtaPhiRegion > *, T1Collection, const L1CaloGeometry &, bool)
std::vector< edm::EDGetTokenT< EcalUncalibratedRecHitCollection > > uncalibHitTokens