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