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