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 
12 
16 
19 
21 
22 namespace edm {
24 }
25 
27  public:
30  void produce(edm::Event&, const edm::EventSetup&) override;
31  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
32 
33  private:
34  int nMaxPrintout_; // max # of printouts
35  int nEvt_; // internal counter of events
36 
37  bool doBarrel_;
38  bool doEndcaps_;
40 
47 
50 
51  double l1LowerThr_;
52  double l1UpperThr_;
54 
57 
58  PositionCalc posCalculator_; // position calculation algorithm
60 
61  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
62 
65 
66 
67  void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es,
69  const std::string& clusterCollection,
70  const std::vector<EcalEtaPhiRegion>& regions,
71  const reco::CaloID::Detectors detector);
72 
73  void outputValidationInfo(reco::CaloClusterPtrVector &clusterPtrVector);
74 
75 };
76 #endif
void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es, edm::EDGetTokenT< EcalRecHitCollection > &hitToken, const std::string &clusterCollection, const std::vector< EcalEtaPhiRegion > &regions, const reco::CaloID::Detectors detector)
void outputValidationInfo(reco::CaloClusterPtrVector &clusterPtrVector)
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
const EcalRecHitCollection * getCollection(edm::Event &evt, edm::EDGetTokenT< EcalRecHitCollection > &hitToken)
void produce(edm::Event &, const edm::EventSetup &) override
EgammaHLTMulti5x5ClusterProducer(const edm::ParameterSet &ps)
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_