CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiSuperClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoHi_HiEgammaAlgos_HiSuperClusterProducer_h_
2 #define RecoHi_HiEgammaAlgos_HiSuperClusterProducer_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&) override;
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 
52 
53  bool doBarrel_;
54  bool doEndcaps_;
55 
57 
58  double totalE;
60 
61 
63 
66  std::string superclusterColection);
67 
68  void outputValidationInfo(reco::SuperClusterCollection &superclusterCollection);
69 
70  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0));}
71 };
72 
73 
74 #endif
edm::EDGetTokenT< reco::BasicClusterCollection > ebClustersToken_
virtual void produce(edm::Event &, const edm::EventSetup &) override
void outputValidationInfo(reco::SuperClusterCollection &superclusterCollection)
edm::EDGetTokenT< reco::BasicClusterCollection > eeClustersToken_
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
void produceSuperclustersForECALPart(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken, std::string superclusterColection)
void getClusterPtrVector(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken, reco::CaloClusterPtrVector *)
HiSuperClusterProducer(const edm::ParameterSet &ps)
HiBremRecoveryClusterAlgo::VerbosityLevel verbosity
HiBremRecoveryClusterAlgo * bremAlgo_p