CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
tuple result
Definition: mps_fire.py:311
virtual void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result)=0
ParameterDescriptionBase * add(U const &iLabel, T const &value)
virtual void initialize(const edm::EventSetup &es)=0
static void fillPSetDescription(edm::ParameterSetDescription &desc)