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
}
// namespace edm
20
21
class
MTDRecHitAlgoBase
{
22
public
:
24
MTDRecHitAlgoBase
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes)
25
:
name_
(conf.getParameter<
std
::
string
>(
"algoName"
)){};
26
28
virtual
~MTDRecHitAlgoBase
(){};
29
31
virtual
void
getEvent
(
const
edm::Event
&) = 0;
32
virtual
void
getEventSetup
(
const
edm::EventSetup
&) = 0;
33
35
virtual
FTLRecHit
makeRecHit
(
const
FTLUncalibratedRecHit
& uRecHit, 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
<
MTDRecHitAlgoBase
*(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&)>
45
MTDRecHitAlgoFactory
;
46
47
#endif
MTDRecHitAlgoBase
Definition:
MTDRecHitAlgoBase.h:21
PluginFactory.h
FTLRecHit
Definition:
FTLRecHit.h:15
MTDRecHitAlgoBase::name_
std::string name_
Definition:
MTDRecHitAlgoBase.h:40
edm
HLT enums.
Definition:
AlignableModifier.h:19
MTDRecHitAlgoBase::makeRecHit
virtual FTLRecHit makeRecHit(const FTLUncalibratedRecHit &uRecHit, uint32_t &flags) const =0
make rechits from dataframes
MTDRecHitAlgoBase::~MTDRecHitAlgoBase
virtual ~MTDRecHitAlgoBase()
Destructor.
Definition:
MTDRecHitAlgoBase.h:28
MTDRecHitAlgoBase::name
const std::string & name() const
Definition:
MTDRecHitAlgoBase.h:37
FTLRecHit.h
Event
MTDRecHitAlgoBase::getEventSetup
virtual void getEventSetup(const edm::EventSetup &)=0
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FTLUncalibratedRecHit.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
MTDRecHitAlgoBase::MTDRecHitAlgoBase
MTDRecHitAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
Definition:
MTDRecHitAlgoBase.h:24
edm::EventSetup
Definition:
EventSetup.h:57
MTDRecHitAlgoBase::getEvent
virtual void getEvent(const edm::Event &)=0
get event and eventsetup information
std
Definition:
JetResolutionObject.h:76
FTLUncalibratedRecHit
Definition:
FTLUncalibratedRecHit.h:7
ConsumesCollector.h
EventSetup
ParameterSet.h
edm::Event
Definition:
Event.h:73
HLT_2018_cff.flags
flags
Definition:
HLT_2018_cff.py:11758
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.16