15 #ifndef BORNAGAIN_CORE_DETECTOR_DETECTIONPROPERTIES_H 
   16 #define BORNAGAIN_CORE_DETECTOR_DETECTIONPROPERTIES_H 
   35                                double total_transmission);
 
   43     double analyzerTotalTransmission() 
const;
 
   49     bool checkAnalyzerProperties(
const kvector_t direction, 
double efficiency,
 
   50                                  double total_transmission) 
const;
 
   54     double m_total_transmission; 
 
Include to deal with Eigen alignment centrally.
 
Detector properties (efficiency, transmission).
 
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.
 
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.