src
RecoHGCal
TICL
plugins
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>
10
#include "
DataFormats/HGCalReco/interface/Common.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
13
#include "
DataFormats/HGCalReco/interface/TICLSeedingRegion.h
"
14
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
15
16
namespace
edm
{
17
class
Event
;
18
class
EventSetup
;
19
}
// namespace edm
20
21
namespace
ticl
{
22
class
SeedingRegionAlgoBase
{
23
public
:
24
SeedingRegionAlgoBase
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes)
25
:
algo_verbosity_
(conf.getParameter<
int
>(
"algo_verbosity"
)) {}
26
virtual
~SeedingRegionAlgoBase
(){};
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
36
protected
:
37
int
algo_verbosity_
;
38
int
algoId_
;
39
};
40
}
// namespace ticl
41
42
#endif
Common.h
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
ticl::SeedingRegionAlgoBase::algoId_
int algoId_
Definition:
SeedingRegionAlgoBase.h:38
ticl::SeedingRegionAlgoBase
Definition:
SeedingRegionAlgoBase.h:22
mps_fire.result
result
Definition:
mps_fire.py:311
ticl::SeedingRegionAlgoBase::SeedingRegionAlgoBase
SeedingRegionAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition:
SeedingRegionAlgoBase.h:24
ticl::SeedingRegionAlgoBase::~SeedingRegionAlgoBase
virtual ~SeedingRegionAlgoBase()
Definition:
SeedingRegionAlgoBase.h:26
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ParameterSet.h
EventSetup
ticl::SeedingRegionAlgoBase::makeRegions
virtual void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result)=0
createfilelist.int
int
Definition:
createfilelist.py:10
ParameterSetDescription.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
edm::EventSetup
Definition:
EventSetup.h:56
ticl::SeedingRegionAlgoBase::algo_verbosity_
int algo_verbosity_
Definition:
SeedingRegionAlgoBase.h:37
ticl::SeedingRegionAlgoBase::initialize
virtual void initialize(const edm::EventSetup &es)=0
Event
edm
HLT enums.
Definition:
AlignableModifier.h:19
TICLSeedingRegion.h
ticl
Definition:
Common.h:8
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
ticl::SeedingRegionAlgoBase::fillPSetDescription
static void fillPSetDescription(edm::ParameterSetDescription &desc)
Definition:
SeedingRegionAlgoBase.h:34
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14