CMS 3D CMS Logo

FTLRecHitAlgoBase.h
Go to the documentation of this file.
1 #ifndef RecoLocalFastTime_FTLCommonAlgos_FTLRecHitAlgoBase_HH
2 #define RecoLocalFastTime_FTLCommonAlgos_FTLRecHitAlgoBase_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 ~FTLRecHitAlgoBase(){};
29 
31  virtual void getEvent(const edm::Event&) = 0;
32  virtual void getEventSetup(const edm::EventSetup&) = 0;
33 
35  virtual FTLRecHit makeRecHit(const FTLUncalibratedRecHit& uncalibRH, uint32_t& flags) const = 0;
36 
37  const std::string& name() const { return name_; }
38 
39 private:
41 };
42 
46 
47 #endif
edmplugin::PluginFactory< FTLRecHitAlgoBase *(const edm::ParameterSet &, edm::ConsumesCollector &)> FTLRecHitAlgoFactory
const std::string & name() const
virtual ~FTLRecHitAlgoBase()
Destructor.
FTLRecHitAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
HLT enums.