Auxiliary data structure to customize quantum efficiency.
More...
#include <JPDFSupportkit.hh>
|
| | JQE () |
| | Default constructor.
|
| |
|
| static double | getQE (const double lambda) |
| | Get quantum efficiency.
|
| |
| static double & | get_factor () |
| | Get reference to multiplication factor.
|
| |
| static mapped_type & | get_function () |
| | Get reference to global functon.
|
| |
|
| static constexpr const char *const | default_t = "default" |
| |
|
| std::istream & | operator>> (std::istream &in, JQE &object) |
| | Read quantum efficiency from input stream.
|
| |
| std::ostream & | operator<< (std::ostream &out, const JQE &object) |
| | Write quantum efficiency to output stream.
|
| |
Auxiliary data structure to customize quantum efficiency.
Definition at line 471 of file JPDFSupportkit.hh.
◆ JQE()
Default constructor.
Definition at line 480 of file JPDFSupportkit.hh.
481 {
483
486 }
double getQE(const double lambda)
static double & get_factor()
Get reference to multiplication factor.
static mapped_type & get_function()
Get reference to global functon.
static constexpr const char *const default_t
◆ 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 534 of file JPDFSupportkit.hh.
◆ get_factor()
| static double & JPHYSICS::JQE::get_factor |
( |
| ) |
|
|
inlinestatic |
Get reference to multiplication factor.
- Returns
- factor
Definition at line 545 of file JPDFSupportkit.hh.
546 {
547 static double factor = 1.0;
548
549 return factor;
550 }
◆ get_function()
| static mapped_type & JPHYSICS::JQE::get_function |
( |
| ) |
|
|
inlinestatic |
Get reference to global functon.
- Returns
- function
Definition at line 558 of file JPDFSupportkit.hh.
559 {
561
562 return f1;
563 }
◆ operator>>
| std::istream & operator>> |
( |
std::istream & | in, |
|
|
JQE & | object ) |
|
friend |
Read quantum efficiency from input stream.
- Parameters
-
| in | input stream |
| object | quantum efficiency |
- Returns
- input stream
Definition at line 496 of file JPDFSupportkit.hh.
497 {
499
501
502 JQE::const_iterator p = object.find(option);
503
504 if (p != object.end())
506 else
507 in.setstate(ios_base::badbit);
508 }
509
510 return in;
511 }
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const JQE & | object ) |
|
friend |
Write quantum efficiency to output stream.
- Parameters
-
| out | output stream |
| object | quantum efficiency |
- Returns
- output stream
Definition at line 521 of file JPDFSupportkit.hh.
522 {
525 }
std::string getKey(const std::map< std::string, T > &map, const std::string &key, const T &value)
Auxiliary method to get preferred key for given value.
◆ default_t
| const char* const JPHYSICS::JQE::default_t = "default" |
|
staticconstexpr |
The documentation for this struct was generated from the following file: