|
BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Assembles beam, detector and their relative positions with respect to the sample.
Definition at line 26 of file Instrument.h.
Public Member Functions | |
| Instrument (const Beam &beam, const IDetector &detector) | |
| ~Instrument () | |
| const Beam & | beam () const |
| const IDetector & | detector () const |
Protected Attributes | |
| std::unique_ptr< Beam > | m_beam |
| std::unique_ptr< IDetector > | m_detector |
| Instrument::Instrument | ( | const Beam & | beam, |
| const IDetector & | detector | ||
| ) |
Definition at line 19 of file Instrument.cpp.
|
default |
|
inline |
|
inline |
|
protected |
Definition at line 35 of file Instrument.h.
Referenced by beam().
|
protected |
Definition at line 36 of file Instrument.h.
Referenced by detector().