All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
util::UBDaqID Class Reference

#include <DatabaseUtil.h>

Public Member Functions

 UBDaqID ()
 
 UBDaqID (int _crate, int _card, int _channel)
 
 ~UBDaqID ()
 
const bool operator< (const UBDaqID &rhs) const
 

Public Attributes

int crate
 
int card
 
int channel
 

Detailed Description

Definition at line 21 of file DatabaseUtil.h.

Constructor & Destructor Documentation

util::UBDaqID::UBDaqID ( )
inline

Definition at line 23 of file DatabaseUtil.h.

23 : crate(-1), card(-1), channel(-1) {};
util::UBDaqID::UBDaqID ( int  _crate,
int  _card,
int  _channel 
)
inline

Definition at line 24 of file DatabaseUtil.h.

24  :
25  crate(_crate), card(_card), channel(_channel) {};
util::UBDaqID::~UBDaqID ( )
inline

Definition at line 26 of file DatabaseUtil.h.

26 {};

Member Function Documentation

const bool util::UBDaqID::operator< ( const UBDaqID rhs) const
inline

Definition at line 32 of file DatabaseUtil.h.

32  {
33  bool is_less=false;
34  if (this->crate == rhs.crate &&
35  this->card == rhs.card &&
36  this->channel < rhs.channel) is_less=true;
37  else if (this->crate == rhs.crate &&
38  this->card < rhs.card) is_less=true;
39  else if (this->crate < rhs.crate) is_less=true;
40  return is_less;
41  }
createEngine this

Member Data Documentation

int util::UBDaqID::card

Definition at line 29 of file DatabaseUtil.h.

int util::UBDaqID::channel

Definition at line 30 of file DatabaseUtil.h.

int util::UBDaqID::crate

Definition at line 26 of file DatabaseUtil.h.


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