CMS 3D CMS Logo

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
edm::RandomEngineStates::RandomEngineStates
RandomEngineStates()
Definition: RandomEngineStates.cc:10
edm::RandomEngineStates::~RandomEngineStates
~RandomEngineStates()
Definition: RandomEngineStates.cc:12
edm::RandomEngineStates::seedLengths_
std::vector< unsigned > seedLengths_
Definition: RandomEngineStates.h:36
edm::RandomEngineStates::stateLengths_
std::vector< unsigned > stateLengths_
Definition: RandomEngineStates.h:39
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::RandomEngineStates::stateVectors_
std::vector< unsigned > stateVectors_
Definition: RandomEngineStates.h:40
edm::RandomEngineStates::setRandomEngineStates
void setRandomEngineStates(std::vector< RandomEngineState > const &states)
Definition: RandomEngineStates.cc:91
RandomEngineState
Definition: RandomEngineState.h:26
edm::RandomEngineStates::isProductEqual
bool isProductEqual(RandomEngineStates const &randomEngineStates) const
Definition: RandomEngineStates.cc:122
edm::RandomEngineStates
Definition: RandomEngineStates.h:23
edm::RandomEngineStates::seedVectors_
std::vector< unsigned > seedVectors_
Definition: RandomEngineStates.h:37
edm::RandomEngineStates::moduleLabels_
std::vector< std::string > moduleLabels_
Definition: RandomEngineStates.h:34
edm::RandomEngineStates::getRandomEngineStates
void getRandomEngineStates(std::vector< RandomEngineState > &states) const
Definition: RandomEngineStates.cc:14