Belle II Software  release-08-01-10
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:
Collaboration 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. More...
 
int getLatency (void) const
 Returns the latency set for global data taking. More...
 
int getMaskFilter (void) const
 Returns the masking bitmap used to mask the strips at FADC level (only for CM-section) More...
 
float getAPVClockInRFCUnits (void) const
 Returns the APV clock. More...
 
float getHV (void) const
 Returns the HV = Vbias/2. More...
 
int getRelativeTimeShift (void) const
 Returns the relative time shift between the 3-sample and 6-sample acquired events in units of APV clock/4. More...
 
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: More...
 
void setLatency (float latency)
 Set the latency Input: More...
 
void setMaskFilter (int maskFilter)
 Set the masking bitmap Input: More...
 
void setAPVClockInRFCUnits (const std::string &APVClockUnits)
 Set the APV Clock units Input: More...
 
void setHV (float hv)
 Set the HV (in V) Input: More...
 
void setRelativeTimeShift (float relativeTimeShift)
 Set the Relative time shift between 3- and 6- sample acquired events in units of APV clock / 4 Input: More...
 
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.

Member Function Documentation

◆ getAPVClockInRFCUnits()

float getAPVClockInRFCUnits ( void  ) const
inline

Returns the APV clock.

Parameters
none
Returns
float corresponding to the APV clock units in [ns]

Definition at line 69 of file SVDGlobalConfigParameters.h.

70  {
71 
72  TString aux(m_APVClockInRFCUnits);
73  aux = aux.Remove(aux.First(" "), aux.Sizeof());
74  // std::cout << "aux = " << aux <<endl;
75  std::string auxString(aux);
76  int APVClockUnitsCoeff = std::atoi(auxString.c_str());
77  // std::cout<<"time units coefficient = " << timeUnitsCoeff<<endl;
78 
79  return APVClockUnitsCoeff;
80  }

◆ getHV()

float getHV ( void  ) const
inline

Returns the HV = Vbias/2.

Parameters
none
Returns
float corresponding to the HV = Vbias/2

Definition at line 87 of file SVDGlobalConfigParameters.h.

◆ getLatency()

int getLatency ( void  ) const
inline

Returns the latency set for global data taking.

Parameters
none
Returns
int corresponding to the latency set for global data taking

Definition at line 55 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)

Parameters
none
Returns
int corresponding to the mask filter applied at FADC level

Definition at line 62 of file SVDGlobalConfigParameters.h.

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

Parameters
none
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 94 of file SVDGlobalConfigParameters.h.

◆ getZeroSuppression()

float getZeroSuppression ( void  ) const
inline

Returns the zero suppression threshold for global data taking in ZS acquisition mode.

Parameters
none
Returns
float corresponding to zero suppression cut applied during data taking

Definition at line 47 of file SVDGlobalConfigParameters.h.

◆ setAPVClockInRFCUnits()

void setAPVClockInRFCUnits ( const std::string &  APVClockUnits)
inline

Set the APV Clock units Input:

Parameters
APVClockUnits

Definition at line 145 of file SVDGlobalConfigParameters.h.

◆ setHV()

void setHV ( float  hv)
inline

Set the HV (in V) Input:

Parameters
hvWARNING, this is one of the HV

Definition at line 156 of file SVDGlobalConfigParameters.h.

◆ setLatency()

void setLatency ( float  latency)
inline

Set the latency Input:

Parameters
latencyvalue

Definition at line 122 of file SVDGlobalConfigParameters.h.

◆ setMaskFilter()

void setMaskFilter ( int  maskFilter)
inline

Set the masking bitmap Input:

Parameters
maskFilter

Definition at line 134 of file SVDGlobalConfigParameters.h.

◆ 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 166 of file SVDGlobalConfigParameters.h.

◆ setZeroSuppression()

void setZeroSuppression ( float  zeroSuppression)
inline

Set the zero suppression Input:

Parameters
zeroSuppressionvalue

Definition at line 111 of file SVDGlobalConfigParameters.h.


The documentation for this class was generated from the following file: