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 }
20 
22  public:
23 
26  edm::ConsumesCollector& sumes):
27  name_( conf.getParameter<std::string>("algoName") ){ };
28 
30  virtual ~MTDRecHitAlgoBase() { };
31 
33  virtual void getEvent(const edm::Event&) = 0;
34  virtual void getEventSetup(const edm::EventSetup&) = 0;
35 
37  virtual FTLRecHit makeRecHit(const FTLUncalibratedRecHit& uRecHit, uint32_t& flags) const = 0;
38 
39  const std::string& name() const { return name_; }
40 
41  private:
43 
44 };
45 
48 
49 
50 #endif
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
edmplugin::PluginFactory< MTDRecHitAlgoBase *(const edm::ParameterSet &, edm::ConsumesCollector &) > MTDRecHitAlgoFactory
const std::string & name() const
HLT enums.
MTDRecHitAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
virtual ~MTDRecHitAlgoBase()
Destructor.