CMS 3D CMS Logo

RandomEngineState.h

Go to the documentation of this file.
00001 #ifndef RandomEngine_RandomEngineState_h
00002 #define RandomEngine_RandomEngineState_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     RandomEngine
00006 // Class  :     RandomEngineState
00007 // 
00017 //
00018 // Original Author:  W. David Dagenhart, Fermilab
00019 //         Created:  Tue Oct  3 09:56:36 CDT 2006
00020 // $Id: RandomEngineState.h,v 1.1 2006/10/17 20:45:52 wdd Exp $
00021 //
00022 
00023 #include <vector>
00024 #include <string>
00025 #include <boost/cstdint.hpp>
00026 
00027 
00028 class RandomEngineState {
00029 
00030   public:
00031 
00032   RandomEngineState();
00033 
00034   ~RandomEngineState();
00035 
00036   const std::string& getLabel() const { return label_; }
00037   const std::vector<uint32_t>& getState() const { return state_; }
00038   const std::vector<uint32_t>& getSeed() const { return seed_; }
00039 
00040   void setLabel(const std::string& value) { label_ = value; }
00041   void setState(const std::vector<uint32_t>& value) { state_ = value; }
00042   void setSeed(const std::vector<uint32_t>& value) { seed_ = value; }
00043 
00044   private:
00045 
00046   std::string label_;
00047   std::vector<uint32_t> state_;
00048   std::vector<uint32_t> seed_;
00049 };
00050 
00051 #endif

Generated on Tue Jun 9 17:46:47 2009 for CMSSW by  doxygen 1.5.4