Analysis Software
Documentation for sPHENIX simulation software
 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 
17 {
18  return get_Integrated_Lumi() > 0 ? get_N_Processed_Event() / get_Integrated_Lumi() : std::numeric_limits<Double_t>::signaling_NaN();
19 }
20 
23 {
24  return get_Integrated_Lumi() > 0 ? get_N_Generator_Accepted_Event() / get_Integrated_Lumi() : std::numeric_limits<Double_t>::signaling_NaN();
25 }
26 
29 {
30  static const std::string s_invalid("Invalid");
31  return s_invalid;
32 }