CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
13 
14 // Reco candidates
17 
18 // Geometry and topology
26 
27 // Level 1 Trigger
32 
33 
34 template<typename T1>
36  typedef std::vector<T1> T1Collection;
37  typedef typename T1::const_iterator T1iterator;
38 
39  public:
40 
43 
44  void produce(edm::Event&, const edm::EventSetup&) override;
45  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
46 
47  private:
48 
49  void getEtaPhiRegions(std::vector<EcalEtaPhiRegion> *, T1Collection, const L1CaloGeometry&, bool);
50 
51  const bool useUncalib_;
54 
55  const bool doIsolated_;
56 
57  const double l1LowerThr_;
58  const double l1UpperThr_;
60 
61  const double regionEtaMargin_;
62  const double regionPhiMargin_;
63 
64  const std::vector<edm::InputTag> hitLabels;
65  const std::vector<std::string> productLabels;
66 
67  std::vector<edm::EDGetTokenT<EcalRecHitCollection>> hitTokens;
68  std::vector<edm::EDGetTokenT<EcalUncalibratedRecHitCollection>> uncalibHitTokens;
69 };
70 
71 
72 #endif
73 
74 
HLTRechitInRegionsProducer(const edm::ParameterSet &ps)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const std::vector< edm::InputTag > hitLabels
const std::vector< std::string > productLabels
std::vector< edm::EDGetTokenT< EcalRecHitCollection > > hitTokens
void produce(edm::Event &, const edm::EventSetup &) override
void getEtaPhiRegions(std::vector< EcalEtaPhiRegion > *, T1Collection, const L1CaloGeometry &, bool)
std::vector< edm::EDGetTokenT< EcalUncalibratedRecHitCollection > > uncalibHitTokens