test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelFECParameters.cc
Go to the documentation of this file.
2 #include <ostream>
3 
4 
5 using namespace pos;
6 
8 {
9 fecnumber_=0;
10 crate_=0;
12 
13 }
14 
16 {
17 
18 }
19 
20 
21 unsigned int PixelFECParameters::getFECNumber() const{
22 
23 
24  return fecnumber_;
25 
26 }
27 
28 
29 unsigned int PixelFECParameters::getCrate() const{
30 
31 
32  return crate_;
33 
34 }
35 
36 
38 
39 
40  return vmebaseaddress_;
41 
42 }
43 
44 void PixelFECParameters::setFECParameters( unsigned int fecnumber , unsigned int crate , unsigned int vmebaseaddress){
45 
46 fecnumber_ = fecnumber;
47 crate_ = crate;
48 vmebaseaddress_ =vmebaseaddress;
49 
50 }
51 
52 void PixelFECParameters::setFECNumber(unsigned int fecnumber) {
53 
54 fecnumber_ = fecnumber;
55 
56 }
57 
58 
59 void PixelFECParameters::setCrate(unsigned int crate) {
60 
61 crate_=crate;
62 
63 }
64 
65 void PixelFECParameters::setVMEBaseAddress(unsigned int vmebaseaddress){
66 
67 vmebaseaddress_=vmebaseaddress;
68 
69 }
70 
71 std::ostream& pos::operator <<(std::ostream& s ,const PixelFECParameters &pFECp){
72 
73 s <<"FEC Number:"<<pFECp.fecnumber_<<std::endl;
74 s <<"Crate Number:"<<pFECp.crate_<<std::endl;
75 s <<"VME Base Address:"<<pFECp.vmebaseaddress_<<std::endl;
76 
77 return s;
78 
79 }
80 
81 
82 
void setCrate(unsigned int crate)
This class implements..
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)
unsigned int getVMEBaseAddress() const