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 
28 void PixelFECParameters::setCrate(unsigned int crate) { crate_ = crate; }
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 }
pos::PixelFECParameters::setFECNumber
void setFECNumber(unsigned int fecnumber)
Definition: PixelFECParameters.cc:26
pos::PixelFECParameters::~PixelFECParameters
~PixelFECParameters()
Definition: PixelFECParameters.cc:12
pos
Definition: PixelAliasList.h:18
pos::PixelFECParameters::setFECParameters
void setFECParameters(unsigned int fecnumber, unsigned int crate, unsigned int vmebaseaddress)
Definition: PixelFECParameters.cc:20
pos::PixelFECParameters::fecnumber_
unsigned int fecnumber_
Definition: PixelFECParameters.h:37
alignCSCRings.s
s
Definition: alignCSCRings.py:92
pos::PixelFECParameters::getVMEBaseAddress
unsigned int getVMEBaseAddress() const
Definition: PixelFECParameters.cc:18
pos::PixelFECParameters::setVMEBaseAddress
void setVMEBaseAddress(unsigned int vmebaseaddress)
Definition: PixelFECParameters.cc:30
pos::PixelFECParameters::getFECNumber
unsigned int getFECNumber() const
Definition: PixelFECParameters.cc:14
pos::PixelFECParameters::vmebaseaddress_
unsigned int vmebaseaddress_
Definition: PixelFECParameters.h:39
pos::PixelFECParameters::crate_
unsigned int crate_
Definition: PixelFECParameters.h:38
pos::operator<<
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
Definition: PixelCalibConfiguration.cc:1325
pos::PixelFECParameters::setCrate
void setCrate(unsigned int crate)
Definition: PixelFECParameters.cc:28
pos::PixelFECParameters::getCrate
unsigned int getCrate() const
Definition: PixelFECParameters.cc:16
pos::PixelFECParameters
This class implements..
Definition: PixelFECParameters.h:22
PixelFECParameters.h
This class implements..
pos::PixelFECParameters::PixelFECParameters
PixelFECParameters()
Definition: PixelFECParameters.cc:6