CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Multi5x5SuperClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterProducers_Multi5x5SuperClusterProducer_h_
2 #define RecoEcal_EgammaClusterProducers_Multi5x5SuperClusterProducer_h_
3 
4 #include <memory>
5 
11 
14 
15 //
16 
17 
19 {
20 
21  public:
22 
24 
26 
27  virtual void produce(edm::Event&, const edm::EventSetup&);
28  virtual void endJob();
29 
30  private:
31 
32  int nMaxPrintout_; // max # of printouts
33  int nEvt_; // internal counter of events
34 
37 
40 
43 
49 
50  bool doBarrel_;
51  bool doEndcaps_;
52 
54 
55  double totalE;
57 
58 
59  void getClusterPtrVector(edm::Event& evt, std::string clusterProducer_, std::string clusterCollection_, reco::CaloClusterPtrVector *);
60 
62  std::string clusterProducer,
63  std::string clusterCollection,
64  std::string superclusterColection);
65 
66  void outputValidationInfo(reco::SuperClusterCollection &superclusterCollection);
67 
68  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0));}
69 };
70 
71 #endif
72 
void produceSuperclustersForECALPart(edm::Event &evt, std::string clusterProducer, std::string clusterCollection, std::string superclusterColection)
virtual void produce(edm::Event &, const edm::EventSetup &)
Multi5x5BremRecoveryClusterAlgo * bremAlgo_p
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
Multi5x5SuperClusterProducer(const edm::ParameterSet &ps)
void outputValidationInfo(reco::SuperClusterCollection &superclusterCollection)
void getClusterPtrVector(edm::Event &evt, std::string clusterProducer_, std::string clusterCollection_, reco::CaloClusterPtrVector *)