CSCIndexerESProducer

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef CSCIndexerESProducer_H
#define CSCIndexerESProducer_H

#include <memory>

#include "FWCore/Framework/interface/ESProducer.h"

#include "CalibMuon/CSCCalibration/interface/CSCIndexerBase.h"
#include "CalibMuon/CSCCalibration/interface/CSCIndexerRecord.h"

class CSCIndexerESProducer : public edm::ESProducer {
public:
  typedef std::unique_ptr<CSCIndexerBase> BSP_TYPE;

  CSCIndexerESProducer(const edm::ParameterSet &);
  ~CSCIndexerESProducer() override;

  BSP_TYPE produce(const CSCIndexerRecord &);

private:
  std::string algoName;
};

#endif