Main Page
Namespaces
Classes
Package Documentation
RecoLocalFastTime
FTLCommonAlgos
interface
MTDRecHitAlgoBase.h
Go to the documentation of this file.
1
#ifndef RecoLocalFastTime_FTLCommonAlgos_MTDRecHitAlgoBase_HH
2
#define RecoLocalFastTime_FTLCommonAlgos_MTDRecHitAlgoBase_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
MTDRecHitAlgoBase
{
22
public
:
23
25
MTDRecHitAlgoBase
(
const
edm::ParameterSet
& conf,
26
edm::ConsumesCollector
& sumes):
27
name_( conf.getParameter<
std
::
string
>(
"algoName"
) ){ };
28
30
virtual
~MTDRecHitAlgoBase
() { };
31
33
virtual
void
getEvent(
const
edm::Event
&) = 0;
34
virtual
void
getEventSetup(
const
edm::EventSetup
&) = 0;
35
37
virtual
FTLRecHit
makeRecHit(
const
FTLUncalibratedRecHit
& uRecHit, 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< MTDRecHitAlgoBase* (const edm::ParameterSet&, edm::ConsumesCollector&) >
MTDRecHitAlgoFactory
;
48
49
50
#endif
FTLUncalibratedRecHit.h
FTLRecHit
Definition:
FTLRecHit.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
flags
std::vector< Variable::Flags > flags
Definition:
MVATrainer.cc:135
std
Definition:
JetResolutionObject.h:80
ParameterSet.h
EventSetup
edmplugin::PluginFactory
Definition:
PluginFactory.h:32
edm::EventSetup
Definition:
EventSetup.h:52
MTDRecHitAlgoFactory
edmplugin::PluginFactory< MTDRecHitAlgoBase *(const edm::ParameterSet &, edm::ConsumesCollector &) > MTDRecHitAlgoFactory
Definition:
MTDRecHitAlgoBase.h:47
MTDRecHitAlgoBase
Definition:
MTDRecHitAlgoBase.h:21
MTDRecHitAlgoBase::name
const std::string & name() const
Definition:
MTDRecHitAlgoBase.h:39
PluginFactory.h
FTLRecHit.h
FTLUncalibratedRecHit
Definition:
FTLUncalibratedRecHit.h:7
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
MTDRecHitAlgoBase::MTDRecHitAlgoBase
MTDRecHitAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
Definition:
MTDRecHitAlgoBase.h:25
edm::ParameterSet
Definition:
ParameterSet.h:36
MTDRecHitAlgoBase::name_
std::string name_
Definition:
MTDRecHitAlgoBase.h:42
edm::Event
Definition:
Event.h:70
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
MTDRecHitAlgoBase::~MTDRecHitAlgoBase
virtual ~MTDRecHitAlgoBase()
Destructor.
Definition:
MTDRecHitAlgoBase.h:30
Generated for CMSSW Reference Manual by
1.8.11