CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SuperClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterProducers_SuperClusterProducer_h_
2 #define RecoEcal_EgammaClusterProducers_SuperClusterProducer_h_
3 
4 #include <memory>
5 
10 
12 
14 
16 
17 //
18 
19 
21 {
22 
23  public:
24 
26 
28 
29  virtual void produce(edm::Event&, const edm::EventSetup&);
30  virtual void endJob();
31 
32  private:
33 
34  int nMaxPrintout_; // max # of printouts
35  int nEvt_; // internal counter of events
36 
38 
41 
44 
47 
53 
54  bool doBarrel_;
55  bool doEndcaps_;
56 
58 
59  double totalE;
61 
62 
63  void getClusterPtrVector(edm::Event& evt, std::string clusterProducer_, std::string clusterCollection_, reco::CaloClusterPtrVector *);
64 
66  std::string clusterProducer,
67  std::string clusterCollection,
68  std::string superclusterColection);
69 
70  void outputValidationInfo(reco::SuperClusterCollection &superclusterCollection);
71 
72  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0));}
73 };
74 
75 
76 #endif
void outputValidationInfo(reco::SuperClusterCollection &superclusterCollection)
std::string barrelClusterProducer_
void getClusterPtrVector(edm::Event &evt, std::string clusterProducer_, std::string clusterCollection_, reco::CaloClusterPtrVector *)
BremRecoveryClusterAlgo::VerbosityLevel verbosity
std::string barrelSuperclusterCollection_
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
BremRecoveryClusterAlgo * bremAlgo_p
void produceSuperclustersForECALPart(edm::Event &evt, std::string clusterProducer, std::string clusterCollection, std::string superclusterColection)
SuperClusterProducer(const edm::ParameterSet &ps)
virtual void produce(edm::Event &, const edm::EventSetup &)
std::string endcapClusterProducer_
std::string barrelClusterCollection_
std::string endcapClusterCollection_
std::string endcapSuperclusterCollection_