Interface for nuisance parameter.
More...
#include <JNuisance.hh>
|
| virtual | ~JNuisance () |
| | Virtual destructor.
|
| |
| virtual std::istream & | read (std::istream &in)=0 |
| | Read nuisance from input stream.
|
| |
| virtual std::ostream & | write (std::ostream &out) const =0 |
| | Write nuisance to output stream.
|
| |
| virtual double | get () const =0 |
| | Get value.
|
| |
| virtual clone_type | clone () const override |
| | Get clone of this object.
|
| |
| const std::string & | getTitle () const |
| | Get title.
|
| |
| void | setTitle (const std::string &title) |
| | Set title.
|
| |
|
| static constexpr double | FACTOR = 1.0 |
| | Central value.
|
| |
|
| std::istream & | operator>> (std::istream &in, JNuisance &nuisance) |
| | Read nuisance from input stream.
|
| |
| std::ostream & | operator<< (std::ostream &out, const JNuisance &nuisance) |
| | Write nuisance to output stream.
|
| |
Interface for nuisance parameter.
Definition at line 44 of file JNuisance.hh.
◆ clone_type
template<class JClonable_t , class JDerived_t >
◆ ~JNuisance()
| virtual JASTRONOMY::JNuisance::~JNuisance |
( |
| ) |
|
|
inlinevirtual |
◆ read()
| virtual std::istream & JASTRONOMY::JNuisance::read |
( |
std::istream & | in | ) |
|
|
pure virtual |
Read nuisance from input stream.
- Parameters
-
- Returns
- input stream
◆ write()
| virtual std::ostream & JASTRONOMY::JNuisance::write |
( |
std::ostream & | out | ) |
const |
|
pure virtual |
Write nuisance to output stream.
- Parameters
-
- Returns
- output stream
◆ get()
| virtual double JASTRONOMY::JNuisance::get |
( |
| ) |
const |
|
pure virtual |
◆ clone()
template<class JClonable_t , class JDerived_t >
|
|
inlineoverridevirtualinherited |
Get clone of this object.
- Returns
- pointer to newly created object
Reimplemented in JPHYSICS::JPD0Transformer_t< JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer_t< JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, and JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer.
Definition at line 69 of file JClonable.hh.
70 {
71 return new JDerived_t(static_cast<const JDerived_t&>(*this));
72 }
◆ getTitle()
| const std::string & JLANG::JTitle::getTitle |
( |
| ) |
const |
|
inlineinherited |
Get title.
- Returns
- title
Definition at line 55 of file JTitle.hh.
◆ setTitle()
| void JLANG::JTitle::setTitle |
( |
const std::string & | title | ) |
|
|
inlineinherited |
Set title.
- Parameters
-
Definition at line 66 of file JTitle.hh.
◆ operator>>
| std::istream & operator>> |
( |
std::istream & | in, |
|
|
JNuisance & | nuisance ) |
|
friend |
Read nuisance from input stream.
- Parameters
-
| in | input stream |
| nuisance | nuisance |
- Returns
- input stream
Definition at line 93 of file JNuisance.hh.
94 {
95 return nuisance.read(in);
96 }
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const JNuisance & | nuisance ) |
|
friend |
Write nuisance to output stream.
- Parameters
-
| out | output stream |
| nuisance | nuisance |
- Returns
- output stream
Definition at line 106 of file JNuisance.hh.
107 {
108 return nuisance.write(out);
109 }
◆ FACTOR
| double JASTRONOMY::JNuisance::FACTOR = 1.0 |
|
staticconstexpr |
◆ title
| std::string JLANG::JTitle::title |
|
protectedinherited |
The documentation for this struct was generated from the following file: