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
Common.h
edm
HLT enums.
Definition: AlignableModifier.h:19
ticl::SeedingRegionAlgoBase::None
Definition: SeedingRegionAlgoBase.h:36
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
ticl::SeedingRegionAlgoBase
Definition: SeedingRegionAlgoBase.h:22
ticl
Definition: Common.h:8
ticl::SeedingRegionAlgoBase::VerbosityLevel
VerbosityLevel
Definition: SeedingRegionAlgoBase.h:36
ticl::SeedingRegionAlgoBase::~SeedingRegionAlgoBase
virtual ~SeedingRegionAlgoBase()
Definition: SeedingRegionAlgoBase.h:26
Event
ParameterSetDescription.h
edm::ParameterSet
Definition: ParameterSet.h:47
createfilelist.int
int
Definition: createfilelist.py:10
edm::EventSetup
Definition: EventSetup.h:58
ticl::SeedingRegionAlgoBase::makeRegions
virtual void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result)=0
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
TICLSeedingRegion.h
ticl::SeedingRegionAlgoBase::fillPSetDescription
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition: SeedingRegionAlgoBase.h:34
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
ticl::SeedingRegionAlgoBase::algo_verbosity_
int algo_verbosity_
Definition: SeedingRegionAlgoBase.h:39
ticl::SeedingRegionAlgoBase::SeedingRegionAlgoBase
SeedingRegionAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition: SeedingRegionAlgoBase.h:24
ticl::SeedingRegionAlgoBase::algoId_
int algoId_
Definition: SeedingRegionAlgoBase.h:40
mps_fire.result
result
Definition: mps_fire.py:311
ConsumesCollector.h
EventSetup
ParameterSet.h
ticl::SeedingRegionAlgoBase::Guru
Definition: SeedingRegionAlgoBase.h:36
ticl::SeedingRegionAlgoBase::Expert
Definition: SeedingRegionAlgoBase.h:36
edm::Event
Definition: Event.h:73
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
ticl::SeedingRegionAlgoBase::Advanced
Definition: SeedingRegionAlgoBase.h:36
ticl::SeedingRegionAlgoBase::Basic
Definition: SeedingRegionAlgoBase.h:36
ticl::SeedingRegionAlgoBase::initialize
virtual void initialize(const edm::EventSetup &es)=0