CMS 3D CMS Logo

EgammaHLTIslandClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterProducers_EgammaHLTIslandClusterProducer_h_
2 #define RecoEcal_EgammaClusterProducers_EgammaHLTIslandClusterProducer_h_
3 
4 #include <memory>
5 #include <ctime>
6 
12 
17 
20 
21 namespace edm {
23 }
24 
26  public:
29  void produce(edm::Event&, const edm::EventSetup&) override;
30  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
31 
32  private:
33 
34  int nMaxPrintout_; // max # of printouts
35  int nEvt_; // internal counter of events
36 
38 
39  bool doBarrel_;
40  bool doEndcaps_;
42 
47 
50 
53  double l1LowerThr_;
54  double l1UpperThr_;
56 
59 
60  PositionCalc posCalculator_; // position calculation algorithm
62 
63  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
64 
67 
68 
69  void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es,
71  const std::string& clusterCollection,
72  const std::vector<RectangularEtaPhiRegion>& regions,
73  const IslandClusterAlgo::EcalPart& ecalPart);
74 };
75 #endif
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
IslandClusterAlgo::VerbosityLevel verbosity
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
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)
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_
HLT enums.
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_