#include <interface/PixelFEDParameters.h>
Public Member Functions | |
unsigned int | getCrate () const |
unsigned int | getFEDNumber () const |
unsigned int | getVMEBaseAddress () const |
PixelFEDParameters () | |
void | setCrate (unsigned int crate) |
void | setFEDNumber (unsigned int fednumber) |
void | setFEDParameters (unsigned int fednumber, unsigned int crate, unsigned int vmebaseaddress) |
void | setVMEBaseAddress (unsigned int vmebaseaddress) |
~PixelFEDParameters () | |
Private Attributes | |
unsigned int | crate_ |
unsigned int | fednumber_ |
unsigned int | vmebaseaddress_ |
Friends | |
std::ostream & | operator<< (std::ostream &s, const PixelFEDParameters &pFEDp) |
A longer explanation will be placed here later
Definition at line 21 of file PixelFEDParameters.h.
PixelFEDParameters::PixelFEDParameters | ( | ) |
Definition at line 7 of file PixelFEDParameters.cc.
References crate_, fednumber_, and vmebaseaddress_.
00008 { 00009 fednumber_=0; 00010 crate_=0; 00011 vmebaseaddress_=0; 00012 00013 }
PixelFEDParameters::~PixelFEDParameters | ( | ) |
unsigned int PixelFEDParameters::getCrate | ( | ) | const |
Definition at line 29 of file PixelFEDParameters.cc.
References crate_.
00029 { 00030 00031 00032 return crate_; 00033 00034 }
unsigned int PixelFEDParameters::getFEDNumber | ( | ) | const |
Definition at line 21 of file PixelFEDParameters.cc.
References fednumber_.
00021 { 00022 00023 00024 return fednumber_; 00025 00026 }
unsigned int PixelFEDParameters::getVMEBaseAddress | ( | ) | const |
Definition at line 37 of file PixelFEDParameters.cc.
References vmebaseaddress_.
00037 { 00038 00039 00040 return vmebaseaddress_; 00041 00042 }
Definition at line 59 of file PixelFEDParameters.cc.
References crate_.
00059 { 00060 00061 crate_=crate; 00062 00063 }
Definition at line 52 of file PixelFEDParameters.cc.
References fednumber_.
00052 { 00053 00054 fednumber_ = fednumber; 00055 00056 }
void PixelFEDParameters::setFEDParameters | ( | unsigned int | fednumber, | |
unsigned int | crate, | |||
unsigned int | vmebaseaddress | |||
) |
Definition at line 44 of file PixelFEDParameters.cc.
References crate_, fednumber_, and vmebaseaddress_.
Referenced by pos::PixelFEDConfig::PixelFEDConfig().
00044 { 00045 00046 fednumber_ = fednumber; 00047 crate_ = crate; 00048 vmebaseaddress_ =vmebaseaddress; 00049 00050 }
Definition at line 65 of file PixelFEDParameters.cc.
References vmebaseaddress_.
00065 { 00066 00067 vmebaseaddress_=vmebaseaddress; 00068 00069 }
std::ostream& operator<< | ( | std::ostream & | s, | |
const PixelFEDParameters & | pFEDp | |||
) | [friend] |
Definition at line 71 of file PixelFEDParameters.cc.
00071 { 00072 00073 s <<"FED Number:"<<pFEDp.fednumber_<<std::endl; 00074 s <<"Crate Number:"<<pFEDp.crate_<<std::endl; 00075 s <<"VME Base Address:"<<pFEDp.vmebaseaddress_<<std::endl; 00076 00077 return s; 00078 00079 }
unsigned int pos::PixelFEDParameters::crate_ [private] |
Definition at line 39 of file PixelFEDParameters.h.
Referenced by getCrate(), pos::operator<<(), PixelFEDParameters(), setCrate(), and setFEDParameters().
unsigned int pos::PixelFEDParameters::fednumber_ [private] |
Definition at line 38 of file PixelFEDParameters.h.
Referenced by getFEDNumber(), pos::operator<<(), PixelFEDParameters(), setFEDNumber(), and setFEDParameters().
unsigned int pos::PixelFEDParameters::vmebaseaddress_ [private] |
Definition at line 40 of file PixelFEDParameters.h.
Referenced by getVMEBaseAddress(), pos::operator<<(), PixelFEDParameters(), setFEDParameters(), and setVMEBaseAddress().