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 
36 
39 
42 
45 
51 
52  bool doBarrel_;
53  bool doEndcaps_;
54 
56 
57  double totalE;
59 
60 
61  void getClusterPtrVector(edm::Event& evt, std::string clusterProducer_, std::string clusterCollection_, reco::CaloClusterPtrVector *);
62 
64  std::string clusterProducer,
65  std::string clusterCollection,
66  std::string superclusterColection);
67 
68  void outputValidationInfo(reco::SuperClusterCollection &superclusterCollection);
69 
70  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0));}
71 };
72 
73 #endif
74 
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)
Multi5x5BremRecoveryClusterAlgo::VerbosityLevel verbosity
void outputValidationInfo(reco::SuperClusterCollection &superclusterCollection)
void getClusterPtrVector(edm::Event &evt, std::string clusterProducer_, std::string clusterCollection_, reco::CaloClusterPtrVector *)