RecoLocalFastTime
FTLCommonAlgos
interface
MTDUncalibratedRecHitAlgoBase.h
Go to the documentation of this file.
1
#ifndef RecoLocalFastTime_FTLCommonAlgos_MTDUncalibratedRecHitRecAlgoBase_HH
2
#define RecoLocalFastTime_FTLCommonAlgos_MTDUncalibratedRecHitRecAlgoBase_HH
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
6
7
#include "
DataFormats/FTLDigi/interface/FTLDigiCollections.h
"
8
#include "
DataFormats/FTLRecHit/interface/FTLUncalibratedRecHit.h
"
9
10
namespace
edm
{
11
class
Event
;
12
class
EventSetup
;
13
}
// namespace edm
14
15
template
<
typename
DataFrame>
16
class
MTDUncalibratedRecHitAlgoBase
{
17
public
:
19
MTDUncalibratedRecHitAlgoBase
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes) {}
20
22
virtual
~MTDUncalibratedRecHitAlgoBase
() {}
23
25
virtual
void
getEvent
(
const
edm::Event
&) = 0;
26
virtual
void
getEventSetup
(
const
edm::EventSetup
&) = 0;
27
29
virtual
FTLUncalibratedRecHit
makeRecHit
(
const
DataFrame& dataFrame)
const
= 0;
30
31
const
std::string
&
name
()
const
{
return
name_
; }
32
33
private
:
34
std::string
name_
;
35
};
36
37
typedef
MTDUncalibratedRecHitAlgoBase<BTLDataFrame>
BTLUncalibratedRecHitAlgoBase
;
38
typedef
MTDUncalibratedRecHitAlgoBase<ETLDataFrame>
ETLUncalibratedRecHitAlgoBase
;
39
40
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
41
typedef
edmplugin::PluginFactory
<
BTLUncalibratedRecHitAlgoBase
*(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&)>
42
BTLUncalibratedRecHitAlgoFactory
;
43
typedef
edmplugin::PluginFactory
<
ETLUncalibratedRecHitAlgoBase
*(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&)>
44
ETLUncalibratedRecHitAlgoFactory
;
45
46
#endif
FTLDigiCollections.h
PluginFactory.h
ETLUncalibratedRecHitAlgoBase
MTDUncalibratedRecHitAlgoBase< ETLDataFrame > ETLUncalibratedRecHitAlgoBase
Definition:
MTDUncalibratedRecHitAlgoBase.h:38
edm
HLT enums.
Definition:
AlignableModifier.h:19
MTDUncalibratedRecHitAlgoBase::getEvent
virtual void getEvent(const edm::Event &)=0
get event and eventsetup information
MTDUncalibratedRecHitAlgoBase
Definition:
MTDUncalibratedRecHitAlgoBase.h:16
MTDUncalibratedRecHitAlgoBase::~MTDUncalibratedRecHitAlgoBase
virtual ~MTDUncalibratedRecHitAlgoBase()
Destructor.
Definition:
MTDUncalibratedRecHitAlgoBase.h:22
Event
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FTLUncalibratedRecHit.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
MTDUncalibratedRecHitAlgoBase::MTDUncalibratedRecHitAlgoBase
MTDUncalibratedRecHitAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
Definition:
MTDUncalibratedRecHitAlgoBase.h:19
BTLUncalibratedRecHitAlgoBase
MTDUncalibratedRecHitAlgoBase< BTLDataFrame > BTLUncalibratedRecHitAlgoBase
Definition:
MTDUncalibratedRecHitAlgoBase.h:37
edm::EventSetup
Definition:
EventSetup.h:58
MTDUncalibratedRecHitAlgoBase::name
const std::string & name() const
Definition:
MTDUncalibratedRecHitAlgoBase.h:31
MTDUncalibratedRecHitAlgoBase::makeRecHit
virtual FTLUncalibratedRecHit makeRecHit(const DataFrame &dataFrame) const =0
make the rec hit
MTDUncalibratedRecHitAlgoBase::name_
std::string name_
Definition:
MTDUncalibratedRecHitAlgoBase.h:34
FTLUncalibratedRecHit
Definition:
FTLUncalibratedRecHit.h:7
ConsumesCollector.h
MTDUncalibratedRecHitAlgoBase::getEventSetup
virtual void getEventSetup(const edm::EventSetup &)=0
EventSetup
ParameterSet.h
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16