Belle II Software  release-08-01-10
ARICHFebTest Class Reference

The Class for ARICH Aerogel Parameters. More...

#include <ARICHFebTest.h>

Inheritance diagram for ARICHFebTest:
Collaboration diagram for ARICHFebTest:

Public Member Functions

 ARICHFebTest ()
 Default constructor.
 
 ARICHFebTest (int serial)
 Constructor.
 
 ~ARICHFebTest ()
 Destructor.
 
int getFebSerial () const
 Return FEB serial number. More...
 
void setFebSerial (int serial)
 Set FEB serial number. More...
 
std::string getFebDna () const
 Return FEB dna number. More...
 
void setRunSlowC (const std::string &runSlowC)
 Set slow control run number. More...
 
std::string getRunSlowC () const
 Return slow control number. More...
 
void setFebDna (const std::string &dna)
 Set FEB dna number. More...
 
TTimeStamp getTimeSlowC () const
 Return Test date (slow control measurement) More...
 
void setTimeSlowC (TTimeStamp timeSlowC)
 Set Test date (slow control measurement) More...
 
float getTemperature0 () const
 Return Temperature 0. More...
 
void setTemperature0 (float tmon0)
 Set Temperature 0. More...
 
float getTemperature1 () const
 Return Temperature 1. More...
 
void setTemperature1 (float tmon1)
 Set Temperature 1. More...
 
float getVdd () const
 Return Voltage - positive supply voltage. More...
 
void setVdd (float vdd)
 Set Voltage - positive supply voltage. More...
 
float getV2p () const
 Return Voltage - (+2.0) V. More...
 
void setV2p (float v2p)
 Set Voltage - (+2.0) V. More...
 
float getV2n () const
 Return Voltage - (-2.0) V. More...
 
void setV2n (float v2n)
 Set Voltage - (-2.0) V. More...
 
float getVss () const
 Return Voltage - negative supply voltage. More...
 
void setVss (float vss)
 Set Voltage - negative supply voltage. More...
 
float getVth1 () const
 Return Voltage - threshold voltage 1. More...
 
void setVth1 (float vth1)
 Set Voltage - threshold voltage 1. More...
 
float getVth2 () const
 Return Voltage - threshold voltage 1. More...
 
void setVth2 (float vth2)
 Set Voltage - threshold voltage 1. More...
 
float getVcc12 () const
 Return Voltage - supply voltage 1.2 V. More...
 
void setVcc12 (float vcc12)
 Set Voltage - supply voltage 1.2 V. More...
 
float getVcc15 () const
 Return Voltage - supply voltage 1.5 V. More...
 
void setVcc15 (float vcc15)
 Set Voltage - supply voltage 1.5 V. More...
 
float getVcc25 () const
 Return Voltage - supply voltage 2.5 V. More...
 
void setVcc25 (float vcc25)
 Set Voltage - supply voltage 2.5 V. More...
 
float getV38p () const
 Return Voltage - (+3.8) V. More...
 
void setV38p (float v38p)
 Set Voltage - (+3.8) V. More...
 
void setRunLV (const std::string &runLV)
 Set LV test run number. More...
 
std::string getRunLV () const
 Return LV test number. More...
 
TTimeStamp getTimeLV () const
 Return Test date (LV test) More...
 
void setTimeLV (TTimeStamp timeLV)
 Set Test date (LV test) More...
 
float getCurrentV20p () const
 Return current at voltage (+2.0) V. More...
 
void setCurrentV20p (float currentV20p)
 Set current at voltage (+2.0) V. More...
 
float getCurrentV21n () const
 Return current at voltage (-2.0) V. More...
 
void setCurrentV21n (float currentV21n)
 Set current at voltage (-2.0) V. More...
 
float getCurrentV38p () const
 Return current at voltage (+3.8) V. More...
 
void setCurrentV38p (float currentV38p)
 Set current at voltage (+3.8) V. More...
 
void setRunHV (const std::string &runHV)
 Set HV test run number. More...
 
std::string getRunHV () const
 Return HV test number. More...
 
TTimeStamp getTimeHV () const
 Return Test date (HV test) More...
 
void setTimeHV (TTimeStamp timeHV)
 Set Test date (HV test) More...
 
float getCurrentV99p () const
 Return current at voltage (+99) V. More...
 
void setCurrentV99p (float currentV99p)
 Set current at voltage (+99) V. More...
 
int getDeadChannel (unsigned int i) const
 Return a channel number from the list of dead channels. More...
 
void appendDeadChannel (int channel)
 Add a channel number to the list of dead channels. More...
 
void setDeadChannels (const std::vector< int > &deadChannels)
 Set vector of dead channel numbers. More...
 
int getDeadChannelsSize () const
 Return size of the list of dead channels. More...
 
TH2F * getTestPulse2D () const
 Return test pulse. More...
 
void setTestPulse2D (TH2F *testPulse)
 Set test pulse. More...
 
TH3F * getOffsetRough3D () const
 Return threshold scans with rough offset settings. More...
 
void setOffsetRough3D (TH3F *offsetRough)
 Set threshold scans with rough offset settings. More...
 
TH3F * getOffsetFine3D () const
 Return threshold scans with fine offset settings. More...
 
void setOffsetFine3D (TH3F *offsetFine)
 Set threshold scans with fine offset settings. More...
 
float getSlopeRough (unsigned int i) const
 Return slope[mV/offset step] for i-th channel (rough settings) More...
 
void appendSlopeRough (float slope)
 Add slope[mV/offset step] for i-th channel (rough settings) More...
 
void setSlopesRough (const std::vector< float > &slopesRough)
 Set vector of slopes (rough settings) More...
 
int getSlopesRoughSize () const
 Return size of the list of slopes (rough settings) More...
 
float getSlopeFine (unsigned int i) const
 Return slope[mV/offset step] for i-th channel (fine settings) More...
 
void appendSlopeFine (float slope)
 Add slope[mV/offset step] for i-th channel (fine settings) More...
 
void setSlopesFine (const std::vector< float > &slopesFine)
 Set vector of slopes (fine settings) More...
 
int getSlopesFineSize () const
 Return size of the list of slopes (fine settings) More...
 
std::pair< float, float > getFWHM (unsigned int i) const
 Return FWHM value&sigma for i-th channel. More...
 
void appendFWHM (const std::pair< float, float > &fwhm)
 Add FWHM value&sigma for i-th channel. More...
 
void setFWHM (const std::vector< std::pair< float, float >> &fwhm)
 Set vector of FWHM values&sigma. More...
 
int getFWHMSize () const
 Return size of the list of FWHM. More...
 
float getFWHMvalue (unsigned int i) const
 Return FWHM value for i-th channel. More...
 
float getFWHMsigma (unsigned int i) const
 Return FWHM sigma for i-th channel. More...
 
void setComment (const std::string &comment)
 Set comment. More...
 
std::string getComment () const
 Return comment. More...
 

Private Member Functions

 ClassDef (ARICHFebTest, 2)
 ClassDef.
 

Private Attributes

int m_serial
 FEB serial number.
 
std::string m_dna
 FEB dna.
 
std::string m_runSlowC
 Run number of FEB slow control measurements.
 
TTimeStamp m_timeSlowC
 Test Date of FEB slow control measurements.
 
float m_tmon0
 Temperature 0.
 
float m_tmon1
 Temperature 1.
 
float m_vdd
 Voltage - positive supply voltage.
 
float m_v2p
 Voltage - (+2.0) V.
 
float m_v2n
 Voltage - (-2.0) V.
 
float m_vss
 Voltage - negative supply voltage.
 
float m_vth1
 Voltage - threshold voltage 1.
 
float m_vth2
 Voltage - threshold voltage 2.
 
float m_vcc12
 Voltage - supply voltage 1.2 V.
 
float m_vcc15
 Voltage - supply voltage 1.5 V.
 
float m_vcc25
 Voltage - supply voltage 2.5 V.
 
float m_v38p
 Voltage - (+3.8) V.
 
std::string m_runLV
 Run number of FEB low voltage test.
 
TTimeStamp m_timeLV
 Test Date of FEB low voltage test.
 
float m_currentV20p
 Current at 2.0 V.
 
float m_currentV21n
 Current at -2.1 V.
 
float m_currentV38p
 Current at 3.8 V.
 
std::string m_runHV
 Run number of FEB high voltage test.
 
TTimeStamp m_timeHV
 Test Date of FEB high voltage test.
 
float m_currentV99p
 Current at 99 V.
 
std::vector< int > m_deadChannel
 List of dead channels on the FEB.
 
TH2F * m_testPulse
 Test pulse scan.
 
TH3F * m_offsetRough
 Threshold scans with rough offset settings.
 
TH3F * m_offsetFine
 Threshold scans with fine offset settings.
 
std::vector< float > m_slopesRough
 Slopes for each channel (rough settings) [mV/step].
 
std::vector< float > m_slopesFine
 Slopes for each channel (fine settings) [mV/step].
 
std::vector< std::pair< float, float > > m_fwhm
 FWHM and sigma for each channel.
 
std::string m_comment
 Optional comment.
 

Detailed Description

The Class for ARICH Aerogel Parameters.

Definition at line 31 of file ARICHFebTest.h.

Member Function Documentation

◆ appendDeadChannel()

void appendDeadChannel ( int  channel)
inline

Add a channel number to the list of dead channels.

Parameters
channelFEB channel id

Definition at line 309 of file ARICHFebTest.h.

309 {m_deadChannel.push_back(channel); }
std::vector< int > m_deadChannel
List of dead channels on the FEB.
Definition: ARICHFebTest.h:484

◆ appendFWHM()

void appendFWHM ( const std::pair< float, float > &  fwhm)
inline

Add FWHM value&sigma for i-th channel.

Parameters
FWHMvalue&sigma

Definition at line 420 of file ARICHFebTest.h.

◆ appendSlopeFine()

void appendSlopeFine ( float  slope)
inline

Add slope[mV/offset step] for i-th channel (fine settings)

Parameters
slope[mV/offsetstep]

Definition at line 395 of file ARICHFebTest.h.

◆ appendSlopeRough()

void appendSlopeRough ( float  slope)
inline

Add slope[mV/offset step] for i-th channel (rough settings)

Parameters
slope[mV/offsetstep]

Definition at line 370 of file ARICHFebTest.h.

◆ getComment()

std::string getComment ( ) const
inline

Return comment.

Returns
comment

Definition at line 456 of file ARICHFebTest.h.

◆ getCurrentV20p()

float getCurrentV20p ( ) const
inline

Return current at voltage (+2.0) V.

Returns
current at voltage (+2.0) V

Definition at line 241 of file ARICHFebTest.h.

◆ getCurrentV21n()

float getCurrentV21n ( ) const
inline

Return current at voltage (-2.0) V.

Returns
current at voltage (-2.0) V

Definition at line 251 of file ARICHFebTest.h.

◆ getCurrentV38p()

float getCurrentV38p ( ) const
inline

Return current at voltage (+3.8) V.

Returns
current at voltage (+3.8) V

Definition at line 261 of file ARICHFebTest.h.

◆ getCurrentV99p()

float getCurrentV99p ( ) const
inline

Return current at voltage (+99) V.

Returns
current at voltage (+99) V

Definition at line 291 of file ARICHFebTest.h.

◆ getDeadChannel()

int getDeadChannel ( unsigned int  i) const

Return a channel number from the list of dead channels.

Parameters
iindex of the element in the list
Returns
channel id

Definition at line 14 of file ARICHFebTest.cc.

15 {
16  if (i < m_deadChannel.size()) return m_deadChannel[i];
17  else return -1;
18 }

◆ getDeadChannelsSize()

int getDeadChannelsSize ( ) const
inline

Return size of the list of dead channels.

Returns
size

Definition at line 321 of file ARICHFebTest.h.

◆ getFebDna()

std::string getFebDna ( ) const
inline

Return FEB dna number.

Returns
FEB dna number

Definition at line 71 of file ARICHFebTest.h.

◆ getFebSerial()

int getFebSerial ( ) const
inline

Return FEB serial number.

Returns
FEB serial number

Definition at line 61 of file ARICHFebTest.h.

◆ getFWHM()

std::pair<float, float> getFWHM ( unsigned int  i) const

Return FWHM value&sigma for i-th channel.

Parameters
iFEB channel number
Returns
FWHM values&sigma

◆ getFWHMsigma()

float getFWHMsigma ( unsigned int  i) const

Return FWHM sigma for i-th channel.

Parameters
iFEB channel number
Returns
FWHM sigma

◆ getFWHMSize()

int getFWHMSize ( ) const
inline

Return size of the list of FWHM.

Returns
size

Definition at line 432 of file ARICHFebTest.h.

◆ getFWHMvalue()

float getFWHMvalue ( unsigned int  i) const

Return FWHM value for i-th channel.

Parameters
iFEB channel number
Returns
FWHM value

◆ getOffsetFine3D()

TH3F* getOffsetFine3D ( ) const
inline

Return threshold scans with fine offset settings.

Returns
3D threshold scans with fine offset settings

Definition at line 351 of file ARICHFebTest.h.

◆ getOffsetRough3D()

TH3F* getOffsetRough3D ( ) const
inline

Return threshold scans with rough offset settings.

Returns
3D threshold scans with rough offset settings

Definition at line 339 of file ARICHFebTest.h.

◆ getRunHV()

std::string getRunHV ( ) const
inline

Return HV test number.

Returns
HV test number

Definition at line 276 of file ARICHFebTest.h.

◆ getRunLV()

std::string getRunLV ( ) const
inline

Return LV test number.

Returns
LV test number

Definition at line 226 of file ARICHFebTest.h.

◆ getRunSlowC()

std::string getRunSlowC ( ) const
inline

Return slow control number.

Returns
slow control number

Definition at line 81 of file ARICHFebTest.h.

◆ getSlopeFine()

float getSlopeFine ( unsigned int  i) const

Return slope[mV/offset step] for i-th channel (fine settings)

Parameters
iFEB channel number
Returns
slope[mV/offset step]

Definition at line 26 of file ARICHFebTest.cc.

◆ getSlopeRough()

float getSlopeRough ( unsigned int  i) const

Return slope[mV/offset step] for i-th channel (rough settings)

Parameters
iFEB channel number
Returns
slope[mV/offset step]

Definition at line 20 of file ARICHFebTest.cc.

◆ getSlopesFineSize()

int getSlopesFineSize ( ) const
inline

Return size of the list of slopes (fine settings)

Returns
size

Definition at line 407 of file ARICHFebTest.h.

◆ getSlopesRoughSize()

int getSlopesRoughSize ( ) const
inline

Return size of the list of slopes (rough settings)

Returns
size

Definition at line 382 of file ARICHFebTest.h.

◆ getTemperature0()

float getTemperature0 ( ) const
inline

Return Temperature 0.

Returns
Temperature 0

Definition at line 101 of file ARICHFebTest.h.

◆ getTemperature1()

float getTemperature1 ( ) const
inline

Return Temperature 1.

Returns
Temperature 1

Definition at line 111 of file ARICHFebTest.h.

◆ getTestPulse2D()

TH2F* getTestPulse2D ( ) const
inline

Return test pulse.

Returns
2D test pulse

Definition at line 327 of file ARICHFebTest.h.

◆ getTimeHV()

TTimeStamp getTimeHV ( ) const
inline

Return Test date (HV test)

Returns
Test date (HV test)

Definition at line 281 of file ARICHFebTest.h.

◆ getTimeLV()

TTimeStamp getTimeLV ( ) const
inline

Return Test date (LV test)

Returns
Test date (LV test)

Definition at line 231 of file ARICHFebTest.h.

◆ getTimeSlowC()

TTimeStamp getTimeSlowC ( ) const
inline

Return Test date (slow control measurement)

Returns
Test date (slow control measurement)

Definition at line 91 of file ARICHFebTest.h.

◆ getV2n()

float getV2n ( ) const
inline

Return Voltage - (-2.0) V.

Returns
Voltage - (-2.0) V

Definition at line 141 of file ARICHFebTest.h.

◆ getV2p()

float getV2p ( ) const
inline

Return Voltage - (+2.0) V.

Returns
Voltage - (+2.0) V

Definition at line 131 of file ARICHFebTest.h.

◆ getV38p()

float getV38p ( ) const
inline

Return Voltage - (+3.8) V.

Returns
Voltage - (+3.8) V

Definition at line 211 of file ARICHFebTest.h.

◆ getVcc12()

float getVcc12 ( ) const
inline

Return Voltage - supply voltage 1.2 V.

Returns
Voltage - supply voltage 1.2 V

Definition at line 181 of file ARICHFebTest.h.

◆ getVcc15()

float getVcc15 ( ) const
inline

Return Voltage - supply voltage 1.5 V.

Returns
Voltage - supply voltage 1.5 V

Definition at line 191 of file ARICHFebTest.h.

◆ getVcc25()

float getVcc25 ( ) const
inline

Return Voltage - supply voltage 2.5 V.

Returns
Voltage - supply voltage 2.5 V

Definition at line 201 of file ARICHFebTest.h.

◆ getVdd()

float getVdd ( ) const
inline

Return Voltage - positive supply voltage.

Returns
Voltage - positive supply voltage

Definition at line 121 of file ARICHFebTest.h.

◆ getVss()

float getVss ( ) const
inline

Return Voltage - negative supply voltage.

Returns
Voltage - negative supply voltage

Definition at line 151 of file ARICHFebTest.h.

◆ getVth1()

float getVth1 ( ) const
inline

Return Voltage - threshold voltage 1.

Returns
Voltage - threshold voltage 1

Definition at line 161 of file ARICHFebTest.h.

◆ getVth2()

float getVth2 ( ) const
inline

Return Voltage - threshold voltage 1.

Returns
Voltage - threshold voltage 1

Definition at line 171 of file ARICHFebTest.h.

◆ setComment()

void setComment ( const std::string &  comment)
inline

Set comment.

Parameters
comment

Definition at line 451 of file ARICHFebTest.h.

◆ setCurrentV20p()

void setCurrentV20p ( float  currentV20p)
inline

Set current at voltage (+2.0) V.

Parameters
currentat voltage (+2.0) V

Definition at line 246 of file ARICHFebTest.h.

◆ setCurrentV21n()

void setCurrentV21n ( float  currentV21n)
inline

Set current at voltage (-2.0) V.

Parameters
currentat voltage (-2.0) V

Definition at line 256 of file ARICHFebTest.h.

◆ setCurrentV38p()

void setCurrentV38p ( float  currentV38p)
inline

Set current at voltage (+3.8) V.

Parameters
currentat voltage (+3.8) V

Definition at line 266 of file ARICHFebTest.h.

◆ setCurrentV99p()

void setCurrentV99p ( float  currentV99p)
inline

Set current at voltage (+99) V.

Parameters
currentat voltage (+99) V

Definition at line 296 of file ARICHFebTest.h.

◆ setDeadChannels()

void setDeadChannels ( const std::vector< int > &  deadChannels)
inline

Set vector of dead channel numbers.

Parameters
channelFEB channel id

Definition at line 315 of file ARICHFebTest.h.

◆ setFebDna()

void setFebDna ( const std::string &  dna)
inline

Set FEB dna number.

Parameters
FEBdna number

Definition at line 86 of file ARICHFebTest.h.

◆ setFebSerial()

void setFebSerial ( int  serial)
inline

Set FEB serial number.

Parameters
FEBserial number

Definition at line 66 of file ARICHFebTest.h.

◆ setFWHM()

void setFWHM ( const std::vector< std::pair< float, float >> &  fwhm)
inline

Set vector of FWHM values&sigma.

Parameters
vectorof FWHM values&sigma

Definition at line 426 of file ARICHFebTest.h.

◆ setOffsetFine3D()

void setOffsetFine3D ( TH3F *  offsetFine)
inline

Set threshold scans with fine offset settings.

Parameters
3Dthreshold scans with fine offset settings

Definition at line 357 of file ARICHFebTest.h.

◆ setOffsetRough3D()

void setOffsetRough3D ( TH3F *  offsetRough)
inline

Set threshold scans with rough offset settings.

Parameters
3Dthreshold scans with rough offset settings

Definition at line 345 of file ARICHFebTest.h.

◆ setRunHV()

void setRunHV ( const std::string &  runHV)
inline

Set HV test run number.

Parameters
HVtest run number

Definition at line 271 of file ARICHFebTest.h.

◆ setRunLV()

void setRunLV ( const std::string &  runLV)
inline

Set LV test run number.

Parameters
LVtest run number

Definition at line 221 of file ARICHFebTest.h.

◆ setRunSlowC()

void setRunSlowC ( const std::string &  runSlowC)
inline

Set slow control run number.

Parameters
slowcontrol run number

Definition at line 76 of file ARICHFebTest.h.

◆ setSlopesFine()

void setSlopesFine ( const std::vector< float > &  slopesFine)
inline

Set vector of slopes (fine settings)

Parameters
vectorof slopes[mV/offset step]

Definition at line 401 of file ARICHFebTest.h.

◆ setSlopesRough()

void setSlopesRough ( const std::vector< float > &  slopesRough)
inline

Set vector of slopes (rough settings)

Parameters
vectorof slopes[mV/offset step]

Definition at line 376 of file ARICHFebTest.h.

◆ setTemperature0()

void setTemperature0 ( float  tmon0)
inline

Set Temperature 0.

Parameters
Temperature0

Definition at line 106 of file ARICHFebTest.h.

◆ setTemperature1()

void setTemperature1 ( float  tmon1)
inline

Set Temperature 1.

Parameters
Temperature1

Definition at line 116 of file ARICHFebTest.h.

◆ setTestPulse2D()

void setTestPulse2D ( TH2F *  testPulse)
inline

Set test pulse.

Parameters
2Dtest pulse

Definition at line 333 of file ARICHFebTest.h.

◆ setTimeHV()

void setTimeHV ( TTimeStamp  timeHV)
inline

Set Test date (HV test)

Parameters
Testdate (HV test)

Definition at line 286 of file ARICHFebTest.h.

◆ setTimeLV()

void setTimeLV ( TTimeStamp  timeLV)
inline

Set Test date (LV test)

Parameters
Testdate (LV test)

Definition at line 236 of file ARICHFebTest.h.

◆ setTimeSlowC()

void setTimeSlowC ( TTimeStamp  timeSlowC)
inline

Set Test date (slow control measurement)

Parameters
Testdate (slow control measurement)

Definition at line 96 of file ARICHFebTest.h.

◆ setV2n()

void setV2n ( float  v2n)
inline

Set Voltage - (-2.0) V.

Parameters
Voltage- (-2.0) V

Definition at line 146 of file ARICHFebTest.h.

◆ setV2p()

void setV2p ( float  v2p)
inline

Set Voltage - (+2.0) V.

Parameters
Voltage- (+2.0) V

Definition at line 136 of file ARICHFebTest.h.

◆ setV38p()

void setV38p ( float  v38p)
inline

Set Voltage - (+3.8) V.

Parameters
Voltage- (+3.8) V

Definition at line 216 of file ARICHFebTest.h.

◆ setVcc12()

void setVcc12 ( float  vcc12)
inline

Set Voltage - supply voltage 1.2 V.

Parameters
Voltage- supply voltage 1.2 V

Definition at line 186 of file ARICHFebTest.h.

◆ setVcc15()

void setVcc15 ( float  vcc15)
inline

Set Voltage - supply voltage 1.5 V.

Parameters
Voltage- supply voltage 1.5 V

Definition at line 196 of file ARICHFebTest.h.

◆ setVcc25()

void setVcc25 ( float  vcc25)
inline

Set Voltage - supply voltage 2.5 V.

Parameters
Voltage- supply voltage 2.5 V

Definition at line 206 of file ARICHFebTest.h.

◆ setVdd()

void setVdd ( float  vdd)
inline

Set Voltage - positive supply voltage.

Parameters
Voltage- positive supply voltage

Definition at line 126 of file ARICHFebTest.h.

◆ setVss()

void setVss ( float  vss)
inline

Set Voltage - negative supply voltage.

Parameters
Voltage- negative supply voltage

Definition at line 156 of file ARICHFebTest.h.

◆ setVth1()

void setVth1 ( float  vth1)
inline

Set Voltage - threshold voltage 1.

Parameters
Voltage- threshold voltage 1

Definition at line 166 of file ARICHFebTest.h.

◆ setVth2()

void setVth2 ( float  vth2)
inline

Set Voltage - threshold voltage 1.

Parameters
Voltage- threshold voltage 1

Definition at line 176 of file ARICHFebTest.h.


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