CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/CalibFormats/SiPixelObjects/interface/PixelFECParameters.h

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