Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
ticl::SeedingRegionAlgoBase::algoId_
int algoId_
Definition:
SeedingRegionAlgoBase.h:40
ticl::SeedingRegionAlgoBase::Expert
Definition:
SeedingRegionAlgoBase.h:36
ticl::SeedingRegionAlgoBase
Definition:
SeedingRegionAlgoBase.h:22
ticl::SeedingRegionAlgoBase::SeedingRegionAlgoBase
SeedingRegionAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition:
SeedingRegionAlgoBase.h:24
ticl::SeedingRegionAlgoBase::VerbosityLevel
VerbosityLevel
Definition:
SeedingRegionAlgoBase.h:36
ticl::SeedingRegionAlgoBase::~SeedingRegionAlgoBase
virtual ~SeedingRegionAlgoBase()
Definition:
SeedingRegionAlgoBase.h:26
ticl::SeedingRegionAlgoBase::Guru
Definition:
SeedingRegionAlgoBase.h:36
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:96
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
mps_fire.result
tuple result
Definition:
mps_fire.py:311
ParameterSet.h
EventSetup
ticl::SeedingRegionAlgoBase::makeRegions
virtual void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result)=0
ParameterSetDescription.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
edm::EventSetup
Definition:
EventSetup.h:59
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition:
ParameterSetDescription.h:95
ticl::SeedingRegionAlgoBase::algo_verbosity_
int algo_verbosity_
Definition:
SeedingRegionAlgoBase.h:39
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
Event
TICLSeedingRegion.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
ticl::SeedingRegionAlgoBase::None
Definition:
SeedingRegionAlgoBase.h:36
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.5