39 setWhatProduced(
this,
"MTDTimeCalib").setConsumes(ddToken_).setConsumes(topoToken_);
45 desc.
add<
double>(
"BTLTimeOffset", 0.)->
setComment(
"Time offset (additive) to all the BTL RecHits [ns]");
46 desc.
add<
double>(
"ETLTimeOffset", 0.)->
setComment(
"Time offset (additive) to all the ETL RecHits [ns]");
47 desc.
add<
double>(
"BTLLightCollTime", 0.2)->
setComment(
"Light collection time for BTL tile geometry [ns]");
48 desc.
add<
double>(
"BTLLightCollSlope", 0.075)
49 ->
setComment(
"Light collection slope for bar for BTL bar tile geometry [ns/cm]");
50 descriptions.
add(
"MTDTimeCalibESProducer", desc);
54 return std::make_unique<MTDTimeCalib>(pset_, &iRecord.
get(ddToken_), &iRecord.
get(topoToken_));
void setComment(std::string const &value)
edm::ESGetToken< MTDTopology, MTDTopologyRcd > topoToken_
std::unique_ptr< MTDTimeCalib > produce(const MTDTimeCalibRecord &)
edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > ddToken_
MTDTimeCalibESProducer(const edm::ParameterSet &p)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)