CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GenLumiInfoHeader Class Reference

#include <GenLumiInfoHeader.h>

Public Member Functions

const std::string & configDescription () const
 
 GenLumiInfoHeader ()
 
std::vector< std::pair< std::string, std::string > > & lheHeaders ()
 
const std::vector< std::pair< std::string, std::string > > & lheHeaders () const
 
int randomConfigIndex () const
 
void setConfigDescription (const std::string &str)
 
void setRandomConfigIndex (int idx)
 
std::vector< std::string > & weightNames ()
 
const std::vector< std::string > & weightNames () const
 

Private Attributes

std::string configDescription_
 
std::vector< std::pair< std::string, std::string > > lheHeaders_
 
int randomConfigIndex_
 
std::vector< std::string > weightNames_
 

Detailed Description

Definition at line 12 of file GenLumiInfoHeader.h.

Constructor & Destructor Documentation

◆ GenLumiInfoHeader()

GenLumiInfoHeader::GenLumiInfoHeader ( )
inline

Definition at line 14 of file GenLumiInfoHeader.h.

14 : randomConfigIndex_(-1){};

Member Function Documentation

◆ configDescription()

const std::string& GenLumiInfoHeader::configDescription ( ) const
inline

Definition at line 19 of file GenLumiInfoHeader.h.

19 { return configDescription_; }

References configDescription_.

Referenced by GenWeightsTableProducer::streamBeginLuminosityBlock().

◆ lheHeaders() [1/2]

std::vector<std::pair<std::string, std::string> >& GenLumiInfoHeader::lheHeaders ( )
inline

Definition at line 23 of file GenLumiInfoHeader.h.

23 { return lheHeaders_; }

References lheHeaders_.

◆ lheHeaders() [2/2]

const std::vector<std::pair<std::string, std::string> >& GenLumiInfoHeader::lheHeaders ( ) const
inline

Definition at line 22 of file GenLumiInfoHeader.h.

22 { return lheHeaders_; }

References lheHeaders_.

◆ randomConfigIndex()

int GenLumiInfoHeader::randomConfigIndex ( ) const
inline

Definition at line 16 of file GenLumiInfoHeader.h.

16 { return randomConfigIndex_; }

References randomConfigIndex_.

◆ setConfigDescription()

void GenLumiInfoHeader::setConfigDescription ( const std::string &  str)
inline

Definition at line 20 of file GenLumiInfoHeader.h.

References configDescription_, and str.

◆ setRandomConfigIndex()

void GenLumiInfoHeader::setRandomConfigIndex ( int  idx)
inline

Definition at line 17 of file GenLumiInfoHeader.h.

References heavyIonCSV_trainingSettings::idx, and randomConfigIndex_.

◆ weightNames() [1/2]

std::vector<std::string>& GenLumiInfoHeader::weightNames ( )
inline

Definition at line 26 of file GenLumiInfoHeader.h.

26 { return weightNames_; }

References weightNames_.

◆ weightNames() [2/2]

const std::vector<std::string>& GenLumiInfoHeader::weightNames ( ) const
inline

Member Data Documentation

◆ configDescription_

std::string GenLumiInfoHeader::configDescription_
private

Definition at line 30 of file GenLumiInfoHeader.h.

Referenced by configDescription(), and setConfigDescription().

◆ lheHeaders_

std::vector<std::pair<std::string, std::string> > GenLumiInfoHeader::lheHeaders_
private

Definition at line 31 of file GenLumiInfoHeader.h.

Referenced by lheHeaders().

◆ randomConfigIndex_

int GenLumiInfoHeader::randomConfigIndex_
private

Definition at line 29 of file GenLumiInfoHeader.h.

Referenced by randomConfigIndex(), and setRandomConfigIndex().

◆ weightNames_

std::vector<std::string> GenLumiInfoHeader::weightNames_
private

Definition at line 32 of file GenLumiInfoHeader.h.

Referenced by weightNames().

GenLumiInfoHeader::configDescription_
std::string configDescription_
Definition: GenLumiInfoHeader.h:30
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
str
#define str(s)
Definition: TestProcessor.cc:51
GenLumiInfoHeader::lheHeaders_
std::vector< std::pair< std::string, std::string > > lheHeaders_
Definition: GenLumiInfoHeader.h:31
GenLumiInfoHeader::randomConfigIndex_
int randomConfigIndex_
Definition: GenLumiInfoHeader.h:29
GenLumiInfoHeader::weightNames_
std::vector< std::string > weightNames_
Definition: GenLumiInfoHeader.h:32