CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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:
27 
28  void getRandomEngineStates(std::vector<RandomEngineState>& states) const;
29  void setRandomEngineStates(std::vector<RandomEngineState> const& states);
30 
31  bool isProductEqual(RandomEngineStates const& randomEngineStates) const;
32 
33  private:
34  std::vector<std::string> moduleLabels_;
35 
36  std::vector<unsigned> seedLengths_;
37  std::vector<unsigned> seedVectors_;
38 
39  std::vector<unsigned> stateLengths_;
40  std::vector<unsigned> stateVectors_;
41  };
42 } // namespace edm
43 #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)