File indexing completed on 2025-08-05 08:15:59
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "PHGenIntegral.h"
0012
0013 #include <limits>
0014
0015
0016 Double_t PHGenIntegral::get_CrossSection_Processed_Event() const
0017 {
0018 return get_Integrated_Lumi() > 0 ? get_N_Processed_Event() / get_Integrated_Lumi() : std::numeric_limits<Double_t>::signaling_NaN();
0019 }
0020
0021
0022 Double_t PHGenIntegral::get_CrossSection_Generator_Accepted_Event() const
0023 {
0024 return get_Integrated_Lumi() > 0 ? get_N_Generator_Accepted_Event() / get_Integrated_Lumi() : std::numeric_limits<Double_t>::signaling_NaN();
0025 }
0026
0027
0028 const std::string& PHGenIntegral::get_Description() const
0029 {
0030 static const std::string s_invalid("Invalid");
0031 return s_invalid;
0032 }