Database object for signal propagation speed along the wire.
More...
#include <CDCPropSpeeds.h>
|
enum | { c_nSlayers = 56
} |
| Constant.
|
|
|
| CDCPropSpeeds () |
| Default constructor.
|
|
void | setSpeed (unsigned short iCLayer, float speed) |
| Set the speed in the list. More...
|
|
void | addSpeed (unsigned short iCLayer, float delta) |
| Update the speed in the list. More...
|
|
unsigned short | getEntries () const |
| Get the no. More...
|
|
std::vector< float > | getSpeeds () const |
| Get the whole list.
|
|
float | getSpeed (unsigned short iCLayer) const |
| Get the speed for the specified layer. More...
|
|
void | dump () const |
| Print out contents.
|
|
void | outputToFile (std::string fileName) const |
| Output the contents in text file format.
|
|
|
std::vector< float > | m_speeds = std::vector<float>(c_nSlayers) |
| list of speed
|
|
Database object for signal propagation speed along the wire.
Definition at line 25 of file CDCPropSpeeds.h.
◆ addSpeed()
void addSpeed |
( |
unsigned short |
iCLayer, |
|
|
float |
delta |
|
) |
| |
|
inline |
Update the speed in the list.
- Parameters
-
iCLayer | (continuous) layer-id, |
delta | delta-speed for the layer |
Definition at line 53 of file CDCPropSpeeds.h.
std::vector< float > m_speeds
list of speed
◆ getEntries()
unsigned short getEntries |
( |
| ) |
const |
|
inline |
◆ getSpeed()
float getSpeed |
( |
unsigned short |
iCLayer | ) |
const |
|
inline |
Get the speed for the specified layer.
- Parameters
-
iCLayer | (continuous) layer-id. |
- Returns
- propagation speed for the layer
Definition at line 79 of file CDCPropSpeeds.h.
◆ setSpeed()
void setSpeed |
( |
unsigned short |
iCLayer, |
|
|
float |
speed |
|
) |
| |
|
inline |
Set the speed in the list.
- Parameters
-
iCLayer | (continuous) layer-id, |
speed | propagation speed for the layer |
Definition at line 43 of file CDCPropSpeeds.h.
The documentation for this class was generated from the following file: