Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-02 08:51:42

0001 #ifndef DDVCS_OBSERVABLE_RESULT_H
0002 #define DDVCS_OBSERVABLE_RESULT_H
0003 
0004 /**
0005  * @file DDVCSObservableResult.h
0006  * @author: Bryan BERTHOU (SPhN / CEA Saclay)
0007  * @date September 21, 2015
0008  * @version 1.0
0009  */
0010 
0011 #include "../../../utils/type/PhysicalType.h"
0012 #include "../ObservableResult.h"
0013 #include "DDVCSObservableKinematic.h"
0014 
0015 namespace PARTONS {
0016 
0017 /**
0018  * @class DDVCSObservableResult
0019  *
0020  * @brief Class representing single result of DDVCS observable computation.
0021  *
0022  * This class is used to store a result of a single DDVCS observable computation.
0023  */
0024 class DDVCSObservableResult: public ObservableResult<DDVCSObservableKinematic> {
0025 
0026 public:
0027 
0028     /**
0029      * Default constructor.
0030      */
0031     DDVCSObservableResult();
0032 
0033     /**
0034      * Assignment constructor.
0035      * @param value Value to be assigned.
0036      */
0037     DDVCSObservableResult(const PhysicalType<double>& value);
0038 
0039     /**
0040      * Assignment constructor.
0041      * @param kinematic DDVCS observable kinematic to be assigned.
0042      */
0043     DDVCSObservableResult(const DDVCSObservableKinematic& kinematic);
0044 
0045     /**
0046      * Assignment constructor.
0047      * @param value Value to be assigned.
0048      * @param kinematic DDVCS observable kinematic to be assigned.
0049      */
0050     DDVCSObservableResult(const PhysicalType<double>& value,
0051             const DDVCSObservableKinematic& kinematic);
0052 
0053     /**
0054      * Copy constructor.
0055      * @param other Object to be copied.
0056      */
0057     DDVCSObservableResult(const DDVCSObservableResult& other);
0058 
0059     /**
0060      * Destructor.
0061      */
0062     virtual ~DDVCSObservableResult();
0063 };
0064 
0065 } /* namespace PARTONS */
0066 
0067 #endif /* DDVCS_OBSERVABLE_RESULT_H */