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
GenLumiInfoHeader::configDescription_
std::string configDescription_
Definition: GenLumiInfoHeader.h:30
GenLumiInfoHeader::setConfigDescription
void setConfigDescription(const std::string &str)
Definition: GenLumiInfoHeader.h:20
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
GenLumiInfoHeader::lheHeaders
const std::vector< std::pair< std::string, std::string > > & lheHeaders() const
Definition: GenLumiInfoHeader.h:22
GenLumiInfoHeader::weightNames
const std::vector< std::string > & weightNames() const
Definition: GenLumiInfoHeader.h:25
GenLumiInfoHeader::configDescription
const std::string & configDescription() const
Definition: GenLumiInfoHeader.h:19
GenLumiInfoHeader::GenLumiInfoHeader
GenLumiInfoHeader()
Definition: GenLumiInfoHeader.h:14
GenLumiInfoHeader::lheHeaders
std::vector< std::pair< std::string, std::string > > & lheHeaders()
Definition: GenLumiInfoHeader.h:23
str
#define str(s)
Definition: TestProcessor.cc:53
GenLumiInfoHeader::weightNames
std::vector< std::string > & weightNames()
Definition: GenLumiInfoHeader.h:26
GenLumiInfoHeader::lheHeaders_
std::vector< std::pair< std::string, std::string > > lheHeaders_
Definition: GenLumiInfoHeader.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
GenLumiInfoHeader::randomConfigIndex
int randomConfigIndex() const
Definition: GenLumiInfoHeader.h:16
GenLumiInfoHeader::randomConfigIndex_
int randomConfigIndex_
Definition: GenLumiInfoHeader.h:29
GenLumiInfoHeader::weightNames_
std::vector< std::string > weightNames_
Definition: GenLumiInfoHeader.h:32
GenLumiInfoHeader
Definition: GenLumiInfoHeader.h:12
GenLumiInfoHeader::setRandomConfigIndex
void setRandomConfigIndex(int idx)
Definition: GenLumiInfoHeader.h:17