15 #ifndef BORNAGAIN_CORE_DETECTOR_DETECTIONPROPERTIES_H
16 #define BORNAGAIN_CORE_DETECTOR_DETECTIONPROPERTIES_H
35 double total_transmission);
50 double total_transmission)
const;
Include to deal with Eigen alignment centrally.
Detector properties (efficiency, transmission).
double m_efficiency
efficiency of polarization analysis
virtual ~DetectionProperties()=default
double m_total_transmission
total transmission of polarization analysis
double analyzerEfficiency() const
will always return positive value
void setAnalyzerProperties(const kvector_t direction, double efficiency, double total_transmission)
Sets the polarization analyzer characteristics of the detector.
void accept(INodeVisitor *visitor) const final
Calls the INodeVisitor's visit method.
double analyzerTotalTransmission() const
bool checkAnalyzerProperties(const kvector_t direction, double efficiency, double total_transmission) const
Verify if the given analyzer properties are physical.
kvector_t m_direction
direction of polarization analysis
kvector_t analyzerDirection() const
Retrieve the analyzer characteristics.
Eigen::Matrix2cd analyzerOperator() const
Return the polarization density matrix (in spin basis along z-axis)
Visitor interface to visit ISample objects.
Base class for tree-like structures containing parameterized objects.