00001 #ifndef PixelFEDParameters_h 00002 #define PixelFEDParameters_h 00003 00011 #include <iosfwd> 00012 00013 namespace pos{ 00019 class PixelFEDParameters { 00020 00021 public: 00022 00023 PixelFEDParameters(); 00024 ~PixelFEDParameters(); 00025 00026 unsigned int getFEDNumber() const; 00027 unsigned int getCrate() const; 00028 unsigned int getVMEBaseAddress() const; 00029 void setFEDParameters( unsigned int fednumber , unsigned int crate , unsigned int vmebaseaddress); 00030 void setFEDNumber(unsigned int fednumber); 00031 void setCrate(unsigned int crate); 00032 void setVMEBaseAddress(unsigned int vmebaseaddress) ; 00033 friend std::ostream& pos::operator <<(std::ostream& s,const PixelFEDParameters &pFEDp); 00034 private : 00035 00036 unsigned int fednumber_; 00037 unsigned int crate_; 00038 unsigned int vmebaseaddress_; 00039 00040 }; 00041 std::ostream& operator <<(std::ostream& s ,const PixelFEDParameters &pFEDp); 00042 } 00043 #endif