CMS 3D CMS Logo

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