Belle II Software development
SVDLocalConfigParameters Class Reference

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>

Inheritance diagram for SVDLocalConfigParameters:

Public Member Functions

 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.
 

Private Member Functions

 ClassDef (SVDLocalConfigParameters, 1)
 needed by root
 

Private Attributes

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SVDLocalConfigParameters()

SVDLocalConfigParameters ( const TString &  uniqueID = "")
inline

Default constructor.

Definition at line 32 of file SVDLocalConfigParameters.h.

33 : m_uniqueID(uniqueID),
34 m_injectedCharge(22500)
35 {};
TString m_uniqueID
The unique identifier is a private member of SVDLocalConfigParameter, whose value is assigned in the ...
float m_injectedCharge
charge in electrons injected in each strip to calibrate the pulse gain during the calibration run

Member Function Documentation

◆ get_uniqueID()

TString get_uniqueID ( ) const
inline

Get the unique ID of the calibration.

Definition at line 101 of file SVDLocalConfigParameters.h.

101{return m_uniqueID;}

◆ 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; };
std::string m_calibDate
time stamp with date and hour(yyyymmdd_hhmm) of when the local runs for the current calibration have ...

◆ 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 }
std::string m_calibrationTimeUnits
Time units of the measured pulse shape peak time expressed in accelerator RFC.

◆ 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
date

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
calibrationTimeUnits

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
injectedCharge

Definition at line 69 of file SVDLocalConfigParameters.h.

70 {
71 m_injectedCharge = injectedCharge;
72 }

Member Data Documentation

◆ m_calibDate

std::string m_calibDate
private

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

Time units of the measured pulse shape peak time expressed in accelerator RFC.

Definition at line 115 of file SVDLocalConfigParameters.h.

◆ m_injectedCharge

float m_injectedCharge
private

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

TString m_uniqueID
private

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: