CMS 3D CMS Logo

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