BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 185 of file InstrumentItems.h.
Public Member Functions | |
OffspecInstrumentItem () | |
virtual bool | alignedWith (const RealDataItem *item) const |
AXIS_PROPERTY (alphaAxis) | |
BackgroundItem * | backgroundItem () const |
SelectionDescriptor< BackgroundItem * > | backgroundSelection () const |
virtual BeamItem * | beamItem () const |
ICoordSystem * | createCoordSystem () const override |
InstrumentItem * | createCopy () const |
Creates an exact copy; also ID is the same! More... | |
std::unique_ptr< Instrument > | createInstrument () const |
OffspecSimulation * | createOffspecSimulation (const MultiLayer &sample) const |
ScatteringSimulation * | createScatteringSimulation (const MultiLayer &sample) const |
QString | defaultName () const override |
The default user visible name when creating an instrument. More... | |
QString | description () const |
GroupItem * | detectorGroup () |
DetectorItem * | detectorItem () const |
SelectionDescriptor< DetectorItem * > | detectorSelection () const |
DOUBLE_PROPERTY (analyzerTotalTransmission, AnalyzerTotalTransmission) | |
QString | id () const |
void | importMasks (const MaskContainerItem *maskContainer) override |
QString | instrumentName () const |
QString | instrumentType () const override |
The type as how to show it on the UI. Do not use for type checking or similar! More... | |
template<typename T > | |
bool | is () const |
void | serialize (Streamer &s) override |
template<typename T > | |
T * | setBackgroundType () |
void | setDescription (const QString &description) |
template<typename T > | |
T * | setDetectorType () |
void | setId (const QString &id) |
void | setInstrumentName (const QString &instrumentName) |
void | setWithPolarizerAnalyzer (bool with) |
std::vector< int > | shape () const override |
void | updateToRealData (const RealDataItem *item) override |
VECTOR_PROPERTY (analyzerDirection, AnalyzerDirection) | |
VECTOR_PROPERTY (polarization, Polarization) | |
bool | withPolarizerAnalyzer () const |
Static Public Member Functions | |
static bool | isDetectorPropertyName (const QString &name) |
Protected Member Functions | |
template<typename T > | |
T * | beam () const |
Protected Attributes | |
SelectionProperty< BackgroundItem * > | m_backgroundItem |
std::unique_ptr< BeamItem > | m_beamItem |
QString | m_description |
SelectionProperty< DetectorItem * > | m_detectorItem |
QString | m_id |
QString | m_name |
bool | m_withPolarizerAnalyzer |
OffspecInstrumentItem::OffspecInstrumentItem | ( | ) |
Definition at line 437 of file InstrumentItems.cpp.
References InstrumentItem::beamItem(), degree, and GISASBeamItem::setInclinationAngleGetter().
|
virtualinherited |
Reimplemented in SpecularInstrumentItem.
Definition at line 129 of file InstrumentItems.cpp.
References RealDataItem::shape(), and InstrumentItem::shape().
Referenced by LinkInstrumentManager::onInstrumentChanged(), and SimulationView::validateSimulationSetup().
OffspecInstrumentItem::AXIS_PROPERTY | ( | alphaAxis | ) |
|
inherited |
Definition at line 119 of file InstrumentItems.cpp.
References SelectionProperty< T >::get(), and InstrumentItem::m_backgroundItem.
|
inherited |
Definition at line 124 of file InstrumentItems.cpp.
References InstrumentItem::m_backgroundItem.
Referenced by EnvironmentEditor::EnvironmentEditor(), and EnvironmentEditor::createBackgroundWidgets().
|
protectedinherited |
Definition at line 145 of file InstrumentItems.cpp.
References InstrumentItem::m_beamItem.
Referenced by SpecularInstrumentItem::createCoordSystem(), Instrument2DItem::createInstrument(), Instrument2DItem::createOffspecSimulation(), and Instrument2DItem::createScatteringSimulation().
|
virtualinherited |
Reimplemented in DepthProbeInstrumentItem, and SpecularInstrumentItem.
Definition at line 114 of file InstrumentItems.cpp.
References InstrumentItem::m_beamItem.
Referenced by GISASInstrumentEditor::GISASInstrumentEditor(), OffspecBeamEditor::OffspecBeamEditor(), OffspecInstrumentItem(), Instrument2DItem::createInstrument(), Instrument2DItem::createOffspecSimulation(), Instrument2DItem::createScatteringSimulation(), InstrumentEditController::notifyInclinationAxisChanged(), and InstrumentEditController::notifyWavelengthDistributionChanged().
|
overridevirtual |
Implements InstrumentItem.
Definition at line 483 of file InstrumentItems.cpp.
References Instrument2DItem::createInstrument().
|
inherited |
Creates an exact copy; also ID is the same!
Definition at line 76 of file InstrumentItems.cpp.
References GUI::Util::copyContents(), InstrumentItemCatalog::create(), and InstrumentItemCatalog::type().
Referenced by JobItem::copyInstrumentIntoJob(), and InstrumentCollection::insertCopy().
|
inherited |
Definition at line 361 of file InstrumentItems.cpp.
References InstrumentItem::beam(), InstrumentItem::beamItem(), BeamItem::createBeam(), DetectorItem::createDetector(), and Instrument2DItem::detectorItem().
Referenced by GISASInstrumentItem::createCoordSystem(), and createCoordSystem().
|
inherited |
Definition at line 382 of file InstrumentItems.cpp.
References InstrumentItem::beam(), InstrumentItem::beamItem(), BeamItem::createBeam(), DetectorItem::createDetector(), and Instrument2DItem::detectorItem().
|
inherited |
Definition at line 370 of file InstrumentItems.cpp.
References InstrumentItem::beam(), InstrumentItem::beamItem(), BeamItem::createBeam(), DetectorItem::createDetector(), and Instrument2DItem::detectorItem().
|
overridevirtual |
The default user visible name when creating an instrument.
Implements InstrumentItem.
Definition at line 473 of file InstrumentItems.cpp.
|
inherited |
Definition at line 104 of file InstrumentItems.cpp.
References InstrumentItem::m_description.
Referenced by InstrumentItem::setDescription().
|
inherited |
|
inherited |
Definition at line 346 of file InstrumentItems.cpp.
References SelectionProperty< T >::get(), and Instrument2DItem::m_detectorItem.
Referenced by Instrument2DItem::createInstrument(), Instrument2DItem::createOffspecSimulation(), Instrument2DItem::createScatteringSimulation(), Instrument2DItem::importMasks(), GISASInstrumentItem::shape(), shape(), GISASInstrumentItem::updateToRealData(), and updateToRealData().
|
inherited |
Definition at line 351 of file InstrumentItems.cpp.
References Instrument2DItem::m_detectorItem.
Referenced by DetectorEditor::DetectorEditor(), and DetectorEditor::createDetectorWidgets().
|
inherited |
|
inherited |
Definition at line 84 of file InstrumentItems.cpp.
References InstrumentItem::m_id.
Referenced by RealDataItem::linkToInstrument(), LinkInstrumentManager::onInstrumentChanged(), and InstrumentItem::setId().
|
overridevirtualinherited |
Reimplemented from InstrumentItem.
Definition at line 356 of file InstrumentItems.cpp.
References Instrument2DItem::detectorItem(), and DetectorItem::importMasks().
|
inherited |
Definition at line 99 of file InstrumentItems.cpp.
References InstrumentItem::m_name.
Referenced by InstrumentListModel::copyInstrument(), InstrumentListModel::data(), InstrumentLibraryEditor::execAdd(), InstrumentItem::setInstrumentName(), InstrumentsEditController::setInstrumentName(), and GUI::Model::JobFunctions::setupJobItemInstrument().
|
overridevirtual |
The type as how to show it on the UI. Do not use for type checking or similar!
Implements InstrumentItem.
Definition at line 478 of file InstrumentItems.cpp.
|
inlineinherited |
Definition at line 61 of file InstrumentItems.h.
Referenced by JobResultsPresenter::defaultActivePresentationsOfInstrument(), JobResultsPresenter::defaultPresentationOfInstrument(), JobResultsPresenter::fitPresentationOfInstrument(), GUI::Model::JobFunctions::initDataView(), InstrumentsTreeModel::instrumentType(), JobItem::isSpecularJob(), GUI::Model::JobFunctions::setupJobItemForFit(), and GUI::Model::JobFunctions::setupJobItemOutput().
|
staticinherited |
|
overridevirtual |
Reimplemented from Instrument2DItem.
Definition at line 447 of file InstrumentItems.cpp.
References Streamer::assertVersion().
|
inherited |
Definition at line 205 of file InstrumentItems.h.
References SelectionProperty< T >::get(), InstrumentItem::m_backgroundItem, and SelectionProperty< T >::set().
|
inherited |
Definition at line 109 of file InstrumentItems.cpp.
References InstrumentItem::description(), and InstrumentItem::m_description.
Referenced by InstrumentView::onInstrumentdescriptionEdited(), and InstrumentsTreeModel::setData().
|
inherited |
Definition at line 212 of file InstrumentItems.h.
|
inherited |
Definition at line 89 of file InstrumentItems.cpp.
References InstrumentItem::id(), and InstrumentItem::m_id.
Referenced by InstrumentCollection::insertCopy().
|
inherited |
Definition at line 94 of file InstrumentItems.cpp.
References InstrumentItem::instrumentName(), and InstrumentItem::m_name.
Referenced by InstrumentsEditController::addCopy(), InstrumentsTreeModel::setData(), InstrumentsEditController::setInstrumentName(), and GUI::Model::JobFunctions::setupJobItemInstrument().
|
inherited |
Definition at line 139 of file InstrumentItems.cpp.
References InstrumentItem::m_withPolarizerAnalyzer.
Referenced by PolarizationAnalysisEditor::PolarizationAnalysisEditor().
|
overridevirtual |
Implements InstrumentItem.
Definition at line 454 of file InstrumentItems.cpp.
References Instrument2DItem::detectorItem(), and DetectorItem::ySize().
Referenced by updateToRealData().
|
overridevirtual |
Implements InstrumentItem.
Definition at line 459 of file InstrumentItems.cpp.
References Instrument2DItem::detectorItem(), Error, DetectorItem::setYSize(), RealDataItem::shape(), and shape().
|
inherited |
|
inherited |
|
inherited |
Definition at line 134 of file InstrumentItems.cpp.
References InstrumentItem::m_withPolarizerAnalyzer.
Referenced by PolarizationAnalysisEditor::PolarizationAnalysisEditor(), and ParameterTreeBuilder::addPolarization().
|
protectedinherited |
Definition at line 106 of file InstrumentItems.h.
Referenced by InstrumentItem::InstrumentItem(), InstrumentItem::backgroundItem(), InstrumentItem::backgroundSelection(), InstrumentItem::serialize(), and InstrumentItem::setBackgroundType().
|
protectedinherited |
Definition at line 107 of file InstrumentItems.h.
Referenced by DepthProbeInstrumentItem::DepthProbeInstrumentItem(), Instrument2DItem::Instrument2DItem(), SpecularInstrumentItem::SpecularInstrumentItem(), InstrumentItem::beam(), InstrumentItem::beamItem(), and InstrumentItem::serialize().
|
protectedinherited |
Definition at line 104 of file InstrumentItems.h.
Referenced by InstrumentItem::description(), InstrumentItem::serialize(), and InstrumentItem::setDescription().
|
protectedinherited |
Definition at line 170 of file InstrumentItems.h.
Referenced by Instrument2DItem::Instrument2DItem(), Instrument2DItem::detectorItem(), Instrument2DItem::detectorSelection(), and Instrument2DItem::serialize().
|
protectedinherited |
Definition at line 102 of file InstrumentItems.h.
Referenced by InstrumentItem::InstrumentItem(), InstrumentItem::id(), InstrumentItem::serialize(), and InstrumentItem::setId().
|
protectedinherited |
Definition at line 103 of file InstrumentItems.h.
Referenced by InstrumentItem::instrumentName(), InstrumentItem::serialize(), and InstrumentItem::setInstrumentName().
|
protectedinherited |
Definition at line 105 of file InstrumentItems.h.
Referenced by InstrumentItem::serialize(), InstrumentItem::setWithPolarizerAnalyzer(), and InstrumentItem::withPolarizerAnalyzer().