Belle II Software development
SVDGlobalConfigParameters Class Reference

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>

Inheritance diagram for SVDGlobalConfigParameters:

Public Member Functions

 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.
 

Private Member Functions

 ClassDef (SVDGlobalConfigParameters, 3)
 needed by root
 

Private Attributes

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SVDGlobalConfigParameters()

SVDGlobalConfigParameters ( const TString &  uniqueID = "")
inline

Default constructor.

Definition at line 31 of file SVDGlobalConfigParameters.h.

32 : m_uniqueID(uniqueID),
34 m_latency(0),
36 {};
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 ...
int m_latency
integer number of buffer cells to go back in the buffer ring to correctly sampling the signal pulse w...

Member Function Documentation

◆ get_uniqueID()

TString get_uniqueID ( ) const
inline

Get the unique ID of the calibration.

Definition at line 179 of file SVDGlobalConfigParameters.h.

179{return m_uniqueID;}

◆ 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 // std::cout << "aux = " << aux <<endl;
70 std::string auxString(aux);
71 int APVClockUnitsCoeff = std::atoi(auxString.c_str());
72 // std::cout<<"time units coefficient = " << timeUnitsCoeff<<endl;
73
74 return APVClockUnitsCoeff;
75 }

◆ getHV()

float getHV ( void  ) const
inline

Returns the HV = Vbias/2.

Returns
float corresponding to the HV = Vbias/2

Definition at line 81 of file SVDGlobalConfigParameters.h.

81{ return m_hv; };

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

52{ return m_latency; };

◆ 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; };
float m_nrFrames
number of frames 3 -> 3-sample only DAQ mode 6 -> 6-sample only DAQ mode 9 -> 3-mixed-6 sample DAQ mo...

◆ 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; };
float m_relativeTimeShift
relative time shift between the 3-sample and 6-sample acquired events in units of APV clock/4 [0,...

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

Definition at line 138 of file SVDGlobalConfigParameters.h.

139 {
140 m_APVClockInRFCUnits = APVClockUnits;
141 }

◆ setHV()

void setHV ( float  hv)
inline

Set the HV (in V) Input:

Parameters
hvWARNING, 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

Set the latency Input:

Parameters
latencyvalue

Definition at line 115 of file SVDGlobalConfigParameters.h.

116 {
117 m_latency = latency;
118 }

◆ setMaskFilter()

void setMaskFilter ( int  maskFilter)
inline

Set the masking bitmap Input:

Parameters
maskFilter

Definition at line 127 of file SVDGlobalConfigParameters.h.

128 {
129 m_maskFilter = maskFilter;
130 }

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

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
zeroSuppressionvalue

Definition at line 104 of file SVDGlobalConfigParameters.h.

105 {
106 m_zeroSuppression = zeroSuppression;
107 }

Member Data Documentation

◆ m_APVClockInRFCUnits

std::string m_APVClockInRFCUnits
private

APVclock.

Definition at line 214 of file SVDGlobalConfigParameters.h.

◆ m_hv

float m_hv = 0
private

HV = Vbias/2 in V.

Definition at line 199 of file SVDGlobalConfigParameters.h.

◆ m_latency

int m_latency
private

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

int m_maskFilter
private

masking bitmap

Definition at line 195 of file SVDGlobalConfigParameters.h.

◆ m_nrFrames

float m_nrFrames = 0
private

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

TString m_uniqueID
private

Add a string as unique identifier for a given local run configuration)

Definition at line 183 of file SVDGlobalConfigParameters.h.

◆ m_zeroSuppression

float m_zeroSuppression
private

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: