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