This class defines the payload which stores to the central DB the SVD local configuring parameters, and the methods to import and retrieve these parameters.
More...
#include <SVDLocalConfigParameters.h>
|
| SVDLocalConfigParameters (const TString &uniqueID="") |
| Default constructor.
|
|
float | getInjectedCharge (void) const |
| Returns the injected charge during the calibration run.
|
|
float | getCalibrationTimeInRFCUnits (void) const |
| Returns the time units in which the peak time of the pulse shape is provided.
|
|
std::string | getCalibDate (void) const |
| Returns the time stamp date_hour (yyyymmdd_hhmm) of the current calibration.
|
|
void | setInjectedCharge (float injectedCharge) |
| Set the injected charge Input:
|
|
void | setCalibrationTimeInRFCUnits (const std::string &calibrationTimeUnits) |
| Set the time units Input:
|
|
void | setCalibDate (const std::string &date) |
| Set the date (yyyy-mm-dd) of the current NOISE calibration Input:
|
|
TString | get_uniqueID () const |
| Get the unique ID of the calibration.
|
|
|
TString | m_uniqueID |
| The unique identifier is a private member of SVDLocalConfigParameter, whose value is assigned in the constructor.
|
|
float | m_injectedCharge |
| charge in electrons injected in each strip to calibrate the pulse gain during the calibration run
|
|
std::string | m_calibrationTimeUnits |
| Time units of the measured pulse shape peak time expressed in accelerator RFC.
|
|
std::string | m_calibDate |
| time stamp with date and hour(yyyymmdd_hhmm) of when the local runs for the current calibration have been taken
|
|
This class defines the payload which stores to the central DB the SVD local configuring parameters, and the methods to import and retrieve these parameters.
Definition at line 26 of file SVDLocalConfigParameters.h.
◆ SVDLocalConfigParameters()
◆ get_uniqueID()
TString get_uniqueID |
( |
| ) |
const |
|
inline |
◆ getCalibDate()
std::string getCalibDate |
( |
void | | ) |
const |
|
inline |
Returns the time stamp date_hour (yyyymmdd_hhmm) of the current calibration.
- Returns
- string corresponding to the time stamp of the current calibration in the format yyyymmdd_hhmm.
Definition at line 61 of file SVDLocalConfigParameters.h.
61{ return m_calibDate; };
◆ getCalibrationTimeInRFCUnits()
float getCalibrationTimeInRFCUnits |
( |
void | | ) |
const |
|
inline |
Returns the time units in which the peak time of the pulse shape is provided.
- Returns
- float corresponding to calibration time units [Accelerator RFC converted in ns]
Definition at line 47 of file SVDLocalConfigParameters.h.
48 {
49 TString aux(m_calibrationTimeUnits);
50 aux = aux.Remove(aux.First(" "), aux.Sizeof());
51
52 std::string auxString(aux);
53 int calibrationTimeCoeff = std::atoi(auxString.c_str());
54 return calibrationTimeCoeff;
55 }
◆ getInjectedCharge()
float getInjectedCharge |
( |
void | | ) |
const |
|
inline |
Returns the injected charge during the calibration run.
- Returns
- float corresponding to injected charge
Definition at line 40 of file SVDLocalConfigParameters.h.
40{ return m_injectedCharge; };
◆ setCalibDate()
void setCalibDate |
( |
const std::string & | date | ) |
|
|
inline |
Set the date (yyyy-mm-dd) of the current NOISE calibration Input:
- Parameters
-
Definition at line 92 of file SVDLocalConfigParameters.h.
93 {
94 m_calibDate = date;
95 }
◆ setCalibrationTimeInRFCUnits()
void setCalibrationTimeInRFCUnits |
( |
const std::string & | calibrationTimeUnits | ) |
|
|
inline |
Set the time units Input:
- Parameters
-
Definition at line 81 of file SVDLocalConfigParameters.h.
82 {
83 m_calibrationTimeUnits = calibrationTimeUnits;
84 }
◆ setInjectedCharge()
void setInjectedCharge |
( |
float | injectedCharge | ) |
|
|
inline |
Set the injected charge Input:
- Parameters
-
Definition at line 69 of file SVDLocalConfigParameters.h.
70 {
71 m_injectedCharge = injectedCharge;
72 }
◆ m_calibDate
time stamp with date and hour(yyyymmdd_hhmm) of when the local runs for the current calibration have been taken
Definition at line 119 of file SVDLocalConfigParameters.h.
◆ m_calibrationTimeUnits
std::string m_calibrationTimeUnits |
|
private |
◆ m_injectedCharge
charge in electrons injected in each strip to calibrate the pulse gain during the calibration run
Definition at line 110 of file SVDLocalConfigParameters.h.
◆ m_uniqueID
The unique identifier is a private member of SVDLocalConfigParameter, whose value is assigned in the constructor.
Definition at line 105 of file SVDLocalConfigParameters.h.
The documentation for this class was generated from the following file: