#include <SiStripBaseDelay.h>
Classes | |
struct | Delay |
Public Types | |
typedef std::vector< Delay > ::const_iterator | delayConstIt |
typedef std::vector< Delay > ::iterator | delayIt |
Public Member Functions | |
uint16_t | coarseDelay (const uint32_t detId) |
double | delay (const uint32_t detId) const |
void | delays (std::vector< Delay > &delays) const |
Fill the input container with all the delays. More... | |
uint32_t | delaysSize () const |
Get the total number of delays stored (should equal the total number of modules in the SiStripTracker) More... | |
void | detIds (std::vector< uint32_t > &detIdVector) const |
Get the list of all detIds for which a delay is stored. More... | |
uint16_t | fineDelay (const uint32_t detId) const |
void | printDebug (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
Prints the delays for all the detIds. More... | |
void | printSummary (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
Prints the average value of the delays for all layers and wheels in the SiStripTracker. More... | |
bool | put (const uint32_t detId, const uint16_t coarseDelay, const uint16_t fineDelay) |
SiStripBaseDelay () | |
Private Member Functions | |
double | makeDelay (const uint16_t coarseDelay, const uint16_t fineDelay) const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< Delay > | delays_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Author: M. De Mattia (demat) 25/10/2010: tia@ pd.in fn.i t
Base Delay object containing the PLL or time of flight delays.
It stores the values in a vector<Delay>, which is not sorted.
This object can be used directly to access the information on the delays for each detId. However, it is recommended to use the SiStripDelay dependent record which is able to combine multiple BaseDelays and provides a much faster access to the information.
Definition at line 23 of file SiStripBaseDelay.h.
typedef std::vector<Delay>::const_iterator SiStripBaseDelay::delayConstIt |
Definition at line 40 of file SiStripBaseDelay.h.
typedef std::vector<Delay>::iterator SiStripBaseDelay::delayIt |
Definition at line 39 of file SiStripBaseDelay.h.
|
inline |
Definition at line 25 of file SiStripBaseDelay.h.
uint16_t SiStripBaseDelay::coarseDelay | ( | const uint32_t | detId | ) |
Definition at line 13 of file SiStripBaseDelay.cc.
double SiStripBaseDelay::delay | ( | const uint32_t | detId | ) | const |
Definition at line 29 of file SiStripBaseDelay.cc.
References delays_, makeDelay(), and x.
|
inline |
Fill the input container with all the delays.
Definition at line 48 of file SiStripBaseDelay.h.
References delays_.
|
inline |
Get the total number of delays stored (should equal the total number of modules in the SiStripTracker)
Definition at line 54 of file SiStripBaseDelay.h.
References delays_.
void SiStripBaseDelay::detIds | ( | std::vector< uint32_t > & | detIdVector | ) | const |
Get the list of all detIds for which a delay is stored.
Definition at line 37 of file SiStripBaseDelay.cc.
References delays_.
uint16_t SiStripBaseDelay::fineDelay | ( | const uint32_t | detId | ) | const |
Definition at line 21 of file SiStripBaseDelay.cc.
|
inlineprivate |
Definition at line 62 of file SiStripBaseDelay.h.
Referenced by delay(), printDebug(), and printSummary().
void SiStripBaseDelay::printDebug | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Prints the delays for all the detIds.
Definition at line 55 of file SiStripBaseDelay.cc.
References delays_, makeDelay(), and printSummary().
void SiStripBaseDelay::printSummary | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Prints the average value of the delays for all layers and wheels in the SiStripTracker.
Definition at line 44 of file SiStripBaseDelay.cc.
References delays_, and makeDelay().
Referenced by printDebug().
bool SiStripBaseDelay::put | ( | const uint32_t | detId, |
const uint16_t | coarseDelay, | ||
const uint16_t | fineDelay | ||
) |
Definition at line 8 of file SiStripBaseDelay.cc.
References delays_.
|
private |
|
friend |
Definition at line 68 of file SiStripBaseDelay.h.
|
friend |
Definition at line 68 of file SiStripBaseDelay.h.
|
private |
Definition at line 66 of file SiStripBaseDelay.h.
Referenced by coarseDelay(), delay(), delays(), delaysSize(), detIds(), fineDelay(), printDebug(), printSummary(), and put().