File indexing completed on 2024-04-06 11:58:12
0001 #ifndef PixelFECParameters_h
0002 #define PixelFECParameters_h
0003
0004
0005
0006
0007
0008
0009
0010 #include <iosfwd>
0011
0012 namespace pos {
0013
0014
0015
0016
0017
0018
0019 class PixelFECParameters;
0020 std::ostream& operator<<(std::ostream& s, const PixelFECParameters& pFECp);
0021
0022 class PixelFECParameters {
0023 public:
0024 PixelFECParameters();
0025 ~PixelFECParameters();
0026
0027 unsigned int getFECNumber() const;
0028 unsigned int getCrate() const;
0029 unsigned int getVMEBaseAddress() const;
0030 void setFECParameters(unsigned int fecnumber, unsigned int crate, unsigned int vmebaseaddress);
0031 void setFECNumber(unsigned int fecnumber);
0032 void setCrate(unsigned int crate);
0033 void setVMEBaseAddress(unsigned int vmebaseaddress);
0034 friend std::ostream& pos::operator<<(std::ostream& s, const PixelFECParameters& pFECp);
0035
0036 private:
0037 unsigned int fecnumber_;
0038 unsigned int crate_;
0039 unsigned int vmebaseaddress_;
0040 };
0041 }
0042 #endif