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
enum
VerbosityLevel
{
None
= 0,
Basic
,
Advanced
,
Expert
,
Guru
};
37
38
protected
:
39
int
algo_verbosity_
;
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
Generated for CMSSW Reference Manual by
1.8.16