8 #include <boost/bind.hpp> 18 return it->coarseDelay;
34 return makeDelay(it->coarseDelay, it->fineDelay);
40 std::vector<Delay>::const_iterator it =
delays_.begin();
41 for (; it !=
delays_.end(); ++it) {
42 detIdVector.push_back(it->detId);
47 ss <<
"Total number of delays = " <<
delays_.size() << std::endl;
50 for (; it !=
delays_.end(); ++it) {
51 summaryDelays.add(it->detId,
makeDelay(it->coarseDelay, it->fineDelay));
53 ss << std::endl <<
"Summary:" << std::endl;
54 summaryDelays.print(ss);
60 ss << std::endl <<
"All pedestal values:" << std::endl;
61 for (; it !=
delays_.end(); ++it) {
62 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_