CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
virtual FTLRecHit makeRecHit(const FTLUncalibratedRecHit &uRecHit, uint32_t &flags) const =0
make rechits from dataframes
virtual void getEventSetup(const edm::EventSetup &)=0
virtual void getEvent(const edm::Event &)=0
get event and eventsetup information
const std::string & name() const
edmplugin::PluginFactory< MTDRecHitAlgoBase *(const edm::ParameterSet &, edm::ConsumesCollector &)> MTDRecHitAlgoFactory
MTDRecHitAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
virtual ~MTDRecHitAlgoBase()
Destructor.