Public Member Functions | Private Attributes | List of all members
dbutils::daqconfig::ASICRegisterValueSet Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/DatabaseUtils/cxx/include/DAQConfig/ASICRegisterValueSet.h"

Public Member Functions

 ASICRegisterValueSet (int16_t spareValue, int16_t vtselValue, int16_t refselValue, int16_t iselValue, int16_t bwselValue, int16_t gselValue, int16_t tfselValue, int16_t mux2to1Value, int16_t mux8to1Value, int32_t qInjPixelMask)
 
int16_t getSpareValue ()
 
int16_t getVtSelValue ()
 
int16_t getRefSelValue ()
 
int16_t getISelValue ()
 
int16_t getBWSelValue ()
 
int16_t getGSelValue ()
 
int16_t getTfSelValue ()
 
int16_t getMux2to1Value ()
 
int16_t getMux8to1Value ()
 
int32_t getQInjPixelMask ()
 
bool operator== (const ASICRegisterValueSet &other)
 
bool operator!= (const ASICRegisterValueSet &other)
 

Private Attributes

int16_t _spareValue
 
int16_t _vtselValue
 
int16_t _refselValue
 
int16_t _iselValue
 
int16_t _bwselValue
 
int16_t _gselValue
 
int16_t _tfselValue
 
int16_t _mux2to1Value
 
int16_t _mux8to1Value
 
int32_t _qInjPixelMask
 

Detailed Description

Simple container class for a set of ASIC register values.

Author
Kurt Biery
Version
Revision
1.3.38.1
Date
2019/09/27 00:07:03

Definition at line 16 of file ASICRegisterValueSet.h.

Constructor & Destructor Documentation

dbutils::daqconfig::ASICRegisterValueSet::ASICRegisterValueSet ( int16_t  spareValue,
int16_t  vtselValue,
int16_t  refselValue,
int16_t  iselValue,
int16_t  bwselValue,
int16_t  gselValue,
int16_t  tfselValue,
int16_t  mux2to1Value,
int16_t  mux8to1Value,
int32_t  qInjPixelMask 
)

Creates a set from the specified values.

Definition at line 10 of file ASICRegisterValueSet.cpp.

References operator==().

Member Function Documentation

int16_t dbutils::daqconfig::ASICRegisterValueSet::getBWSelValue ( )
inline

Definition at line 38 of file ASICRegisterValueSet.h.

References _bwselValue.

int16_t dbutils::daqconfig::ASICRegisterValueSet::getGSelValue ( )
inline

Definition at line 39 of file ASICRegisterValueSet.h.

References _gselValue.

int16_t dbutils::daqconfig::ASICRegisterValueSet::getISelValue ( )
inline

Definition at line 37 of file ASICRegisterValueSet.h.

References _iselValue.

int16_t dbutils::daqconfig::ASICRegisterValueSet::getMux2to1Value ( )
inline

Definition at line 41 of file ASICRegisterValueSet.h.

References _mux2to1Value.

int16_t dbutils::daqconfig::ASICRegisterValueSet::getMux8to1Value ( )
inline

Definition at line 42 of file ASICRegisterValueSet.h.

References _mux8to1Value.

int32_t dbutils::daqconfig::ASICRegisterValueSet::getQInjPixelMask ( )
inline
int16_t dbutils::daqconfig::ASICRegisterValueSet::getRefSelValue ( )
inline

Definition at line 36 of file ASICRegisterValueSet.h.

References _refselValue.

int16_t dbutils::daqconfig::ASICRegisterValueSet::getSpareValue ( )
inline

Definition at line 34 of file ASICRegisterValueSet.h.

References _spareValue.

int16_t dbutils::daqconfig::ASICRegisterValueSet::getTfSelValue ( )
inline

Definition at line 40 of file ASICRegisterValueSet.h.

References _tfselValue.

int16_t dbutils::daqconfig::ASICRegisterValueSet::getVtSelValue ( )
inline

Definition at line 35 of file ASICRegisterValueSet.h.

References _vtselValue.

bool dbutils::daqconfig::ASICRegisterValueSet::operator!= ( const ASICRegisterValueSet other)

Tests if the specified set is not equal to this one.

Definition at line 45 of file ASICRegisterValueSet.cpp.

References fhicl::other.

Referenced by getQInjPixelMask(), and operator==().

46 {
47  return !(*this==other);
48 }
bool dbutils::daqconfig::ASICRegisterValueSet::operator== ( const ASICRegisterValueSet other)

Tests if the specified set is equal to this one.

Definition at line 27 of file ASICRegisterValueSet.cpp.

References _bwselValue, _gselValue, _iselValue, _mux2to1Value, _mux8to1Value, _qInjPixelMask, _refselValue, _spareValue, _tfselValue, _vtselValue, and operator!=().

Referenced by ASICRegisterValueSet(), and getQInjPixelMask().

28 {
29  return (other._spareValue == this->_spareValue &&
30  other._vtselValue == this->_vtselValue &&
31  other._refselValue == this->_refselValue &&
32  other._iselValue == this->_iselValue &&
33  other._bwselValue == this->_bwselValue &&
34  other._gselValue == this->_gselValue &&
35  other._tfselValue == this->_tfselValue &&
36  other._mux2to1Value == this->_mux2to1Value &&
37  other._mux8to1Value == this->_mux8to1Value &&
38  other._qInjPixelMask == this->_qInjPixelMask);
39 }

Member Data Documentation

int16_t dbutils::daqconfig::ASICRegisterValueSet::_bwselValue
private

Definition at line 58 of file ASICRegisterValueSet.h.

Referenced by getBWSelValue(), and operator==().

int16_t dbutils::daqconfig::ASICRegisterValueSet::_gselValue
private

Definition at line 59 of file ASICRegisterValueSet.h.

Referenced by getGSelValue(), and operator==().

int16_t dbutils::daqconfig::ASICRegisterValueSet::_iselValue
private

Definition at line 57 of file ASICRegisterValueSet.h.

Referenced by getISelValue(), and operator==().

int16_t dbutils::daqconfig::ASICRegisterValueSet::_mux2to1Value
private

Definition at line 61 of file ASICRegisterValueSet.h.

Referenced by getMux2to1Value(), and operator==().

int16_t dbutils::daqconfig::ASICRegisterValueSet::_mux8to1Value
private

Definition at line 62 of file ASICRegisterValueSet.h.

Referenced by getMux8to1Value(), and operator==().

int32_t dbutils::daqconfig::ASICRegisterValueSet::_qInjPixelMask
private

Definition at line 63 of file ASICRegisterValueSet.h.

Referenced by getQInjPixelMask(), and operator==().

int16_t dbutils::daqconfig::ASICRegisterValueSet::_refselValue
private

Definition at line 56 of file ASICRegisterValueSet.h.

Referenced by getRefSelValue(), and operator==().

int16_t dbutils::daqconfig::ASICRegisterValueSet::_spareValue
private

Definition at line 54 of file ASICRegisterValueSet.h.

Referenced by getSpareValue(), and operator==().

int16_t dbutils::daqconfig::ASICRegisterValueSet::_tfselValue
private

Definition at line 60 of file ASICRegisterValueSet.h.

Referenced by getTfSelValue(), and operator==().

int16_t dbutils::daqconfig::ASICRegisterValueSet::_vtselValue
private

Definition at line 55 of file ASICRegisterValueSet.h.

Referenced by getVtSelValue(), and operator==().


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