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
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHGenIntegral.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHGenIntegral.cc
1
// $Id: $
2
11
#include "
PHGenIntegral.h
"
12
13
#include <limits>
14
16
Double_t
PHGenIntegral::get_CrossSection_Processed_Event
()
const
17
{
18
return
get_Integrated_Lumi
() > 0 ?
get_N_Processed_Event
() /
get_Integrated_Lumi
() : std::numeric_limits<Double_t>::signaling_NaN();
19
}
20
22
Double_t
PHGenIntegral::get_CrossSection_Generator_Accepted_Event
()
const
23
{
24
return
get_Integrated_Lumi
() > 0 ?
get_N_Generator_Accepted_Event
() /
get_Integrated_Lumi
() : std::numeric_limits<Double_t>::signaling_NaN();
25
}
26
28
const
std::string&
PHGenIntegral::get_Description
()
const
29
{
30
static
const
std::string s_invalid(
"Invalid"
);
31
return
s_invalid;
32
}
fun4all_coresoftware
blob
master
generators
phhepmc
PHGenIntegral.cc
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:42
using
1.8.2 with
EIC GitHub integration