Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:22

0001 #ifndef PixelFECParameters_h
0002 #define PixelFECParameters_h
0003 /**
0004 *   \file CalibFormats/SiPixelObjects/interface/PixelFECParameters.h
0005 *   \brief This class implements..
0006 *
0007 *   A longer explanation will be placed here later
0008 */
0009 
0010 #include <iosfwd>
0011 
0012 namespace pos {
0013   /*! \class PixelFECParameters PixelFECParameters.h "interface/PixelFECParameters.h"
0014 *   \brief This class implements..
0015 *
0016 *   A longer explanation will be placed here later
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 }  // namespace pos
0042 #endif