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

Contains fractions of dead times measured in a magnet. More...

#include <ARICHMagnetTest.h>

Inheritance diagram for ARICHMagnetTest:
Collaboration diagram for ARICHMagnetTest:

Public Member Functions

 ARICHMagnetTest ()
 Default constructor.
 
 ~ARICHMagnetTest ()
 Destructor.
 
std::string getSerialNumber () const
 Return HAPD Serial Number. More...
 
void setSerialNumber (const std::string &serial)
 Set HAPD Serial Number. More...
 
float getDeadTime (unsigned int i) const
 Return dead time fraction of i-th measurement. More...
 
void appendDeadTime (float deadtime)
 Add a dead time fraction. More...
 
void setDeadTime (const std::vector< float > &deadTime)
 Set results of all measurements. More...
 
int getDeadTimeSize () const
 Return size of the list of dead time fractions. More...
 
float getDeadTimeLowerA () const
 Return result of 10V lower voltage at chip A. More...
 
void setDeadTimeLowerA (float dead_lowerA)
 Set result of 10V lower voltage at chip A. More...
 
float getDeadTimeLowerB () const
 Return result of 10V lower voltage at chip B. More...
 
void setDeadTimeLowerB (float dead_lowerB)
 Set result of 10V lower voltage at chip B. More...
 
float getDeadTimeLowerC () const
 Return result of 10V lower voltage at chip C. More...
 
void setDeadTimeLowerC (float dead_lowerC)
 Set result of 10V lower voltage at chip C. More...
 
float getDeadTimeLowerD () const
 Return result of 10V lower voltage at chip D. More...
 
void setDeadTimeLowerD (float dead_lowerD)
 Set result of 10V lower voltage at chip D. More...
 
void setGetter (bool getter)
 Set getter reactivation. More...
 
bool getGetter () const
 Return getter reactivation. More...
 
void setComment (const std::string &comment)
 Set comment. More...
 
std::string getComment () const
 Return comment. More...
 

Private Member Functions

 ClassDef (ARICHMagnetTest, 1)
 ClassDef.
 

Private Attributes

std::string m_serial
 serial number of the sensor
 
std::vector< float > m_deadTime
 fraction of dead time at 1st test
 
float m_dead_lowerA
 fraction of dead time with 10V lower voltage at chip A
 
float m_dead_lowerB
 fraction of dead time with 10V lower voltage at chip B
 
float m_dead_lowerC
 fraction of dead time with 10V lower voltage at chip C
 
float m_dead_lowerD
 fraction of dead time with 10V lower voltage at chip D
 
bool m_getter
 Getter reactivation.
 
std::string m_comment
 Optional comment.
 

Detailed Description

Contains fractions of dead times measured in a magnet.

Definition at line 21 of file ARICHMagnetTest.h.

Member Function Documentation

◆ appendDeadTime()

void appendDeadTime ( float  deadtime)
inline

Add a dead time fraction.

Parameters
deadtime fraction

Definition at line 58 of file ARICHMagnetTest.h.

58 {m_deadTime.push_back(deadtime); }
std::vector< float > m_deadTime
fraction of dead time at 1st test

◆ getComment()

std::string getComment ( ) const
inline

Return comment.

Returns
comment

Definition at line 138 of file ARICHMagnetTest.h.

◆ getDeadTime()

float getDeadTime ( unsigned int  i) const

Return dead time fraction of i-th measurement.

Parameters
iindex of the element in the list
Returns
fraction of dead time

Definition at line 14 of file ARICHMagnetTest.cc.

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

◆ getDeadTimeLowerA()

float getDeadTimeLowerA ( ) const
inline

Return result of 10V lower voltage at chip A.

Returns
fraction of dead time

Definition at line 76 of file ARICHMagnetTest.h.

◆ getDeadTimeLowerB()

float getDeadTimeLowerB ( ) const
inline

Return result of 10V lower voltage at chip B.

Returns
fraction of dead time

Definition at line 88 of file ARICHMagnetTest.h.

◆ getDeadTimeLowerC()

float getDeadTimeLowerC ( ) const
inline

Return result of 10V lower voltage at chip C.

Returns
fraction of dead time

Definition at line 100 of file ARICHMagnetTest.h.

◆ getDeadTimeLowerD()

float getDeadTimeLowerD ( ) const
inline

Return result of 10V lower voltage at chip D.

Returns
fraction of dead time

Definition at line 112 of file ARICHMagnetTest.h.

◆ getDeadTimeSize()

int getDeadTimeSize ( ) const
inline

Return size of the list of dead time fractions.

Returns
size

Definition at line 70 of file ARICHMagnetTest.h.

◆ getGetter()

bool getGetter ( ) const
inline

Return getter reactivation.

Returns
getter reactivation

Definition at line 128 of file ARICHMagnetTest.h.

◆ getSerialNumber()

std::string getSerialNumber ( ) const
inline

Return HAPD Serial Number.

Returns
serial number

Definition at line 39 of file ARICHMagnetTest.h.

◆ setComment()

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

Set comment.

Parameters
comment

Definition at line 133 of file ARICHMagnetTest.h.

◆ setDeadTime()

void setDeadTime ( const std::vector< float > &  deadTime)
inline

Set results of all measurements.

Parameters
fractionof dead time

Definition at line 64 of file ARICHMagnetTest.h.

◆ setDeadTimeLowerA()

void setDeadTimeLowerA ( float  dead_lowerA)
inline

Set result of 10V lower voltage at chip A.

Parameters
fractionof dead time

Definition at line 82 of file ARICHMagnetTest.h.

◆ setDeadTimeLowerB()

void setDeadTimeLowerB ( float  dead_lowerB)
inline

Set result of 10V lower voltage at chip B.

Parameters
fractionof dead time

Definition at line 94 of file ARICHMagnetTest.h.

◆ setDeadTimeLowerC()

void setDeadTimeLowerC ( float  dead_lowerC)
inline

Set result of 10V lower voltage at chip C.

Parameters
fractionof dead time

Definition at line 106 of file ARICHMagnetTest.h.

◆ setDeadTimeLowerD()

void setDeadTimeLowerD ( float  dead_lowerD)
inline

Set result of 10V lower voltage at chip D.

Parameters
fractionof dead time

Definition at line 118 of file ARICHMagnetTest.h.

◆ setGetter()

void setGetter ( bool  getter)
inline

Set getter reactivation.

Parameters
getterreactivation

Definition at line 123 of file ARICHMagnetTest.h.

◆ setSerialNumber()

void setSerialNumber ( const std::string &  serial)
inline

Set HAPD Serial Number.

Parameters
serialserial number

Definition at line 45 of file ARICHMagnetTest.h.


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