CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LHEXMLStringProduct.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_GeneratorProducts_LHEXMLStringProduct_h
2 #define SimDataFormats_GeneratorProducts_LHEXMLStringProduct_h
3 
8 #include <string>
9 #include <vector>
10 
12 public:
13 
14  // constructors, destructors
17  LHEXMLStringProduct(const std::vector<std::string>& content);
18  virtual ~LHEXMLStringProduct();
19 
20  // getters
21  const std::vector<std::string>& getStrings() const{
22  return content_;
23  }
24 
25  // merge method. It will be used when merging different jobs populating the same lumi section
26  bool mergeProduct(LHEXMLStringProduct const &other);
27 
28 
29 private:
30  std::vector<std::string> content_;
31 
32 };
33 
34 
35 #endif // SimDataFormats_GeneratorProducts_LHEXMLStringProduct_h
const std::vector< std::string > & getStrings() const
std::vector< std::string > content_
bool mergeProduct(LHEXMLStringProduct const &other)