src
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
FTLUncalibratedRecHit.h
FTLRecHit
Definition:
FTLRecHit.h:15
MTDRecHitAlgoBase::makeRecHit
virtual FTLRecHit makeRecHit(const FTLUncalibratedRecHit &uRecHit, uint32_t &flags) const =0
make rechits from dataframes
std
Definition:
JetResolutionObject.h:76
MTDRecHitAlgoBase::getEventSetup
virtual void getEventSetup(const edm::EventSetup &)=0
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
HLT_2024v10_cff.flags
flags
Definition:
HLT_2024v10_cff.py:10331
EventSetup
edmplugin::PluginFactory
Definition:
PluginFactory.h:35
MTDRecHitAlgoBase::name
const std::string & name() const
Definition:
MTDRecHitAlgoBase.h:37
edm::EventSetup
Definition:
EventSetup.h:56
MTDRecHitAlgoBase
Definition:
MTDRecHitAlgoBase.h:21
MTDRecHitAlgoBase::getEvent
virtual void getEvent(const edm::Event &)=0
get event and eventsetup information
MTDRecHitAlgoFactory
edmplugin::PluginFactory< MTDRecHitAlgoBase *(const edm::ParameterSet &, edm::ConsumesCollector &)> MTDRecHitAlgoFactory
Definition:
MTDRecHitAlgoBase.h:45
PluginFactory.h
FTLRecHit.h
FTLUncalibratedRecHit
Definition:
FTLUncalibratedRecHit.h:7
Event
edm
HLT enums.
Definition:
AlignableModifier.h:19
MTDRecHitAlgoBase::MTDRecHitAlgoBase
MTDRecHitAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
Definition:
MTDRecHitAlgoBase.h:24
edm::ParameterSet
Definition:
ParameterSet.h:48
MTDRecHitAlgoBase::name_
std::string name_
Definition:
MTDRecHitAlgoBase.h:40
edm::Event
Definition:
Event.h:73
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
MTDRecHitAlgoBase::~MTDRecHitAlgoBase
virtual ~MTDRecHitAlgoBase()
Destructor.
Definition:
MTDRecHitAlgoBase.h:28
Generated for CMSSW Reference Manual by
1.8.14