CMS 3D CMS Logo

GenLumiInfoHeader.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_GeneratorProducts_GenLumiInfoHeader_h
2 #define SimDataFormats_GeneratorProducts_GenLumiInfoHeader_h
3 
4 #include <vector>
5 #include <utility>
6 #include <string>
7 
13 public:
15 
16  int randomConfigIndex() const { return randomConfigIndex_; }
18 
21 
22  const std::vector<std::pair<std::string, std::string> > &lheHeaders() const { return lheHeaders_; }
23  std::vector<std::pair<std::string, std::string> > &lheHeaders() { return lheHeaders_; }
24 
25  const std::vector<std::string> &weightNames() const { return weightNames_; }
26  std::vector<std::string> &weightNames() { return weightNames_; }
27 
28 private:
31  std::vector<std::pair<std::string, std::string> > lheHeaders_; //header name, header content
32  std::vector<std::string> weightNames_;
33 };
34 
35 #endif // SimDataFormats_GeneratorProducts_GenLumiInfoHeader_h
std::vector< std::string > weightNames_
void setRandomConfigIndex(int idx)
void setConfigDescription(const std::string &str)
const std::vector< std::string > & weightNames() const
int randomConfigIndex() const
const std::vector< std::pair< std::string, std::string > > & lheHeaders() const
std::vector< std::pair< std::string, std::string > > & lheHeaders()
const std::string & configDescription() const
std::vector< std::string > & weightNames()
std::vector< std::pair< std::string, std::string > > lheHeaders_
#define str(s)
std::string configDescription_