This class defines the payload which stores to the central DB the SVD global configuring parameters, and the methods to import and retrieve these parameters.
More...
#include <SVDGlobalConfigParameters.h>
|
| SVDGlobalConfigParameters (const TString &uniqueID="") |
| Default constructor.
|
|
float | getZeroSuppression (void) const |
| Returns the zero suppression threshold for global data taking in ZS acquisition mode.
|
|
int | getLatency (void) const |
| Returns the latency set for global data taking.
|
|
int | getMaskFilter (void) const |
| Returns the masking bitmap used to mask the strips at FADC level (only for CM-section)
|
|
float | getAPVClockInRFCUnits (void) const |
| Returns the APV clock.
|
|
float | getHV (void) const |
| Returns the HV = Vbias/2.
|
|
int | getRelativeTimeShift (void) const |
| Returns the relative time shift between the 3-sample and 6-sample acquired events in units of APV clock/4.
|
|
int | getNrFrames (void) const |
| Returns the number of frames 3 -> 3-sample only DAQ mode 6 -> 6-sample only DAQ mode 9 -> 3-mixed-6 sample DAQ mode.
|
|
void | setZeroSuppression (float zeroSuppression) |
| Set the zero suppression Input:
|
|
void | setLatency (float latency) |
| Set the latency Input:
|
|
void | setMaskFilter (int maskFilter) |
| Set the masking bitmap Input:
|
|
void | setAPVClockInRFCUnits (const std::string &APVClockUnits) |
| Set the APV Clock units Input:
|
|
void | setHV (float hv) |
| Set the HV (in V) Input:
|
|
void | setRelativeTimeShift (float relativeTimeShift) |
| Set the Relative time shift between 3- and 6- sample acquired events in units of APV clock / 4 Input:
|
|
void | setNrFrames (int nrFrames) |
| Set the number of frames 3 -> 3-sample only DAQ mode 6 -> 6-sample only DAQ mode 9 -> 3-mixed-6 sample DAQ mode.
|
|
TString | get_uniqueID () const |
| Get the unique ID of the calibration.
|
|
|
TString | m_uniqueID |
| Add a string as unique identifier for a given local run configuration)
|
|
float | m_zeroSuppression |
| zero suppression value which defines the S/N threshold of data mode acquisition during global run in ZS mode
|
|
int | m_latency |
| integer number of buffer cells to go back in the buffer ring to correctly sampling the signal pulse when the trigger is received.
|
|
int | m_maskFilter |
| masking bitmap
|
|
float | m_hv = 0 |
| HV = Vbias/2 in V.
|
|
float | m_relativeTimeShift = 0 |
| relative time shift between the 3-sample and 6-sample acquired events in units of APV clock/4 [0,15]
|
|
float | m_nrFrames = 0 |
| number of frames 3 -> 3-sample only DAQ mode 6 -> 6-sample only DAQ mode 9 -> 3-mixed-6 sample DAQ mode
|
|
std::string | m_APVClockInRFCUnits |
| APVclock.
|
|
This class defines the payload which stores to the central DB the SVD global configuring parameters, and the methods to import and retrieve these parameters.
Definition at line 26 of file SVDGlobalConfigParameters.h.
◆ SVDGlobalConfigParameters()
Default constructor.
Definition at line 31 of file SVDGlobalConfigParameters.h.
32 : m_uniqueID(uniqueID),
33 m_zeroSuppression(3),
34 m_latency(0),
35 m_maskFilter(7)
36 {};
◆ get_uniqueID()
TString get_uniqueID |
( |
| ) |
const |
|
inline |
◆ getAPVClockInRFCUnits()
float getAPVClockInRFCUnits |
( |
void | | ) |
const |
|
inline |
Returns the APV clock.
- Returns
- float corresponding to the APV clock units in [ns]
Definition at line 64 of file SVDGlobalConfigParameters.h.
65 {
66
67 TString aux(m_APVClockInRFCUnits);
68 aux = aux.Remove(aux.First(" "), aux.Sizeof());
69
70 std::string auxString(aux);
71 int APVClockUnitsCoeff = std::atoi(auxString.c_str());
72
73
74 return APVClockUnitsCoeff;
75 }
◆ getHV()
float getHV |
( |
void | | ) |
const |
|
inline |
◆ getLatency()
int getLatency |
( |
void | | ) |
const |
|
inline |
Returns the latency set for global data taking.
- Returns
- int corresponding to the latency set for global data taking
Definition at line 52 of file SVDGlobalConfigParameters.h.
◆ getMaskFilter()
int getMaskFilter |
( |
void | | ) |
const |
|
inline |
Returns the masking bitmap used to mask the strips at FADC level (only for CM-section)
- Returns
- int corresponding to the mask filter applied at FADC level
Definition at line 58 of file SVDGlobalConfigParameters.h.
58{ return m_maskFilter; };
◆ getNrFrames()
int getNrFrames |
( |
void | | ) |
const |
|
inline |
Returns the number of frames 3 -> 3-sample only DAQ mode 6 -> 6-sample only DAQ mode 9 -> 3-mixed-6 sample DAQ mode.
Definition at line 95 of file SVDGlobalConfigParameters.h.
95{ return m_nrFrames; };
◆ getRelativeTimeShift()
int getRelativeTimeShift |
( |
void | | ) |
const |
|
inline |
Returns the relative time shift between the 3-sample and 6-sample acquired events in units of APV clock/4.
- Returns
- int [0,15] corresponding to relative time shift between the 3-sample and 6-sample acquired events in units of APV clock/4
Definition at line 87 of file SVDGlobalConfigParameters.h.
87{ return m_relativeTimeShift; };
◆ getZeroSuppression()
float getZeroSuppression |
( |
void | | ) |
const |
|
inline |
Returns the zero suppression threshold for global data taking in ZS acquisition mode.
- Returns
- float corresponding to zero suppression cut applied during data taking
Definition at line 46 of file SVDGlobalConfigParameters.h.
46{ return m_zeroSuppression; };
◆ setAPVClockInRFCUnits()
void setAPVClockInRFCUnits |
( |
const std::string & | APVClockUnits | ) |
|
|
inline |
Set the APV Clock units Input:
- Parameters
-
Definition at line 138 of file SVDGlobalConfigParameters.h.
139 {
140 m_APVClockInRFCUnits = APVClockUnits;
141 }
◆ setHV()
Set the HV (in V) Input:
- Parameters
-
hv | WARNING, this is one of the HV |
Definition at line 149 of file SVDGlobalConfigParameters.h.
150 {
151 m_hv = hv;
152 }
◆ setLatency()
void setLatency |
( |
float | latency | ) |
|
|
inline |
◆ setMaskFilter()
void setMaskFilter |
( |
int | maskFilter | ) |
|
|
inline |
◆ setNrFrames()
void setNrFrames |
( |
int | nrFrames | ) |
|
|
inline |
Set the number of frames 3 -> 3-sample only DAQ mode 6 -> 6-sample only DAQ mode 9 -> 3-mixed-6 sample DAQ mode.
Definition at line 170 of file SVDGlobalConfigParameters.h.
171 {
172 m_nrFrames = nrFrames;
173 };
◆ setRelativeTimeShift()
void setRelativeTimeShift |
( |
float | relativeTimeShift | ) |
|
|
inline |
Set the Relative time shift between 3- and 6- sample acquired events in units of APV clock / 4 Input:
- Parameters
-
Definition at line 159 of file SVDGlobalConfigParameters.h.
160 {
161 m_relativeTimeShift = relativeTimeShift;
162 }
◆ setZeroSuppression()
void setZeroSuppression |
( |
float | zeroSuppression | ) |
|
|
inline |
Set the zero suppression Input:
- Parameters
-
Definition at line 104 of file SVDGlobalConfigParameters.h.
105 {
106 m_zeroSuppression = zeroSuppression;
107 }
◆ m_APVClockInRFCUnits
std::string m_APVClockInRFCUnits |
|
private |
◆ m_hv
◆ m_latency
integer number of buffer cells to go back in the buffer ring to correctly sampling the signal pulse when the trigger is received.
Definition at line 191 of file SVDGlobalConfigParameters.h.
◆ m_maskFilter
◆ m_nrFrames
number of frames 3 -> 3-sample only DAQ mode 6 -> 6-sample only DAQ mode 9 -> 3-mixed-6 sample DAQ mode
Definition at line 210 of file SVDGlobalConfigParameters.h.
◆ m_relativeTimeShift
float m_relativeTimeShift = 0 |
|
private |
relative time shift between the 3-sample and 6-sample acquired events in units of APV clock/4 [0,15]
Definition at line 203 of file SVDGlobalConfigParameters.h.
◆ m_uniqueID
◆ m_zeroSuppression
zero suppression value which defines the S/N threshold of data mode acquisition during global run in ZS mode
Definition at line 187 of file SVDGlobalConfigParameters.h.
The documentation for this class was generated from the following file: