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 
10 template<typename InputCollection, typename OutputCollection> class HGCalProcessorBaseT {
11 
12  public:
15  name_(conf.getParameter<std::string>("ProcessorName"))
16  {}
17 
18  virtual ~HGCalProcessorBaseT() {}
19 
20  const std::string& name() const { return name_; }
21 
23 
24  virtual void run(const InputCollection& inputColl,
25  OutputCollection& outColl,
26  const edm::EventSetup& es) = 0;
27 
28  protected:
30 
31  private:
33 
34 };
35 
36 #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)