BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 21 of file SphericalDetectorItem.h.
Public Member Functions | |
SphericalDetectorItem () | |
double | axesToCoreUnitsFactor () const override |
Scales the values provided by axes (to perform deg->rad conversion on the way to domain). More... | |
AXIS_PROPERTY (alphaAxis) | |
AXIS_PROPERTY (phiAxis) | |
std::unique_ptr< IDetector > | createDetector () const |
void | importMasks (const MaskContainerItem *maskContainer) |
MaskItems & | maskItems () |
ResolutionFunctionItem * | resolutionFunction () const |
SelectionDescriptor< ResolutionFunctionItem * > | resolutionFunctionSelection () const |
void | serialize (Streamer &s) override |
template<typename T > | |
T * | setResolutionFunctionType () |
void | setXSize (size_t nx) override |
sets the size of x-axis of the detector More... | |
void | setYSize (size_t ny) override |
sets the size of y-axis of the detector More... | |
int | xSize () const override |
Returns the size of x-axis of the detector. More... | |
int | ySize () const override |
Returns the size of y-axis of the detector. More... | |
Protected Member Functions | |
void | addMasksToCore (IDetector *detector) const |
std::unique_ptr< IDetector > | createDomainDetector () const override |
std::unique_ptr< IResolutionFunction2D > | createResolutionFunction () const |
Protected Attributes | |
MaskItems | m_maskItems |
for creation of domain detector; only filled and relevant in jobs More... | |
SelectionProperty< ResolutionFunctionItem * > | m_resolutionFunction |
SphericalDetectorItem::SphericalDetectorItem | ( | ) |
Definition at line 29 of file SphericalDetectorItem.cpp.
References degree, SelectionProperty< T >::initWithInitializer(), and DetectorItem::m_resolutionFunction.
|
protectedinherited |
Definition at line 62 of file DetectorItems.cpp.
References DetectorItem::axesToCoreUnitsFactor(), DetectorItem::m_maskItems, DetectorItem::maskItems(), and MaskItems::maskItems().
Referenced by DetectorItem::createDetector().
|
overridevirtual |
Scales the values provided by axes (to perform deg->rad conversion on the way to domain).
Reimplemented from DetectorItem.
Definition at line 96 of file SphericalDetectorItem.cpp.
SphericalDetectorItem::AXIS_PROPERTY | ( | alphaAxis | ) |
SphericalDetectorItem::AXIS_PROPERTY | ( | phiAxis | ) |
|
inherited |
Definition at line 26 of file DetectorItems.cpp.
References DetectorItem::addMasksToCore(), DetectorItem::createDomainDetector(), and DetectorItem::createResolutionFunction().
Referenced by Instrument2DItem::createInstrument(), Instrument2DItem::createOffspecSimulation(), and Instrument2DItem::createScatteringSimulation().
|
overrideprotectedvirtual |
|
protectedinherited |
Definition at line 57 of file DetectorItems.cpp.
References DetectorItem::axesToCoreUnitsFactor(), ResolutionFunctionItem::createResolutionFunction(), and DetectorItem::m_resolutionFunction.
Referenced by DetectorItem::createDetector().
|
inherited |
Definition at line 37 of file DetectorItems.cpp.
References MaskItems::copy(), and DetectorItem::m_maskItems.
Referenced by Instrument2DItem::importMasks().
|
inherited |
Definition at line 42 of file DetectorItems.cpp.
References DetectorItem::m_maskItems.
Referenced by DetectorItem::addMasksToCore().
|
inherited |
Definition at line 47 of file DetectorItems.cpp.
References SelectionProperty< T >::get(), and DetectorItem::m_resolutionFunction.
|
inherited |
Definition at line 52 of file DetectorItems.cpp.
References DetectorItem::m_resolutionFunction.
Referenced by ResolutionFunctionEditor::ResolutionFunctionEditor(), ParameterTreeBuilder::addDetector(), and ResolutionFunctionEditor::createResolutionWidgets().
|
overridevirtual |
Implements DetectorItem.
Definition at line 48 of file SphericalDetectorItem.cpp.
References Streamer::assertVersion(), degree, DetectorItem::m_maskItems, DetectorItem::m_resolutionFunction, Serialize::rwClass(), ResolutionFunctionItem::setUnit(), and Streamer::xmlReader().
|
inherited |
Definition at line 73 of file DetectorItems.h.
References SelectionProperty< T >::get(), DetectorItem::m_resolutionFunction, and SelectionProperty< T >::set().
|
overridevirtual |
sets the size of x-axis of the detector
Implements DetectorItem.
Definition at line 86 of file SphericalDetectorItem.cpp.
|
overridevirtual |
sets the size of y-axis of the detector
Implements DetectorItem.
Definition at line 91 of file SphericalDetectorItem.cpp.
|
overridevirtual |
Returns the size of x-axis of the detector.
Implements DetectorItem.
Definition at line 76 of file SphericalDetectorItem.cpp.
|
overridevirtual |
Returns the size of y-axis of the detector.
Implements DetectorItem.
Definition at line 81 of file SphericalDetectorItem.cpp.
|
protectedinherited |
for creation of domain detector; only filled and relevant in jobs
Definition at line 68 of file DetectorItems.h.
Referenced by DetectorItem::addMasksToCore(), DetectorItem::importMasks(), DetectorItem::maskItems(), RectangularDetectorItem::serialize(), and serialize().
|
protectedinherited |
Definition at line 69 of file DetectorItems.h.
Referenced by RectangularDetectorItem::RectangularDetectorItem(), SphericalDetectorItem(), DetectorItem::createResolutionFunction(), DetectorItem::resolutionFunction(), DetectorItem::resolutionFunctionSelection(), RectangularDetectorItem::serialize(), serialize(), and DetectorItem::setResolutionFunctionType().