Auxiliary data structure to customize quantum efficiency.
More...
#include <JPDFSupportkit.hh>
|
| typedef double(*) | pF(const double) |
| |
|
| | JQE () |
| | Default constructor.
|
| |
|
| static double | getQE (const double lambda) |
| | Get quantum efficiency.
|
| |
| static double & | get_factor () |
| | Get reference to multiplication factor.
|
| |
| static pF & | get_function () |
| | Get reference to global functon.
|
| |
|
| std::istream & | operator>> (std::istream &in, JQE &scattering) |
| | Read quantum efficiency from input stream.
|
| |
| std::ostream & | operator<< (std::ostream &out, const JQE &scattering) |
| | Write quantum efficiency to output stream.
|
| |
Auxiliary data structure to customize quantum efficiency.
Definition at line 379 of file JPDFSupportkit.hh.
◆ pF
| double(*) JPHYSICS::JQE_t::pF(const double) |
|
inherited |
◆ JQE()
Default constructor.
Definition at line 386 of file JPDFSupportkit.hh.
387 {
389 }
double getQE(const double lambda)
◆ getQE()
| static double JPHYSICS::JQE::getQE |
( |
const double | lambda | ) |
|
|
inlinestatic |
Get quantum efficiency.
- Parameters
-
| lambda | wavelength of light [nm] |
- Returns
- quantum efficiency [m]
Definition at line 442 of file JPDFSupportkit.hh.
443 {
445 }
static double & get_factor()
Get reference to multiplication factor.
static pF & get_function()
Get reference to global functon.
◆ get_factor()
| static double & JPHYSICS::JQE::get_factor |
( |
| ) |
|
|
inlinestatic |
Get reference to multiplication factor.
- Returns
- factor
Definition at line 453 of file JPDFSupportkit.hh.
454 {
455 static double factor = 1.0;
456
457 return factor;
458 }
◆ get_function()
| static pF & JPHYSICS::JQE::get_function |
( |
| ) |
|
|
inlinestatic |
Get reference to global functon.
- Returns
- function
Definition at line 466 of file JPDFSupportkit.hh.
467 {
469
470 return f1;
471 }
double(*) pF(const double)
◆ operator>>
| std::istream & operator>> |
( |
std::istream & | in, |
|
|
JQE & | scattering ) |
|
friend |
Read quantum efficiency from input stream.
- Parameters
-
| in | input stream |
| scattering | quantum efficiency |
- Returns
- input stream
Definition at line 399 of file JPDFSupportkit.hh.
400 {
402
404
405 JQE::const_iterator p = scattering.find(option);
406
407 if (p != scattering.end())
409 else
410 in.setstate(ios_base::badbit);
411 }
412
413 return in;
414 }
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const JQE & | scattering ) |
|
friend |
Write quantum efficiency to output stream.
- Parameters
-
| out | output stream |
| scattering | quantum efficiency |
- Returns
- output stream
Definition at line 424 of file JPDFSupportkit.hh.
425 {
426 for (const_iterator i = scattering.begin(); i != scattering.end(); ++i) {
428 out << i->first << ' ';
429 }
430 }
431
433 }
The documentation for this struct was generated from the following file: