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

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

Public Member Functions

 FEBPulserParameterSet (int16_t pulserEnable, int32_t pulserPeriod, int32_t pulserWidth)
 
int16_t getPulserEnable ()
 
int32_t getPulserPeriod ()
 
int32_t getPulserWidth ()
 
bool operator== (const FEBPulserParameterSet &other)
 
bool operator!= (const FEBPulserParameterSet &other)
 

Private Attributes

int16_t _pulserEnable
 
int32_t _pulserPeriod
 
int32_t _pulserWidth
 

Detailed Description

Simple container class for a set of FEB pulser parameter values.

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

Definition at line 16 of file FEBPulserParameterSet.h.

Constructor & Destructor Documentation

dbutils::daqconfig::FEBPulserParameterSet::FEBPulserParameterSet ( int16_t  pulserEnable,
int32_t  pulserPeriod,
int32_t  pulserWidth 
)

Creates a set from the specified values.

Definition at line 10 of file FEBPulserParameterSet.cpp.

References operator==().

Member Function Documentation

int16_t dbutils::daqconfig::FEBPulserParameterSet::getPulserEnable ( )
inline

Definition at line 31 of file FEBPulserParameterSet.h.

References _pulserEnable.

int32_t dbutils::daqconfig::FEBPulserParameterSet::getPulserPeriod ( )
inline

Definition at line 32 of file FEBPulserParameterSet.h.

References _pulserPeriod.

int32_t dbutils::daqconfig::FEBPulserParameterSet::getPulserWidth ( )
inline
bool dbutils::daqconfig::FEBPulserParameterSet::operator!= ( const FEBPulserParameterSet other)

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

Definition at line 32 of file FEBPulserParameterSet.cpp.

References fhicl::other.

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

33 {
34  return !(*this==other);
35 }
bool dbutils::daqconfig::FEBPulserParameterSet::operator== ( const FEBPulserParameterSet other)

Tests if the specified set is equal to this one.

Definition at line 21 of file FEBPulserParameterSet.cpp.

References _pulserEnable, _pulserPeriod, _pulserWidth, and operator!=().

Referenced by FEBPulserParameterSet(), and getPulserWidth().

22 {
23  return (other._pulserEnable == this->_pulserEnable &&
24  other._pulserPeriod == this->_pulserPeriod &&
25  other._pulserWidth == this->_pulserWidth);
26 }

Member Data Documentation

int16_t dbutils::daqconfig::FEBPulserParameterSet::_pulserEnable
private

Definition at line 44 of file FEBPulserParameterSet.h.

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

int32_t dbutils::daqconfig::FEBPulserParameterSet::_pulserPeriod
private

Definition at line 45 of file FEBPulserParameterSet.h.

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

int32_t dbutils::daqconfig::FEBPulserParameterSet::_pulserWidth
private

Definition at line 46 of file FEBPulserParameterSet.h.

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


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