CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <time.h>
6 
11 
13 
18 
20 
21 //
22 
23 
25 {
26  public:
27 
29 
31 
32  virtual void produce(edm::Event&, const edm::EventSetup&);
33 
34  private:
35 
36  int nMaxPrintout_; // max # of printouts
37  int nEvt_; // internal counter of events
38 
40 
41  bool doBarrel_;
42  bool doEndcaps_;
44 
47  std::string barrelHitCollection_;
48  std::string endcapHitCollection_;
49 
52 
55  double l1LowerThr_;
56  double l1UpperThr_;
58 
61 
62  PositionCalc posCalculator_; // position calculation algorithm
64 
65  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
66 
68  const std::string& hitProducer_,
69  const std::string& hitCollection_);
70 
71 
72  void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es,
73  const std::string& hitProducer,
74  const std::string& hitCollection,
75  const std::string& clusterCollection,
76  const std::vector<EcalEtaPhiRegion>& regions,
77  const IslandClusterAlgo::EcalPart& ecalPart);
78 
79 };
80 
81 
82 #endif
void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es, const std::string &hitProducer, const std::string &hitCollection, const std::string &clusterCollection, const std::vector< EcalEtaPhiRegion > &regions, const IslandClusterAlgo::EcalPart &ecalPart)
IslandClusterAlgo::VerbosityLevel verbosity
EgammaHLTIslandClusterProducer(const edm::ParameterSet &ps)
const EcalRecHitCollection * getCollection(edm::Event &evt, const std::string &hitProducer_, const std::string &hitCollection_)
virtual void produce(edm::Event &, const edm::EventSetup &)