CMS 3D CMS Logo

HGCalProcessorBaseT.h
Go to the documentation of this file.
1 #ifndef __L1Trigger_L1THGCal_HGCalProcessorBaseT_h__
2 #define __L1Trigger_L1THGCal_HGCalProcessorBaseT_h__
3 
6 
8 
9 template <typename InputCollection, typename OutputCollection>
11 public:
13  : geometry_(nullptr), name_(conf.getParameter<std::string>("ProcessorName")) {}
14 
15  virtual ~HGCalProcessorBaseT() {}
16 
17  const std::string& name() const { return name_; }
18 
20 
21  virtual void run(const InputCollection& inputColl, OutputCollection& outColl, const edm::EventSetup& es) = 0;
22 
23 protected:
25 
26 private:
28 };
29 
30 #endif
const std::string & name() const
virtual void run(const InputCollection &inputColl, OutputCollection &outColl, const edm::EventSetup &es)=0
const HGCalTriggerGeometryBase * geometry_
#define nullptr
const std::string name_
HGCalProcessorBaseT(const edm::ParameterSet &conf)
void setGeometry(const HGCalTriggerGeometryBase *const geom)