Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef GAM2_XI_CONVERTER_XB_TO_XI_H
0002 #define GAM2_XI_CONVERTER_XB_TO_XI_H
0003 
0004 /**
0005  * @file GAM2XiConverterExact.h
0006  * @author Bryan BERTHOU (SPhN / CEA Saclay)
0007  * @date 28 October 2015
0008  * @version 1.0
0009  */
0010 
0011 #include <string>
0012 
0013 #include "../../../utils/type/PhysicalType.h"
0014 #include "GAM2XiConverterModule.h"
0015 
0016 namespace PARTONS {
0017 
0018 /**
0019  * @class GAM2XiConverterExact
0020  *
0021  * @brief Evaluation of GPD variable xi from kinematics for GAM2.
0022  *
0023  * \f$\xi = (M_{\gamma\gamma}^{2} - t)/(2 s)\f$
0024  */
0025 class GAM2XiConverterExact: public GAM2XiConverterModule {
0026 
0027 public:
0028 
0029     /**
0030      * Unique ID to automatically register the class in the registry.
0031      */
0032     static const unsigned int classId;
0033 
0034     /**
0035      * Constructor.
0036      * @param className Name of class.
0037      */
0038     GAM2XiConverterExact(const std::string &className);
0039 
0040     /**
0041      * Copy constructor.
0042      * @param other Object to be copied.
0043      */
0044     GAM2XiConverterExact(const GAM2XiConverterExact &other);
0045 
0046     /**
0047      * Destructor.
0048      */
0049     virtual ~GAM2XiConverterExact();
0050 
0051     virtual GAM2XiConverterExact* clone() const;
0052     virtual PhysicalType<double> compute(
0053             const GAM2ObservableKinematic& kinematic);
0054 };
0055 
0056 } /* namespace PARTONS */
0057 
0058 #endif /* GAM2_XI_CONVERTER_XB_TO_XI_H */