#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 |
Prints the delays for all the detIds. More... | |
void | printSummary (std::stringstream &ss) 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 24 of file SiStripBaseDelay.h.
typedef std::vector<Delay>::const_iterator SiStripBaseDelay::delayConstIt |
Definition at line 51 of file SiStripBaseDelay.h.
typedef std::vector<Delay>::iterator SiStripBaseDelay::delayIt |
Definition at line 50 of file SiStripBaseDelay.h.
|
inline |
Definition at line 28 of file SiStripBaseDelay.h.
uint16_t SiStripBaseDelay::coarseDelay | ( | const uint32_t | detId | ) |
Definition at line 14 of file SiStripBaseDelay.cc.
References delays_, and SiStripBaseDelay::Delay::detId.
double SiStripBaseDelay::delay | ( | const uint32_t | detId | ) | const |
Definition at line 32 of file SiStripBaseDelay.cc.
References delays_, SiStripBaseDelay::Delay::detId, and makeDelay().
|
inline |
Fill the input container with all the delays.
Definition at line 59 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 68 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 41 of file SiStripBaseDelay.cc.
References delays_.
uint16_t SiStripBaseDelay::fineDelay | ( | const uint32_t | detId | ) | const |
Definition at line 23 of file SiStripBaseDelay.cc.
References delays_, and SiStripBaseDelay::Delay::detId.
|
inlineprivate |
Definition at line 80 of file SiStripBaseDelay.h.
Referenced by delay(), printDebug(), and printSummary().
void SiStripBaseDelay::printDebug | ( | std::stringstream & | ss | ) | const |
Prints the delays for all the detIds.
Definition at line 61 of file SiStripBaseDelay.cc.
References delays_, makeDelay(), and printSummary().
void SiStripBaseDelay::printSummary | ( | std::stringstream & | ss | ) | const |
Prints the average value of the delays for all layers and wheels in the SiStripTracker.
Definition at line 49 of file SiStripBaseDelay.cc.
References SiStripDetSummary::add(), delays_, makeDelay(), and SiStripDetSummary::print().
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 87 of file SiStripBaseDelay.h.
|
friend |
Definition at line 87 of file SiStripBaseDelay.h.
|
private |
Definition at line 85 of file SiStripBaseDelay.h.
Referenced by coarseDelay(), delay(), delays(), delaysSize(), detIds(), fineDelay(), printDebug(), printSummary(), and put().