#include <G4NuclWatcher.hh>
|
| G4NuclWatcher (G4int z, const std::vector< G4double > &expa, const std::vector< G4double > &expcs, const std::vector< G4double > &experr, G4bool check, G4bool nucl) |
|
| ~G4NuclWatcher () |
|
void | watch (G4int a, G4int z) |
|
void | setInuclCs (G4double csec, G4int nev) |
|
G4double | getChsq () const |
|
G4bool | to_check () const |
|
G4bool | look_forNuclei () const |
|
G4double | getLhood () const |
|
G4double | getNmatched () const |
|
std::pair< G4double, G4double > | getExpCs () const |
|
std::pair< G4double, G4double > | getInuclCs () const |
|
std::pair< G4double, G4double > | getAverageRatio () const |
|
void | print () |
|
Definition at line 41 of file G4NuclWatcher.hh.
◆ G4NuclWatcher()
Definition at line 40 of file G4NuclWatcher.cc.
std::vector< G4double > exper_err
std::vector< G4double > exper_cs
std::vector< G4double > exper_as
◆ ~G4NuclWatcher()
G4NuclWatcher::~G4NuclWatcher |
( |
| ) |
|
|
inline |
◆ getAverageRatio()
◆ getChsq()
G4double G4NuclWatcher::getChsq |
( |
| ) |
const |
|
inline |
◆ getExpCs()
Definition at line 81 of file G4NuclWatcher.cc.
91 return std::pair<G4double, G4double>(cs, err);
std::vector< G4double > exper_err
std::vector< G4double > exper_cs
std::vector< G4double > exper_as
◆ getInuclCs()
Definition at line 94 of file G4NuclWatcher.cc.
103 return std::pair<G4double, G4double>(cs, err);
std::vector< G4double > simulated_errors
std::vector< G4double > simulated_cs
std::vector< G4double > simulated_as
◆ getLhood()
G4double G4NuclWatcher::getLhood |
( |
| ) |
const |
|
inline |
◆ getNmatched()
G4double G4NuclWatcher::getNmatched |
( |
| ) |
const |
|
inline |
◆ look_forNuclei()
G4bool G4NuclWatcher::look_forNuclei |
( |
| ) |
const |
|
inline |
◆ print()
void G4NuclWatcher::print |
( |
| ) |
|
Definition at line 106 of file G4NuclWatcher.cc.
109 G4cout <<
"\n ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ " 119 std::vector<G4bool> not_used(
simulated_cs.size(),
true);
133 for (
G4int i = 0; i<simulatedAsSize && !found; i++) {
137 lhood += std::log10(rat) * std::log10(rat);
148 <<
" ratio " << rat <<
" err " << rat_err << G4endl
152 izotop_chsq += (rat - 1.0) * (rat - 1.0) / rat_err / rat_err;
158 if (found) nmatched--;
164 G4cout <<
" not found in simulations " << nmatched << G4endl
165 <<
" not found in exper: " << nused <<
G4endl;
168 for(
G4int i = 0; i < simulatedAsSize; i++) {
184 lhood = std::pow(10.0, std::sqrt(lhood/matched));
191 <<
" lhood " << lhood <<
G4endl;
198 G4cout <<
" exper. cs " << exp_cs <<
" err " << exp_cs_err << G4endl
199 <<
" inucl. cs " << inucl_cs <<
" err " << inucl_cs_err << G4endl
200 <<
" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ "
std::vector< G4double > simulated_prob
G4GLOB_DLL std::ostream G4cout
std::vector< G4double > exper_err
std::vector< G4double > simulated_errors
std::vector< G4double > simulated_cs
std::vector< G4double > exper_cs
std::vector< G4double > exper_as
std::vector< G4double > simulated_as
◆ setInuclCs()
Definition at line 70 of file G4NuclWatcher.cc.
72 for(
G4int i = 0; i < simulatedAsSize ; i++) {
std::vector< G4double > simulated_prob
std::vector< G4double > simulated_errors
std::vector< G4double > simulated_cs
std::vector< G4double > simulated_as
◆ to_check()
G4bool G4NuclWatcher::to_check |
( |
| ) |
const |
|
inline |
◆ watch()
Definition at line 50 of file G4NuclWatcher.cc.
53 if (std::abs(
z-
nuclz) >= small)
return;
57 for (
G4int i = 0; i<simulatedAsSize && !here; i++) {
std::vector< G4double > simulated_cs
std::vector< G4double > simulated_as
◆ aver_lhood
◆ aver_matched
◆ aver_rat_err
◆ average_ratio
◆ checkable
G4bool G4NuclWatcher::checkable |
|
private |
◆ exper_as
std::vector<G4double> G4NuclWatcher::exper_as |
|
private |
◆ exper_cs
std::vector<G4double> G4NuclWatcher::exper_cs |
|
private |
◆ exper_err
std::vector<G4double> G4NuclWatcher::exper_err |
|
private |
◆ izotop_chsq
◆ nucleable
G4bool G4NuclWatcher::nucleable |
|
private |
◆ nuclz
G4int G4NuclWatcher::nuclz |
|
private |
◆ simulated_as
std::vector<G4double> G4NuclWatcher::simulated_as |
|
private |
◆ simulated_cs
std::vector<G4double> G4NuclWatcher::simulated_cs |
|
private |
◆ simulated_errors
std::vector<G4double> G4NuclWatcher::simulated_errors |
|
private |
◆ simulated_prob
std::vector<G4double> G4NuclWatcher::simulated_prob |
|
private |
The documentation for this class was generated from the following files: