#include <partondistribution.h>
Public Member Functions | |
| partondistribution_with_qed (void) | |
| partondistribution_with_qed (int n, double Q0, double A[], double alpha[], double beta[], double electric_charge=0.0, int eta=1) | |
| partondistribution_with_qed (int n, double Q0, const std::valarray< double > &A, const std::valarray< double > &alpha, const std::valarray< double > &beta, double electric_charge, int eta=1) | |
| bool | with_qed (void) const |
| double | get_electric_charge (void) const |
Protected Attributes | |
| double | electric_charge |
| the electric charge of the parton | |
Friends | |
| partondistribution_with_qed | operator+ (const partondistribution_with_qed &f1, const partondistribution_with_qed &f2) |
The class partondistribution_with_qed.
| partondistribution_with_qed | ( | void | ) |
Default constructor
| partondistribution_with_qed | ( | int | nr, | |
| double | Q0r, | |||
| double | Ar[], | |||
| double | alphar[], | |||
| double | betar[], | |||
| double | electric_charger = 0.0, |
|||
| int | etar = 1 | |||
| ) |
Standard constructor
| partondistribution_with_qed | ( | int | nr, | |
| double | Q0r, | |||
| const std::valarray< double > & | Ar, | |||
| const std::valarray< double > & | alphar, | |||
| const std::valarray< double > & | betar, | |||
| double | electric_charger, | |||
| int | etar = 1 | |||
| ) |
Standard constructor from valarray
| double get_electric_charge | ( | void | ) | const [inline, virtual] |
Returns the electric charge of the parton.
Reimplemented from partondistribution.
| bool with_qed | ( | void | ) | const [inline, virtual] |
Return true for a partondistribution_with_qed.
Reimplemented from partondistribution.
| partondistribution_with_qed operator+ | ( | const partondistribution_with_qed & | f1, | |
| const partondistribution_with_qed & | f2 | |||
| ) | [friend] |
Addition of two parton distributions
The values of
, the electric charge and
of the two summands have to agree, otherwise the function throws an exception.
1.6.2-20100208