CMS 3D CMS Logo

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 
20 public:
22 
23  ~HiSuperClusterProducer() override;
24 
25  void produce(edm::Event&, const edm::EventSetup&) override;
26  virtual void endJob();
27 
28 private:
29  int nMaxPrintout_; // max # of printouts
30  int nEvt_; // internal counter of events
31 
33 
36 
39 
47 
48  bool doBarrel_;
49  bool doEndcaps_;
50 
52 
53  double totalE;
55 
59 
62  std::string superclusterColection);
63 
65 
66  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
67 };
68 
69 #endif
edm::EDGetTokenT< reco::BasicClusterCollection > ebClustersToken_
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