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 }
pos::PixelFEDParameters::fednumber_
unsigned int fednumber_
Definition: PixelFEDParameters.h:37
pos::PixelFEDParameters::vmebaseaddress_
unsigned int vmebaseaddress_
Definition: PixelFEDParameters.h:39
pos
Definition: PixelAliasList.h:18
pos::PixelFEDParameters::getCrate
unsigned int getCrate() const
Definition: PixelFEDParameters.cc:16
pos::PixelFEDParameters
This class implements..
Definition: PixelFEDParameters.h:22
pos::PixelFEDParameters::setFEDParameters
void setFEDParameters(unsigned int fednumber, unsigned int crate, unsigned int vmebaseaddress)
Definition: PixelFEDParameters.cc:20
alignCSCRings.s
s
Definition: alignCSCRings.py:92
PixelFEDParameters.h
This class implements..
pos::PixelFEDParameters::setFEDNumber
void setFEDNumber(unsigned int fednumber)
Definition: PixelFEDParameters.cc:26
pos::PixelFEDParameters::~PixelFEDParameters
~PixelFEDParameters()
Definition: PixelFEDParameters.cc:12
pos::operator<<
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
Definition: PixelCalibConfiguration.cc:1325
pos::PixelFEDParameters::setCrate
void setCrate(unsigned int crate)
Definition: PixelFEDParameters.cc:28
pos::PixelFEDParameters::PixelFEDParameters
PixelFEDParameters()
Definition: PixelFEDParameters.cc:6
pos::PixelFEDParameters::getFEDNumber
unsigned int getFEDNumber() const
Definition: PixelFEDParameters.cc:14
pos::PixelFEDParameters::setVMEBaseAddress
void setVMEBaseAddress(unsigned int vmebaseaddress)
Definition: PixelFEDParameters.cc:30
pos::PixelFEDParameters::getVMEBaseAddress
unsigned int getVMEBaseAddress() const
Definition: PixelFEDParameters.cc:18
pos::PixelFEDParameters::crate_
unsigned int crate_
Definition: PixelFEDParameters.h:38