CMS 3D CMS Logo

HGCalAlgoWrapperBaseT.h
Go to the documentation of this file.
1 #ifndef __L1Trigger_L1THGCal_HGCalAlgoWrapperBaseT_h__
2 #define __L1Trigger_L1THGCal_HGCalAlgoWrapperBaseT_h__
3 
5 #include <string>
6 
7 template <typename InputCollection, typename OutputCollection, typename Tparam>
9 public:
10  HGCalAlgoWrapperBaseT(const edm::ParameterSet& conf) : name_(conf.getParameter<std::string>("AlgoName")) {}
11 
13 
14  virtual void configure(const Tparam& parameters) = 0;
15  virtual void process(const InputCollection& inputCollection, OutputCollection& outputCollection) const = 0;
16 
17  const std::string& name() const { return name_; }
18 
19 private:
21 };
22 
23 #endif
virtual void configure(const Tparam &parameters)=0
HGCalAlgoWrapperBaseT(const edm::ParameterSet &conf)
virtual void process(const InputCollection &inputCollection, OutputCollection &outputCollection) const =0
const std::string & name() const