CMS 3D CMS Logo

PixelFEDParameters.h
Go to the documentation of this file.
1 #ifndef PixelFEDParameters_h
2 #define PixelFEDParameters_h
3 
11 #include <iosfwd>
12 
13 namespace pos {
19  class PixelFEDParameters;
20  std::ostream& operator<<(std::ostream& s, const PixelFEDParameters& pFEDp);
21 
23  public:
26 
27  unsigned int getFEDNumber() const;
28  unsigned int getCrate() const;
29  unsigned int getVMEBaseAddress() const;
30  void setFEDParameters(unsigned int fednumber, unsigned int crate, unsigned int vmebaseaddress);
31  void setFEDNumber(unsigned int fednumber);
32  void setCrate(unsigned int crate);
33  void setVMEBaseAddress(unsigned int vmebaseaddress);
34  friend std::ostream& pos::operator<<(std::ostream& s, const PixelFEDParameters& pFEDp);
35 
36  private:
37  unsigned int fednumber_;
38  unsigned int crate_;
39  unsigned int vmebaseaddress_;
40  };
41 } // namespace pos
42 #endif
void setFEDParameters(unsigned int fednumber, unsigned int crate, unsigned int vmebaseaddress)
unsigned int getVMEBaseAddress() const
void setVMEBaseAddress(unsigned int vmebaseaddress)
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
void setFEDNumber(unsigned int fednumber)
unsigned int getFEDNumber() const
unsigned int getCrate() const
void setCrate(unsigned int crate)
This class implements..