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 
42 
43  bool doBarrel_;
44  bool doEndcaps_;
46 
49  std::string barrelHitCollection_;
50  std::string endcapHitCollection_;
51 
54 
55  /*
56  std::string clustershapecollectionEB_;//new
57  std::string clustershapecollectionEE_;//new
58  //BasicClusterShape AssociationMap
59  std::string barrelClusterShapeAssociation_;//new
60  std::string endcapClusterShapeAssociation_;//new
61  */
62 
65  double l1LowerThr_;
66  double l1UpperThr_;
68 
71 
72  PositionCalc posCalculator_; // position calculation algorithm
74  //ClusterShapeAlgo shapeAlgo_;//new
75 
76  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
77 
79  const std::string& hitProducer_,
80  const std::string& hitCollection_);
81 
82 
83  void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es,
84  const std::string& hitProducer,
85  const std::string& hitCollection,
86  const std::string& clusterCollection,
87  const std::vector<EcalEtaPhiRegion>& regions,
89  /*
90  void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es,
91  const std::string& hitProducer,
92  const std::string& hitCollection,
93  const std::string& clusterCollection,
94  const std::string& clusterShapeAssociation,
95  const Multi5x5ClusterAlgo::EcalPart& ecalPart);
96  */
97  void outputValidationInfo(reco::CaloClusterPtrVector &clusterPtrVector);
98 
99 };
100 
101 
102 #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)
Multi5x5ClusterAlgo::VerbosityLevel verbosity
EgammaHLTMulti5x5ClusterProducer(const edm::ParameterSet &ps)