EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
blob
master
calibrations
generators
decayFinder
FermiMotionAfterburner
flowAfterburner
hijing
JETSCAPE
JEWEL
phhepmc
Fun4AllHepMCInputManager.cc
Fun4AllHepMCInputManager.h
Fun4AllHepMCOutputManager.cc
Fun4AllHepMCOutputManager.h
Fun4AllHepMCPileupInputManager.cc
Fun4AllHepMCPileupInputManager.h
Fun4AllOscarInputManager.cc
Fun4AllOscarInputManager.h
HepMCFlowAfterBurner.cc
HepMCFlowAfterBurner.h
PHGenIntegral.cc
PHGenIntegral.h
PHGenIntegralLinkDef.h
PHGenIntegralv1.cc
PHGenIntegralv1.h
PHGenIntegralv1LinkDef.h
PHHepMC_ioLinkDef.h
PHHepMCGenEvent.cc
PHHepMCGenEvent.h
PHHepMCGenEventLinkDef.h
PHHepMCGenEventMap.cc
PHHepMCGenEventMap.h
PHHepMCGenEventMapLinkDef.h
PHHepMCGenEventv1.cc
PHHepMCGenEventv1.h
PHHepMCGenEventv1LinkDef.h
PHHepMCGenHelper.cc
PHHepMCGenHelper.h
PHHepMCParticleSelectorDecayProductChain.cc
PHHepMCParticleSelectorDecayProductChain.h
PHPythia6
PHPythia8
PHSartre
sHEPGen
sHijing
offline
simulation
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
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
24
class
PHGenIntegralv1
:
public
PHGenIntegral
25
{
26
public
:
27
PHGenIntegralv1
();
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
{
56
return
m_NGeneratorAcceptedEvent
;
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
{
102
m_Description
= description;
103
}
104
105
private
:
107
ULong64_t
m_NProcessedEvent
;
108
110
ULong64_t
m_NGeneratorAcceptedEvent
;
111
113
Double_t
m_IntegratedLumi
;
114
118
Double_t
m_SumOfWeight
;
119
121
std::string
m_Description
;
122
123
ClassDefOverride(
PHGenIntegralv1
, 1)
124
};
125
126
#endif
/* PHHEPMC_PHGENINTEGRALV1_H */
fun4all_coresoftware
blob
master
generators
phhepmc
PHGenIntegralv1.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:42
using
1.8.2 with
EIC GitHub integration