Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
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
}
coresoftware
blob
master
generators
phhepmc
PHGenIntegral.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:03
using
1.8.2 with
sPHENIX GitHub integration