test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgammaHLTIslandClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterProducers_EgammaHLTIslandClusterProducer_h_
2 #define RecoEcal_EgammaClusterProducers_EgammaHLTIslandClusterProducer_h_
3 
4 #include <memory>
5 #include <time.h>
6 
12 
16 
19 
20 namespace edm {
22 }
23 
25  public:
28  void produce(edm::Event&, const edm::EventSetup&) override;
29  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
30 
31  private:
32 
33  int nMaxPrintout_; // max # of printouts
34  int nEvt_; // internal counter of events
35 
37 
38  bool doBarrel_;
39  bool doEndcaps_;
41 
46 
49 
52  double l1LowerThr_;
53  double l1UpperThr_;
55 
58 
59  PositionCalc posCalculator_; // position calculation algorithm
61 
62  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
63 
66 
67 
68  void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es,
70  const std::string& clusterCollection,
71  const std::vector<EcalEtaPhiRegion>& regions,
72  const IslandClusterAlgo::EcalPart& ecalPart);
73 };
74 #endif
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
void produce(edm::Event &, const edm::EventSetup &) override
void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es, edm::EDGetTokenT< EcalRecHitCollection > &hitToken, const std::string &clusterCollection, const std::vector< EcalEtaPhiRegion > &regions, const IslandClusterAlgo::EcalPart &ecalPart)
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
IslandClusterAlgo::VerbosityLevel verbosity
EgammaHLTIslandClusterProducer(const edm::ParameterSet &ps)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_
const EcalRecHitCollection * getCollection(edm::Event &evt, edm::EDGetTokenT< EcalRecHitCollection > &hitToken)
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_