8 #include <boost/bind.hpp> 20 return it->coarseDelay;
38 return makeDelay(it->coarseDelay, it->fineDelay);
45 std::vector<Delay>::const_iterator it =
delays_.begin();
46 for( ; it !=
delays_.end(); ++it ) {
47 detIdVector.push_back(it->detId);
53 ss <<
"Total number of delays = " <<
delays_.size() << std::endl;
56 for( ; it !=
delays_.end(); ++it ) {
57 summaryDelays.add(it->detId,
makeDelay(it->coarseDelay, it->fineDelay));
59 ss << std::endl <<
"Summary:" << std::endl;
60 summaryDelays.print(ss);
67 ss << std::endl <<
"All pedestal values:" << std::endl;
68 for( ; it !=
delays_.end(); ++it ) {
69 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_