32 findingRecord<DTT0Rcd>();
35 t0Mean =
pset.getParameter<
double>(
"t0Mean");
36 t0Sigma =
pset.getParameter<
double>(
"t0Sigma");
38 mdcToken_ = cc.consumes();
46 auto t0Map = std::make_unique<DTT0>();
49 for (
map<
DTLayerId, pair<unsigned int, unsigned int> >::const_iterator lIdWire = theLayerIdWiresMap.begin();
50 lIdWire != theLayerIdWiresMap.end();
52 int firstWire = ((*lIdWire).second).
first;
53 int nWires = ((*lIdWire).second).
second;
55 for (
int wire = 0; wire < nWires; wire++) {
65 const auto& mdc = iRecord.
get(mdcToken_);
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
static const IOVSyncValue & endOfTime()
std::pair< Time_t, Time_t > ValidityInterval
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &oValidity) override
Compact representation of the geometrical detector hierarchy.
U second(std::pair< T, U > const &p)
static const IOVSyncValue & beginOfTime()
void parseDDD(const DTT0Rcd &iRecord)
~DTFakeT0ESProducer() override
DTFakeT0ESProducer(const edm::ParameterSet &pset)
std::unique_ptr< DTT0 > produce(const DTT0Rcd &iRecord)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const