CMS 3D CMS Logo

PixelFECParameters.cc
Go to the documentation of this file.
2 #include <ostream>
3 
4 using namespace pos;
5 
7  fecnumber_ = 0;
8  crate_ = 0;
9  vmebaseaddress_ = 0;
10 }
11 
13 
14 unsigned int PixelFECParameters::getFECNumber() const { return fecnumber_; }
15 
16 unsigned int PixelFECParameters::getCrate() const { return crate_; }
17 
19 
20 void PixelFECParameters::setFECParameters(unsigned int fecnumber, unsigned int crate, unsigned int vmebaseaddress) {
21  fecnumber_ = fecnumber;
22  crate_ = crate;
23  vmebaseaddress_ = vmebaseaddress;
24 }
25 
26 void PixelFECParameters::setFECNumber(unsigned int fecnumber) { fecnumber_ = fecnumber; }
27 
29 
30 void PixelFECParameters::setVMEBaseAddress(unsigned int vmebaseaddress) { vmebaseaddress_ = vmebaseaddress; }
31 
32 std::ostream& pos::operator<<(std::ostream& s, const PixelFECParameters& pFECp) {
33  s << "FEC Number:" << pFECp.fecnumber_ << std::endl;
34  s << "Crate Number:" << pFECp.crate_ << std::endl;
35  s << "VME Base Address:" << pFECp.vmebaseaddress_ << std::endl;
36 
37  return s;
38 }
void setCrate(unsigned int crate)
This class implements..
unsigned int getVMEBaseAddress() const
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
This class implements..
unsigned int getFECNumber() const
void setVMEBaseAddress(unsigned int vmebaseaddress)
void setFECNumber(unsigned int fecnumber)
unsigned int getCrate() const
void setFECParameters(unsigned int fecnumber, unsigned int crate, unsigned int vmebaseaddress)