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