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
}
20
21
class
FTLRecHitAlgoBase
{
22
public
:
23
25
FTLRecHitAlgoBase
(
const
edm::ParameterSet
& conf,
26
edm::ConsumesCollector
& sumes):
27
name_( conf.getParameter<
std
::
string
>(
"algoName"
) ){ };
28
30
virtual
~FTLRecHitAlgoBase
() { };
31
33
virtual
void
getEvent(
const
edm::Event
&) = 0;
34
virtual
void
getEventSetup(
const
edm::EventSetup
&) = 0;
35
37
virtual
FTLRecHit
makeRecHit(
const
FTLUncalibratedRecHit
& uncalibRH, uint32_t&
flags
)
const
= 0;
38
39
const
std::string
&
name
()
const
{
return
name_; }
40
41
private
:
42
std::string
name_
;
43
44
};
45
46
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
47
typedef
edmplugin::PluginFactory< FTLRecHitAlgoBase* (const edm::ParameterSet&, edm::ConsumesCollector&) >
FTLRecHitAlgoFactory
;
48
49
50
#endif
FTLUncalibratedRecHit.h
FTLRecHit
Definition:
FTLRecHit.h:14
FTLRecHitAlgoBase::name
const std::string & name() const
Definition:
FTLRecHitAlgoBase.h:39
FTLRecHitAlgoBase::name_
std::string name_
Definition:
FTLRecHitAlgoBase.h:42
FTLRecHitAlgoBase::~FTLRecHitAlgoBase
virtual ~FTLRecHitAlgoBase()
Destructor.
Definition:
FTLRecHitAlgoBase.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
flags
std::vector< Variable::Flags > flags
Definition:
MVATrainer.cc:135
std
Definition:
JetResolutionObject.h:76
ParameterSet.h
EventSetup
edmplugin::PluginFactory
Definition:
PluginFactory.h:31
edm::EventSetup
Definition:
EventSetup.h:45
FTLRecHitAlgoBase::FTLRecHitAlgoBase
FTLRecHitAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
Definition:
FTLRecHitAlgoBase.h:25
PluginFactory.h
FTLRecHit.h
FTLUncalibratedRecHit
Definition:
FTLUncalibratedRecHit.h:7
FTLRecHitAlgoFactory
edmplugin::PluginFactory< FTLRecHitAlgoBase *(const edm::ParameterSet &, edm::ConsumesCollector &) > FTLRecHitAlgoFactory
Definition:
FTLRecHitAlgoBase.h:47
Event
FTLRecHitAlgoBase
Definition:
FTLRecHitAlgoBase.h:21
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:66
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11