16 return it->coarseDelay;
32 return makeDelay(it->coarseDelay, it->fineDelay);
38 std::vector<Delay>::const_iterator it =
delays_.begin();
39 for (; it !=
delays_.end(); ++it) {
40 detIdVector.push_back(it->detId);
45 ss <<
"Total number of delays = " <<
delays_.size() << std::endl;
48 for (; it !=
delays_.end(); ++it) {
49 summaryDelays.add(it->detId,
makeDelay(it->coarseDelay, it->fineDelay));
51 ss << std::endl <<
"Summary:" << std::endl;
52 summaryDelays.print(ss);
58 ss << std::endl <<
"All pedestal values:" << std::endl;
59 for (; it !=
delays_.end(); ++it) {
60 ss <<
"detId = " << it->detId <<
" delay = " <<
makeDelay(it->coarseDelay, it->fineDelay) << std::endl;
uint16_t coarseDelay(const uint32_t detId)
bool put(const uint32_t detId, const uint16_t coarseDelay, const uint16_t fineDelay)
std::vector< Delay >::const_iterator delayConstIt
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints the average value of the delays for all layers and wheels in the SiStripTracker.
double makeDelay(const uint16_t coarseDelay, const uint16_t fineDelay) const
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
Prints the delays for all the detIds.
double delay(const uint32_t detId) const
uint16_t fineDelay(const uint32_t detId) const
void detIds(std::vector< uint32_t > &detIdVector) const
Get the list of all detIds for which a delay is stored.
std::vector< Delay > delays_