Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef DVMP_OBSERVABLE_RESULT_H
0002 #define DVMP_OBSERVABLE_RESULT_H
0003 
0004 /**
0005  * @file DVMPObservableResult.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 "DVMPObservableKinematic.h"
0014 
0015 namespace PARTONS {
0016 
0017 /**
0018  * @class DVMPObservableResult
0019  *
0020  * @brief Class representing single result of DVMP observable computation.
0021  *
0022  * This class is used to store a result of a single DVMP observable computation.
0023  */
0024 class DVMPObservableResult: public ObservableResult<DVMPObservableKinematic> {
0025 
0026 public:
0027 
0028     /**
0029      * Default constructor.
0030      */
0031     DVMPObservableResult();
0032 
0033     /**
0034      * Assignment constructor.
0035      * @param value Value to be assigned.
0036      */
0037     DVMPObservableResult(const PhysicalType<double>& value);
0038 
0039     /**
0040      * Assignment constructor.
0041      * @param kinematic DVMP observable kinematic to be assigned.
0042      */
0043     DVMPObservableResult(const DVMPObservableKinematic& kinematic);
0044 
0045     /**
0046      * Assignment constructor.
0047      * @param value Value to be assigned.
0048      * @param kinematic DVMP observable kinematic to be assigned.
0049      */
0050     DVMPObservableResult(const PhysicalType<double>& value,
0051             const DVMPObservableKinematic& kinematic);
0052 
0053     /**
0054      * Copy constructor.
0055      * @param other Object to be copied.
0056      */
0057     DVMPObservableResult(const DVMPObservableResult& other);
0058 
0059     /**
0060      * Destructor.
0061      */
0062     virtual ~DVMPObservableResult();
0063 };
0064 
0065 } /* namespace PARTONS */
0066 
0067 #endif /* DVMP_OBSERVABLE_RESULT_H */