CMS 3D CMS Logo

SeedingRegionAlgoBase.h
Go to the documentation of this file.
1 // Authors: Felice Pantaleo, Marco Rovere
2 // Emails: felice.pantaleo@cern.ch, marco.rovere@cern.ch
3 // Date: 06/2019
4 
5 #ifndef RecoHGCal_TICL_SeedingRegionAlgoBase_H__
6 #define RecoHGCal_TICL_SeedingRegionAlgoBase_H__
7 
8 #include <memory>
9 #include <vector>
15 
16 namespace edm {
17  class Event;
18  class EventSetup;
19 } // namespace edm
20 
21 namespace ticl {
23  public:
25  : algo_verbosity_(conf.getParameter<int>("algo_verbosity")) {}
27 
28  virtual void initialize(const edm::EventSetup& es) = 0;
29 
30  virtual void makeRegions(const edm::Event& ev,
31  const edm::EventSetup& es,
32  std::vector<TICLSeedingRegion>& result) = 0;
33 
34  static void fillPSetDescription(edm::ParameterSetDescription& desc) { desc.add<int>("algo_verbosity", 0); }
35 
37 
38  protected:
40  int algoId_;
41  };
42 } // namespace ticl
43 
44 #endif
SeedingRegionAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
virtual void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result)=0
virtual void initialize(const edm::EventSetup &es)=0
HLT enums.
Definition: Common.h:8
static void fillPSetDescription(edm::ParameterSetDescription &desc)