00001 #ifndef PixelFECParameters_h 00002 #define PixelFECParameters_h 00003 00010 #include <iostream> 00011 #include <vector> 00012 #include <string> 00013 00014 namespace pos{ 00020 class PixelFECParameters { 00021 public: 00022 00023 PixelFECParameters(); 00024 ~PixelFECParameters(); 00025 00026 unsigned int getFECNumber() const; 00027 unsigned int getCrate() const; 00028 unsigned int getVMEBaseAddress() const; 00029 void setFECParameters( unsigned int fecnumber , unsigned int crate , unsigned int vmebaseaddress); 00030 void setFECNumber(unsigned int fecnumber); 00031 void setCrate(unsigned int crate); 00032 void setVMEBaseAddress(unsigned int vmebaseaddress) ; 00033 friend std::ostream& pos::operator <<(std::ostream& s,const PixelFECParameters &pFECp); 00034 private : 00035 00036 unsigned int fecnumber_; 00037 unsigned int crate_; 00038 unsigned int vmebaseaddress_; 00039 00040 }; 00041 } 00042 #endif