EpIC 1.1.0
Monte Carlo generator for exclusive processes
Loading...
Searching...
No Matches
GenerationInformation.h
1/*
2 * GenerationInformation.h
3 *
4 * Created on: Mar 24, 2021
5 * Author: Pawel Sznajder (NCBJ)
6 */
7
8#ifndef BEANS_GENERATIONINFORMATION_H_
9#define BEANS_GENERATIONINFORMATION_H_
10
11#include <partons/BaseObject.h>
12#include <string>
13#include <utility>
14#include <vector>
15
16namespace EPIC {
17
25class GenerationInformation: public PARTONS::BaseObject {
26
27public:
28
33
38
43
44 virtual std::string toString() const;
45
46 //********************************************************
47 //*** SETTERS AND GETTERS ********************************
48 //********************************************************
49
53 const std::string& getGeneratorName() const;
54
58 void setGeneratorName(const std::string& generatorName);
59
63 const std::string& getGeneratorVersion() const;
64
68 void setGeneratorVersion(const std::string& generatorVersion);
69
73 const std::string& getDescription() const;
74
78 void setDescription(const std::string& description);
79
83 const std::string& getServiceName() const;
84
88 void setServiceName(const std::string& serviceName);
89
93 int getNEvents() const;
94
98 void setNEvents(int nEvents);
99
103 const std::pair<double, double>& getIntegratedCrossSection() const;
104
109 const std::pair<double, double>& integratedCrossSection);
110
114 const std::string& getGenerationDate() const;
115
119 void setGenerationDate(const std::string& generationDate);
120
124 double getGenerationTime() const;
125
129 void setGenerationTime(double generationTime);
130
134 double getInitializationTime() const;
135
139 void setInitializationTime(double initializationTime);
140
144 const std::vector<std::pair<std::string, std::string> >& getAdditionalInfo() const;
145
150 const std::vector<std::pair<std::string, std::string> >& additionalInfo);
151
156 const std::pair<std::string, std::string>& additionalInfo);
157
158private:
159
160 std::string m_generatorName;
161 std::string m_generatorVersion;
162 std::string m_description;
163
164 std::string m_serviceName;
165 int m_nEvents;
166 std::pair<double, double> m_integratedCrossSection;
167 std::string m_generationDate;
168
169 double m_initializationTime;
170 double m_generationTime;
171
172 std::vector<std::pair<std::string, std::string> > m_additionalInfo;
173};
174
175} /* namespace EPIC */
176
177#endif /* BEANS_GENERATIONINFORMATION_H_ */
Container to store run related information.
Definition: GenerationInformation.h:25
const std::string & getServiceName() const
void setNEvents(int nEvents)
void setInitializationTime(double initializationTime)
void setGenerationTime(double generationTime)
GenerationInformation(const GenerationInformation &other)
void addAdditionalInfo(const std::pair< std::string, std::string > &additionalInfo)
void setGenerationDate(const std::string &generationDate)
void setGeneratorName(const std::string &generatorName)
double getGenerationTime() const
const std::string & getDescription() const
void setServiceName(const std::string &serviceName)
const std::string & getGeneratorName() const
const std::pair< double, double > & getIntegratedCrossSection() const
void setGeneratorVersion(const std::string &generatorVersion)
void setDescription(const std::string &description)
void setIntegratedCrossSection(const std::pair< double, double > &integratedCrossSection)
const std::string & getGenerationDate() const
double getInitializationTime() const
void setAdditionalInfo(const std::vector< std::pair< std::string, std::string > > &additionalInfo)
const std::vector< std::pair< std::string, std::string > > & getAdditionalInfo() const
const std::string & getGeneratorVersion() const