Main Page
Namespaces
Classes
Package Documentation
RecoLocalFastTime
FTLCommonAlgos
interface
FTLRecHitAlgoBase.h
Go to the documentation of this file.
1
#ifndef RecoLocalFastTime_FTLCommonAlgos_FTLRecHitAlgoBase_HH
2
#define RecoLocalFastTime_FTLCommonAlgos_FTLRecHitAlgoBase_HH
3
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
12
13
#include "
DataFormats/FTLRecHit/interface/FTLRecHit.h
"
14
#include "
DataFormats/FTLRecHit/interface/FTLUncalibratedRecHit.h
"
15
16
namespace
edm
{
17
class
Event
;
18
class
EventSetup
;
19
}
// namespace edm
20
21
class
FTLRecHitAlgoBase
{
22
public
:
24
FTLRecHitAlgoBase
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes)
25
: name_(conf.getParameter<
std
::
string
>(
"algoName"
)){};
26
28
virtual
~FTLRecHitAlgoBase
(){};
29
31
virtual
void
getEvent(
const
edm::Event
&) = 0;
32
virtual
void
getEventSetup(
const
edm::EventSetup
&) = 0;
33
35
virtual
FTLRecHit
makeRecHit(
const
FTLUncalibratedRecHit
& uncalibRH, uint32_t&
flags
)
const
= 0;
36
37
const
std::string
&
name
()
const
{
return
name_; }
38
39
private
:
40
std::string
name_
;
41
};
42
43
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
44
typedef
edmplugin::PluginFactory<FTLRecHitAlgoBase*(const edm::ParameterSet&, edm::ConsumesCollector&)>
45
FTLRecHitAlgoFactory
;
46
47
#endif
FTLRecHitAlgoFactory
edmplugin::PluginFactory< FTLRecHitAlgoBase *(const edm::ParameterSet &, edm::ConsumesCollector &)> FTLRecHitAlgoFactory
Definition:
FTLRecHitAlgoBase.h:45
FTLUncalibratedRecHit.h
FTLRecHit
Definition:
FTLRecHit.h:15
FTLRecHitAlgoBase::name
const std::string & name() const
Definition:
FTLRecHitAlgoBase.h:37
FTLRecHitAlgoBase::name_
std::string name_
Definition:
FTLRecHitAlgoBase.h:40
FTLRecHitAlgoBase::~FTLRecHitAlgoBase
virtual ~FTLRecHitAlgoBase()
Destructor.
Definition:
FTLRecHitAlgoBase.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
std
Definition:
JetResolutionObject.h:76
ParameterSet.h
EventSetup
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
edm::EventSetup
Definition:
EventSetup.h:57
HLT_2018_cff.flags
flags
Definition:
HLT_2018_cff.py:11743
FTLRecHitAlgoBase::FTLRecHitAlgoBase
FTLRecHitAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
Definition:
FTLRecHitAlgoBase.h:24
PluginFactory.h
FTLRecHit.h
FTLUncalibratedRecHit
Definition:
FTLUncalibratedRecHit.h:7
Event
FTLRecHitAlgoBase
Definition:
FTLRecHitAlgoBase.h:21
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:72
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11