CMS 3D CMS Logo

MTDRecHitAlgoBase.h
Go to the documentation of this file.
1 #ifndef RecoLocalFastTime_FTLCommonAlgos_MTDRecHitAlgoBase_HH
2 #define RecoLocalFastTime_FTLCommonAlgos_MTDRecHitAlgoBase_HH
3 
12 
15 
16 namespace edm {
17  class Event;
18  class EventSetup;
19 } // namespace edm
20 
22 public:
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:
41 };
42 
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:47
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
HLT_FULL_cff.flags
flags
Definition: HLT_FULL_cff.py:13213
edm::Event
Definition: Event.h:73
edm::ConsumesCollector
Definition: ConsumesCollector.h:45