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 
21 
22 // Geometry and topology
30 
31 // Level 1 Trigger
36 
37 
38 template<typename T1>
40  typedef std::vector<T1> T1Collection;
41  typedef typename T1::const_iterator T1iterator;
42 
43  public:
44 
46  ~HLTRechitInRegionsProducer() override;
47 
48  void produce(edm::Event&, const edm::EventSetup&) override;
49  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
50 
51  private:
52 
53  void getEtaPhiRegions(std::vector<RectangularEtaPhiRegion> *, T1Collection, const L1CaloGeometry&, bool);
54 
55  const bool useUncalib_;
56 
57  const bool doIsolated_;
58 
61  const double l1LowerThr_;
62  const double l1UpperThr_;
64 
65  const double regionEtaMargin_;
66  const double regionPhiMargin_;
67 
68  const std::vector<edm::InputTag> hitLabels;
69  const std::vector<std::string> productLabels;
70 
71  std::vector<edm::EDGetTokenT<EcalRecHitCollection>> hitTokens;
72  std::vector<edm::EDGetTokenT<EcalUncalibratedRecHitCollection>> uncalibHitTokens;
73 };
74 
75 
76 #endif
77 
78 
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
void getEtaPhiRegions(std::vector< RectangularEtaPhiRegion > *, T1Collection, const L1CaloGeometry &, bool)
const edm::EDGetTokenT< T1Collection > l1TokenNonIsolated_
std::vector< edm::EDGetTokenT< EcalUncalibratedRecHitCollection > > uncalibHitTokens