Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHGenIntegralv1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHGenIntegralv1.h
1 // $Id: $
2 
11 #ifndef PHHEPMC_PHGENINTEGRALV1_H
12 #define PHHEPMC_PHGENINTEGRALV1_H
13 
14 #include "PHGenIntegral.h"
15 
16 #include <iostream> // for cout, ostream
17 #include <string> // for string
18 
19 class PHObject;
20 
25 {
26  public:
28  explicit PHGenIntegralv1(const std::string& description);
29  ~PHGenIntegralv1() override{}
30 
31  PHObject* CloneMe() const override {return new PHGenIntegralv1(*this);}
32  int isValid() const override { return 1; }
33  void identify(std::ostream& os = std::cout) const override;
34  void Reset() override;
35 
36  int Integrate() const override { return 1; }
38  int Integrate(PHObject*) override;
39  void CopyFrom(const PHObject* obj) override;
40 
42  Double_t get_Integrated_Lumi() const override
43  {
44  return m_IntegratedLumi;
45  }
46 
48  void set_Integrated_Lumi(Double_t integratedLumi) override
49  {
50  m_IntegratedLumi = integratedLumi;
51  }
52 
54  ULong64_t get_N_Generator_Accepted_Event() const override
55  {
57  }
58 
60  void set_N_Generator_Accepted_Event(ULong64_t nGeneratorAcceptedEvent) override
61  {
62  m_NGeneratorAcceptedEvent = nGeneratorAcceptedEvent;
63  }
64 
66  ULong64_t get_N_Processed_Event() const override
67  {
68  return m_NProcessedEvent;
69  }
70 
72  void set_N_Processed_Event(ULong64_t nProcessedEvent) override
73  {
74  m_NProcessedEvent = nProcessedEvent;
75  }
76 
80  Double_t get_Sum_Of_Weight() const override
81  {
82  return m_SumOfWeight;
83  }
84 
88  void set_Sum_Of_Weight(Double_t sumOfWeight) override
89  {
90  m_SumOfWeight = sumOfWeight;
91  }
92 
94  const std::string& get_Description() const override
95  {
96  return m_Description;
97  }
98 
100  void set_Description(const std::string& description) override
101  {
103  }
104 
105  private:
107  ULong64_t m_NProcessedEvent;
108 
111 
114 
118  Double_t m_SumOfWeight;
119 
122 
123  ClassDefOverride(PHGenIntegralv1, 1)
124 };
125 
126 #endif /* PHHEPMC_PHGENINTEGRALV1_H */