CMS 3D CMS Logo

EgammaHLTMulti5x5ClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterProducers_EgammaHLTMulti5x5ClusterProducer_h_
2 #define RecoEcal_EgammaClusterProducers_EgammaHLTMulti5x5ClusterProducer_h_
3 
4 #include <memory>
5 #include <ctime>
6 
12 
16 
19 
22 
23 namespace edm {
25 }
26 
28  public:
31  void produce(edm::Event&, const edm::EventSetup&) override;
32  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
33 
34  private:
35  int nMaxPrintout_; // max # of printouts
36  int nEvt_; // internal counter of events
37 
38  bool doBarrel_;
39  bool doEndcaps_;
41 
48 
51 
52  double l1LowerThr_;
53  double l1UpperThr_;
55 
58 
59  PositionCalc posCalculator_; // position calculation algorithm
61 
62  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
63 
66 
67 
68  void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es,
70  const std::string& clusterCollection,
71  const std::vector<RectangularEtaPhiRegion>& regions,
73 
74  void outputValidationInfo(reco::CaloClusterPtrVector &clusterPtrVector);
75 
76 };
77 #endif
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
static bool getCollection(const edm::Event &event, std::vector< MissingCollectionInfo > &missing, edm::Handle< T > &handle, const edm::InputTag &name, const edm::EDGetTokenT< T > token, const char *description)
HLT enums.
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_