CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RandomEngineStates.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef RandomEngine_RandomEngineStates_h
3 #define RandomEngine_RandomEngineStates_h
4 
16 #include <vector>
17 #include <string>
18 
19 class RandomEngineState;
20 
21 namespace edm {
22 
24  public:
25 
28 
29  void getRandomEngineStates(std::vector<RandomEngineState> & states) const;
30  void setRandomEngineStates(std::vector<RandomEngineState> const& states);
31 
32  bool isProductEqual(RandomEngineStates const& randomEngineStates) const;
33 
34  private:
35 
36  std::vector<std::string> moduleLabels_;
37 
38  std::vector<unsigned> seedLengths_;
39  std::vector<unsigned> seedVectors_;
40 
41  std::vector<unsigned> stateLengths_;
42  std::vector<unsigned> stateVectors_;
43  };
44 }
45 #endif
void getRandomEngineStates(std::vector< RandomEngineState > &states) const
std::vector< unsigned > seedLengths_
std::vector< unsigned > seedVectors_
bool isProductEqual(RandomEngineStates const &randomEngineStates) const
std::vector< std::string > moduleLabels_
std::vector< unsigned > stateLengths_
std::vector< unsigned > stateVectors_
void setRandomEngineStates(std::vector< RandomEngineState > const &states)