Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimDataFormats
GeneratorProducts
src
LHEXMLStringProduct.cc
Go to the documentation of this file.
1
#include <iostream>
2
#include <algorithm>
3
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
6
#include "
SimDataFormats/GeneratorProducts/interface/LHEXMLStringProduct.h
"
7
8
using namespace
edm;
9
using namespace
std;
10
11
12
LHEXMLStringProduct::LHEXMLStringProduct
()
13
{
14
}
15
16
LHEXMLStringProduct::LHEXMLStringProduct
(
const
string
& onelheoutput) :
17
content_()
18
{
19
content_
.push_back(onelheoutput);
20
}
21
22
LHEXMLStringProduct::LHEXMLStringProduct
(
const
vector<string>& manylheoutput) :
23
content_()
24
{
25
content_
.insert(
content_
.end(), manylheoutput.begin(), manylheoutput.end());
26
}
27
28
LHEXMLStringProduct::~LHEXMLStringProduct
()
29
{
30
}
31
32
bool
LHEXMLStringProduct::mergeProduct
(
LHEXMLStringProduct
const
&other)
33
{
34
content_
.insert(
content_
.end(), other.
getStrings
().begin(), other.
getStrings
().end());
35
return
true
;
36
}
37
MessageLogger.h
LHEXMLStringProduct::getStrings
const std::vector< std::string > & getStrings() const
Definition:
LHEXMLStringProduct.h:21
LHEXMLStringProduct.h
LHEXMLStringProduct::~LHEXMLStringProduct
virtual ~LHEXMLStringProduct()
Definition:
LHEXMLStringProduct.cc:28
LHEXMLStringProduct
Definition:
LHEXMLStringProduct.h:11
LHEXMLStringProduct::LHEXMLStringProduct
LHEXMLStringProduct()
Definition:
LHEXMLStringProduct.cc:12
LHEXMLStringProduct::content_
std::vector< std::string > content_
Definition:
LHEXMLStringProduct.h:30
LHEXMLStringProduct::mergeProduct
bool mergeProduct(LHEXMLStringProduct const &other)
Definition:
LHEXMLStringProduct.cc:32
Generated for CMSSW Reference Manual by
1.8.5