CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HybridClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterProducers_HybridClusterProducer_h_
2 #define RecoEcal_EgammaClusterProducers_HybridClusterProducer_h_
3 
4 #include <memory>
5 
10 
12 
15 
16 //
17 
18 
20 {
21 
22  public:
23 
25 
27 
28  virtual void produce(edm::Event&, const edm::EventSetup&);
29 
30  private:
31  int nMaxPrintout_; // max # of printouts
32  int nEvt_; // internal counter of events
33 
36  std::string hitproducer_;
37  std::string hitcollection_;
38 
40 
41  HybridClusterAlgo * hybrid_p; // clustering algorithm
42  PositionCalc posCalculator_; // position calculation algorithm
43 
44  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0));}
45 };
46 
47 
48 #endif
49 
50 
HybridClusterProducer(const edm::ParameterSet &ps)
virtual void produce(edm::Event &, const edm::EventSetup &)
HybridClusterAlgo::DebugLevel debugL
HybridClusterAlgo * hybrid_p