#ifndef CastorSim_CastorSimParameterMap_h
#define CastorSim_CastorSimParameterMap_h

#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "SimCalorimetry/CaloSimAlgos/interface/CaloVSimParameterMap.h"
#include "SimCalorimetry/CastorSim/interface/CastorSimParameters.h"

class CastorSimParameterMap : public CaloVSimParameterMap {
public:
  /// hardcoded default parameters
  CastorSimParameterMap();
  /// configurable parameters
  CastorSimParameterMap(const edm::ParameterSet &p);

  ~CastorSimParameterMap() override {}

  const CaloSimParameters &simParameters(const DetId &id) const override;

  /// accessors
  // CaloSimParameters castorParameters() const  {return theCastorParameters;}
  CastorSimParameters castorParameters() const { return theCastorParameters; }

  void setDbService(const CastorDbService *service);

private:
  CastorSimParameters theCastorParameters;
};

#endif
