CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgammaHLTMulti5x5ClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterProducers_EgammaHLTMulti5x5ClusterProducer_h_
2 #define RecoEcal_EgammaClusterProducers_EgammaHLTMulti5x5ClusterProducer_h_
3 
4 #include <memory>
5 #include <time.h>
6 
11 
13 
19 
21 //
23 
24 
25 
27 {
28  public:
29 
31 
33 
34  virtual void produce(edm::Event&, const edm::EventSetup&);
35 
36  private:
37 
38  int nMaxPrintout_; // max # of printouts
39  int nEvt_; // internal counter of events
40 
41 
42  bool doBarrel_;
43  bool doEndcaps_;
45 
48  std::string barrelHitCollection_;
49  std::string endcapHitCollection_;
50 
53 
54  /*
55  std::string clustershapecollectionEB_;//new
56  std::string clustershapecollectionEE_;//new
57  //BasicClusterShape AssociationMap
58  std::string barrelClusterShapeAssociation_;//new
59  std::string endcapClusterShapeAssociation_;//new
60  */
61 
64  double l1LowerThr_;
65  double l1UpperThr_;
67 
70 
71  PositionCalc posCalculator_; // position calculation algorithm
73  //ClusterShapeAlgo shapeAlgo_;//new
74 
75  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
76 
78  const std::string& hitProducer_,
79  const std::string& hitCollection_);
80 
81 
82  void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es,
83  const std::string& hitProducer,
84  const std::string& hitCollection,
85  const std::string& clusterCollection,
86  const std::vector<EcalEtaPhiRegion>& regions,
87  const reco::CaloID::Detectors detector);
88  /*
89  void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es,
90  const std::string& hitProducer,
91  const std::string& hitCollection,
92  const std::string& clusterCollection,
93  const std::string& clusterShapeAssociation,
94  const Multi5x5ClusterAlgo::EcalPart& ecalPart);
95  */
96  void outputValidationInfo(reco::CaloClusterPtrVector &clusterPtrVector);
97 
98 };
99 
100 
101 #endif
void outputValidationInfo(reco::CaloClusterPtrVector &clusterPtrVector)
const EcalRecHitCollection * getCollection(edm::Event &evt, const std::string &hitProducer_, const std::string &hitCollection_)
virtual void produce(edm::Event &, const edm::EventSetup &)
void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es, const std::string &hitProducer, const std::string &hitCollection, const std::string &clusterCollection, const std::vector< EcalEtaPhiRegion > &regions, const reco::CaloID::Detectors detector)
EgammaHLTMulti5x5ClusterProducer(const edm::ParameterSet &ps)