|
PARTONS
|
PARtonic Tomography Of Nucleon Software
|
![]() |
Class representing single observable kinematics for DDVCS process. More...
Public Member Functions | |
| DDVCSObservableKinematic () | |
| Default constructor. More... | |
| DDVCSObservableKinematic (double xB, double t, double Q2, double Q2Prim, double E, double phi, double phiL, double thetaL) | |
| Assignment constructor. More... | |
| DDVCSObservableKinematic (const PhysicalType< double > &xB, const PhysicalType< double > &t, const PhysicalType< double > &Q2, const PhysicalType< double > &Q2Prim, const PhysicalType< double > &E, const PhysicalType< double > &phi, const PhysicalType< double > &phiL, const PhysicalType< double > &thetaL) | |
| Assignment constructor. More... | |
| DDVCSObservableKinematic (const ElemUtils::GenericType &xB, const ElemUtils::GenericType &t, const ElemUtils::GenericType &Q2, const ElemUtils::GenericType &Q2Prim, const ElemUtils::GenericType &E, const ElemUtils::GenericType &phi, const ElemUtils::GenericType &phiL, const ElemUtils::GenericType &thetaL) | |
| Assignment constructor. More... | |
| DDVCSObservableKinematic (const DDVCSObservableKinematic &other) | |
| Copy constructor. More... | |
| virtual | ~DDVCSObservableKinematic () |
| Destructor. More... | |
| virtual void | configure (const ElemUtils::Parameters ¶meters) |
| Configure via parameters. More... | |
| virtual std::string | toString () const |
| Return a pre-formatted characters string for output visualization of class member's values. More... | |
| void | serialize (ElemUtils::Packet &packet) const |
| Serialize into given Packet. More... | |
| void | unserialize (ElemUtils::Packet &packet) |
| Retrieve data from given Packet. More... | |
| void | serializeIntoStdVector (std::vector< double > &vec) const |
| Serialize to std::vector<double>. More... | |
| void | unserializeFromStdVector (std::vector< double >::const_iterator &it, const std::vector< double >::const_iterator &end) |
| Unserialize from std::vector<double>. More... | |
| bool | operator== (const DDVCSObservableKinematic &other) const |
| Is equal operator. More... | |
| bool | operator!= (const DDVCSObservableKinematic &other) const |
| Is different operator. More... | |
| const PhysicalType< double > & | getXB () const |
| Get Bjorken variable. More... | |
| void | setXB (const PhysicalType< double > &xB) |
| Set Bjorken variable. More... | |
| void | setXB (double xB, PhysicalUnit::Type unit=PhysicalUnit::NONE) |
| Set Bjorken variable. More... | |
| const PhysicalType< double > & | getT () const |
| Get four-momentum transfer squared of hadron target. More... | |
| void | setT (const PhysicalType< double > &t) |
| Set four-momentum transfer squared of hadron target. More... | |
| void | setT (double t, PhysicalUnit::Type unit=PhysicalUnit::GEV2) |
| Set four-momentum transfer squared of hadron target. More... | |
| const PhysicalType< double > & | getQ2 () const |
| Get virtual-photon virtuality. More... | |
| void | setQ2 (const PhysicalType< double > &Q2) |
| Set virtual-photon virtuality. More... | |
| void | setQ2 (double Q2, PhysicalUnit::Type unit=PhysicalUnit::GEV2) |
| Set virtual-photon virtuality. More... | |
| const PhysicalType< double > & | getQ2Prim () const |
| Get outgoing virtual-photon virtuality. More... | |
| void | setQ2Prim (const PhysicalType< double > &Q2Prim) |
| Set outgoing virtual-photon virtuality. More... | |
| void | setQ2Prim (double Q2Prim, PhysicalUnit::Type unit=PhysicalUnit::GEV2) |
| Set outgoing virtual-photon virtuality. More... | |
| const PhysicalType< double > & | getE () const |
| Get beam energy. More... | |
| void | setE (const PhysicalType< double > &E) |
| Set beam energy. More... | |
| void | setE (double E, PhysicalUnit::Type unit=PhysicalUnit::GEV) |
| Set beam energy. More... | |
| const PhysicalType< double > & | getPhi () const |
| Get angle between leptonic and hadronic planes (in radians). More... | |
| void | setPhi (const PhysicalType< double > &phi) |
| Set angle between leptonic and hadronic planes (in radians). More... | |
| void | setPhi (double phi, PhysicalUnit::Type unit=PhysicalUnit::RAD) |
| Set angle between leptonic and hadronic planes (in radians). More... | |
| const PhysicalType< double > & | getPhiL () const |
| Get azimuthal angle of the lepton pair (in radians). More... | |
| void | setPhiL (const PhysicalType< double > &phiL) |
| Set azimuthal angle of the lepton pair (in radians). More... | |
| void | setPhiL (double phiL, PhysicalUnit::Type unit=PhysicalUnit::RAD) |
| Set azimuthal angle of the lepton pair (in radians). More... | |
| const PhysicalType< double > & | getThetaL () const |
| Get polar angle of the lepton pair (in radians). More... | |
| void | setThetaL (const PhysicalType< double > &thetaL) |
| Set polar angle of the lepton pair (in radians). More... | |
| void | setThetaL (double thetaL, PhysicalUnit::Type unit=PhysicalUnit::RAD) |
| Set polar angle of the lepton pair (in radians). More... | |
Public Member Functions inherited from PARTONS::ObservableKinematic | |
| virtual | ~ObservableKinematic () |
| Destructor. More... | |
| void | serialize (ElemUtils::Packet &packet) const |
| Serialize into given Packet. More... | |
| void | unserialize (ElemUtils::Packet &packet) |
| Retrieve data from given Packet. More... | |
| void | serializeIntoStdVector (std::vector< double > &vec) const |
| Serialize to std::vector<double>. More... | |
| void | unserializeFromStdVector (std::vector< double >::const_iterator &it, const std::vector< double >::const_iterator &end) |
| Unserialize from std::vector<double>. More... | |
Public Member Functions inherited from PARTONS::Kinematic | |
| virtual | ~Kinematic () |
| Destructor. More... | |
| void | serialize (ElemUtils::Packet &packet) const |
| Serialize into given Packet. More... | |
| void | unserialize (ElemUtils::Packet &packet) |
| Retrieve data from given Packet. More... | |
| void | serializeIntoStdVector (std::vector< double > &vec) const |
| Serialize to std::vector<double>. More... | |
| void | unserializeFromStdVector (std::vector< double >::const_iterator &it, const std::vector< double >::const_iterator &end) |
| Unserialize from std::vector<double>. More... | |
| ChannelType::Type | getChannelType () const |
| Get channel type. More... | |
| const std::string & | getHashSum () const |
| Get hash sum of class content. More... | |
| void | setHashSum (const std::string &hashSum) const |
| Set hash sum of class content. More... | |
Public Member Functions inherited from PARTONS::BaseObject | |
| BaseObject (const std::string &className) | |
| Constructor. More... | |
| virtual | ~BaseObject () |
| Default destructor. More... | |
| virtual BaseObject * | clone () const |
| Virtual clone function to allow the factory to clone all derived members object stored in the BaseObjectRegistry. More... | |
| virtual void | resolveObjectDependencies () |
| Because of the initialization step order of the program, objects are registered in a total random order and some objects depend on others. More... | |
| void | serialize (ElemUtils::Packet &packet) const |
| Used to split a complex C++ object into a concatenation of simple types. More... | |
| void | unserialize (ElemUtils::Packet &packet) |
| Used to rebuild a complex C++ object from a concatenation of simple type. More... | |
| bool | operator< (const BaseObject &other) const |
| Overload of < operator to sort BaseObject object by its indexId value. More... | |
| const std::string & | getClassName () const |
| unsigned int | getObjectId () const |
| int | getIndexId () const |
| void | setIndexId (int indexId) |
Static Public Attributes | |
| static const std::string | DDVCS_OBSERVABLE_KINEMATIC_CLASS_NAME |
| Type of the kinematic in XML automation. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_XB = "xB" |
| Parameter name to set variable \(x_{B}\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_Q2 = "Q2" |
| Parameter name to set variable \(Q^{2}\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_Q2PRIM |
| Parameter name to set variable \(Q^{2}'\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_BEAM_ENERGY |
| Parameter name to set variable \(E_{b}\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_PHI = "phi" |
| Parameter name to set variable \(\phi\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_PHIL |
| Parameter name to set variable \(\phi_{l}\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_THETAL |
| Parameter name to set variable \(\theta_{l}\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_XB_UNIT |
| Parameter name to set unit of variable \(x_{B}\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_Q2_UNIT |
| Parameter name to set unit of variable \(Q^{2}\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_Q2PRIM_UNIT |
| Parameter name to set unit of variable \(Q^{2}'\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_BEAM_ENERGY_UNIT |
| Parameter name to set unit of variable \(E_{b}\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_PHI_UNIT |
| Parameter name to set unit of variable \(\phi\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_PHIL_UNIT |
| Parameter name to set unit of variable \(\phi_{l}\) via configuration methods. More... | |
| static const std::string | KINEMATIC_PARAMETER_NAME_THETAL_UNIT |
| Parameter name to set unit of variable \(\theta_{l}\) via configuration methods. More... | |
Protected Member Functions | |
| virtual void | updateHashSum () const |
| Update hash sum (see Kinematic::m_hashSum variable). More... | |
Protected Member Functions inherited from PARTONS::ObservableKinematic | |
| ObservableKinematic (const std::string &className, ChannelType::Type channelType) | |
| Default constructor. More... | |
| ObservableKinematic (const ObservableKinematic &other) | |
| Copy constructor. More... | |
Protected Member Functions inherited from PARTONS::Kinematic | |
| Kinematic (const std::string &className, ChannelType::Type channelType) | |
| Default constructor. More... | |
| Kinematic (const Kinematic &other) | |
| Copy constructor. More... | |
Protected Member Functions inherited from PARTONS::BaseObject | |
| BaseObject (const BaseObject &other) | |
| Copy constructor. More... | |
| void | info (const std::string &functionName, const std::string &message) const |
| Print info message into logger. More... | |
| void | debug (const std::string &functionName, const std::string &message) const |
| Print debug message into logger. More... | |
| void | warn (const std::string &functionName, const std::string &message) const |
| Print warning message into logger. More... | |
| void | errorMissingParameter (const std::string ¶meterName) const |
| Use in automation process to throw exception when a parameter is missing from the XML scenario file. More... | |
Private Attributes | |
| PhysicalType< double > | m_xB |
| Bjorken variable. More... | |
| PhysicalType< double > | m_t |
| Four-momentum transfer squared of hadron target (in \(GeV^{2}\)). More... | |
| PhysicalType< double > | m_Q2 |
| Virtual-photon virtuality (in \(GeV^{2}\)). More... | |
| PhysicalType< double > | m_Q2Prim |
| Virtual-photon virtuality (in \(GeV^{2}\)). More... | |
| PhysicalType< double > | m_E |
| Beam energy (in GeV). More... | |
| PhysicalType< double > | m_phi |
| Angle between leptonic and hadronic planes (in radians, Trento convention). More... | |
| PhysicalType< double > | m_phiL |
| Azimuthal angle of the lepton pair (in radians). More... | |
| PhysicalType< double > | m_thetaL |
| Polar angle of the lepton pair (in radians). More... | |
Class representing single observable kinematics for DDVCS process.
This class represents a single observable kinematics for DDVCS process (x_{B}, t, \(Q^{2}\), \(Q^{'2}\), E_{b}, \(\phi\), \(\theta\)).
| PARTONS::DDVCSObservableKinematic::DDVCSObservableKinematic | ( | ) |
Default constructor.
| PARTONS::DDVCSObservableKinematic::DDVCSObservableKinematic | ( | double | xB, |
| double | t, | ||
| double | Q2, | ||
| double | Q2Prim, | ||
| double | E, | ||
| double | phi, | ||
| double | phiL, | ||
| double | thetaL | ||
| ) |
Assignment constructor.
| xB | Bjorken variable. |
| t | Four-momentum transfer squared of hadron target (in \(GeV^{2}\)). |
| Q2 | Virtual-photon virtuality (in \(GeV^{2}\)). |
| Q2Prim | Outgoing virtual-photon virtuality (in \(GeV^{2}\)). |
| E | Beam energy (in GeV). |
| phi | Angle between leptonic and hadronic planes (in radians, Trento convention). |
| phiL | Azimuthal angle of the lepton pair (in radians). |
| thetaL | Polar angle of the lepton pair (in radians). |
| PARTONS::DDVCSObservableKinematic::DDVCSObservableKinematic | ( | const PhysicalType< double > & | xB, |
| const PhysicalType< double > & | t, | ||
| const PhysicalType< double > & | Q2, | ||
| const PhysicalType< double > & | Q2Prim, | ||
| const PhysicalType< double > & | E, | ||
| const PhysicalType< double > & | phi, | ||
| const PhysicalType< double > & | phiL, | ||
| const PhysicalType< double > & | thetaL | ||
| ) |
Assignment constructor.
| xB | Bjorken variable. |
| t | Four-momentum transfer squared of hadron target (in \(GeV^{2}\)). |
| Q2 | Virtual-photon virtuality (in \(GeV^{2}\)). |
| Q2Prim | Outgoing virtual-photon virtuality (in \(GeV^{2}\)). |
| E | Beam energy (in GeV). |
| phi | Angle between leptonic and hadronic planes (in radians, Trento convention). |
| phiL | Azimuthal angle of the lepton pair (in radians). |
| thetaL | Polar angle of the lepton pair (in radians). |
| PARTONS::DDVCSObservableKinematic::DDVCSObservableKinematic | ( | const ElemUtils::GenericType & | xB, |
| const ElemUtils::GenericType & | t, | ||
| const ElemUtils::GenericType & | Q2, | ||
| const ElemUtils::GenericType & | Q2Prim, | ||
| const ElemUtils::GenericType & | E, | ||
| const ElemUtils::GenericType & | phi, | ||
| const ElemUtils::GenericType & | phiL, | ||
| const ElemUtils::GenericType & | thetaL | ||
| ) |
Assignment constructor.
| xB | Bjorken variable. |
| t | Four-momentum transfer squared of hadron target (in \(GeV^{2}\)). |
| Q2 | Virtual-photon virtuality (in \(GeV^{2}\)). |
| Q2Prim | Outgoing virtual-photon virtuality (in \(GeV^{2}\)). |
| E | Beam energy (in GeV). |
| phi | Angle between leptonic and hadronic planes (in radians, Trento convention). |
| phiL | Azimuthal angle of the lepton pair (in radians). |
| thetaL | Polar angle of the lepton pair (in radians). |
| PARTONS::DDVCSObservableKinematic::DDVCSObservableKinematic | ( | const DDVCSObservableKinematic & | other | ) |
Copy constructor.
| other | Object to be copied. |
|
virtual |
Destructor.
|
virtual |
Configure via parameters.
| parameters | Set of parameters to be set. |
Reimplemented from PARTONS::ObservableKinematic.
| const PhysicalType< double > & PARTONS::DDVCSObservableKinematic::getE | ( | ) | const |
Get beam energy.
| const PhysicalType< double > & PARTONS::DDVCSObservableKinematic::getPhi | ( | ) | const |
Get angle between leptonic and hadronic planes (in radians).
| const PhysicalType< double > & PARTONS::DDVCSObservableKinematic::getPhiL | ( | ) | const |
Get azimuthal angle of the lepton pair (in radians).
| const PhysicalType< double > & PARTONS::DDVCSObservableKinematic::getQ2 | ( | ) | const |
Get virtual-photon virtuality.
| const PhysicalType< double > & PARTONS::DDVCSObservableKinematic::getQ2Prim | ( | ) | const |
Get outgoing virtual-photon virtuality.
| const PhysicalType< double > & PARTONS::DDVCSObservableKinematic::getT | ( | ) | const |
Get four-momentum transfer squared of hadron target.
| const PhysicalType< double > & PARTONS::DDVCSObservableKinematic::getThetaL | ( | ) | const |
Get polar angle of the lepton pair (in radians).
| const PhysicalType< double > & PARTONS::DDVCSObservableKinematic::getXB | ( | ) | const |
Get Bjorken variable.
| bool PARTONS::DDVCSObservableKinematic::operator!= | ( | const DDVCSObservableKinematic & | other | ) | const |
Is different operator.
Checks of values of kinematic variables are different.
| bool PARTONS::DDVCSObservableKinematic::operator== | ( | const DDVCSObservableKinematic & | other | ) | const |
Is equal operator.
Checks if values of kinematic variables are the same.
| void PARTONS::DDVCSObservableKinematic::serialize | ( | ElemUtils::Packet & | packet | ) | const |
Serialize into given Packet.
| packet | Target Packet. |
| void PARTONS::DDVCSObservableKinematic::serializeIntoStdVector | ( | std::vector< double > & | vec | ) | const |
Serialize to std::vector<double>.
| void PARTONS::DDVCSObservableKinematic::setE | ( | const PhysicalType< double > & | E | ) |
Set beam energy.
| void PARTONS::DDVCSObservableKinematic::setE | ( | double | E, |
| PhysicalUnit::Type | unit = PhysicalUnit::GEV |
||
| ) |
Set beam energy.
| void PARTONS::DDVCSObservableKinematic::setPhi | ( | const PhysicalType< double > & | phi | ) |
Set angle between leptonic and hadronic planes (in radians).
| void PARTONS::DDVCSObservableKinematic::setPhi | ( | double | phi, |
| PhysicalUnit::Type | unit = PhysicalUnit::RAD |
||
| ) |
Set angle between leptonic and hadronic planes (in radians).
| void PARTONS::DDVCSObservableKinematic::setPhiL | ( | const PhysicalType< double > & | phiL | ) |
Set azimuthal angle of the lepton pair (in radians).
| void PARTONS::DDVCSObservableKinematic::setPhiL | ( | double | phiL, |
| PhysicalUnit::Type | unit = PhysicalUnit::RAD |
||
| ) |
Set azimuthal angle of the lepton pair (in radians).
| void PARTONS::DDVCSObservableKinematic::setQ2 | ( | const PhysicalType< double > & | Q2 | ) |
Set virtual-photon virtuality.
| void PARTONS::DDVCSObservableKinematic::setQ2 | ( | double | Q2, |
| PhysicalUnit::Type | unit = PhysicalUnit::GEV2 |
||
| ) |
Set virtual-photon virtuality.
| void PARTONS::DDVCSObservableKinematic::setQ2Prim | ( | const PhysicalType< double > & | Q2Prim | ) |
Set outgoing virtual-photon virtuality.
| void PARTONS::DDVCSObservableKinematic::setQ2Prim | ( | double | Q2Prim, |
| PhysicalUnit::Type | unit = PhysicalUnit::GEV2 |
||
| ) |
Set outgoing virtual-photon virtuality.
| void PARTONS::DDVCSObservableKinematic::setT | ( | const PhysicalType< double > & | t | ) |
Set four-momentum transfer squared of hadron target.
| void PARTONS::DDVCSObservableKinematic::setT | ( | double | t, |
| PhysicalUnit::Type | unit = PhysicalUnit::GEV2 |
||
| ) |
Set four-momentum transfer squared of hadron target.
| void PARTONS::DDVCSObservableKinematic::setThetaL | ( | const PhysicalType< double > & | thetaL | ) |
Set polar angle of the lepton pair (in radians).
| void PARTONS::DDVCSObservableKinematic::setThetaL | ( | double | thetaL, |
| PhysicalUnit::Type | unit = PhysicalUnit::RAD |
||
| ) |
Set polar angle of the lepton pair (in radians).
| void PARTONS::DDVCSObservableKinematic::setXB | ( | const PhysicalType< double > & | xB | ) |
Set Bjorken variable.
| void PARTONS::DDVCSObservableKinematic::setXB | ( | double | xB, |
| PhysicalUnit::Type | unit = PhysicalUnit::NONE |
||
| ) |
Set Bjorken variable.
|
virtual |
Return a pre-formatted characters string for output visualization of class member's values.
Reimplemented from PARTONS::ObservableKinematic.
| void PARTONS::DDVCSObservableKinematic::unserialize | ( | ElemUtils::Packet & | packet | ) |
Retrieve data from given Packet.
| packet | Input Packet. |
| void PARTONS::DDVCSObservableKinematic::unserializeFromStdVector | ( | std::vector< double >::const_iterator & | it, |
| const std::vector< double >::const_iterator & | end | ||
| ) |
Unserialize from std::vector<double>.
|
protectedvirtual |
Update hash sum (see Kinematic::m_hashSum variable).
Implements PARTONS::ObservableKinematic.
|
static |
Type of the kinematic in XML automation.
|
static |
Parameter name to set variable \(E_{b}\) via configuration methods.
|
static |
Parameter name to set unit of variable \(E_{b}\) via configuration methods.
|
static |
Parameter name to set variable \(\phi\) via configuration methods.
|
static |
Parameter name to set unit of variable \(\phi\) via configuration methods.
|
static |
Parameter name to set variable \(\phi_{l}\) via configuration methods.
|
static |
Parameter name to set unit of variable \(\phi_{l}\) via configuration methods.
|
static |
Parameter name to set variable \(Q^{2}\) via configuration methods.
|
static |
Parameter name to set unit of variable \(Q^{2}\) via configuration methods.
|
static |
Parameter name to set variable \(Q^{2}'\) via configuration methods.
|
static |
Parameter name to set unit of variable \(Q^{2}'\) via configuration methods.
|
static |
Parameter name to set variable \(\theta_{l}\) via configuration methods.
|
static |
Parameter name to set unit of variable \(\theta_{l}\) via configuration methods.
|
static |
Parameter name to set variable \(x_{B}\) via configuration methods.
|
static |
Parameter name to set unit of variable \(x_{B}\) via configuration methods.
|
private |
Beam energy (in GeV).
|
private |
Angle between leptonic and hadronic planes (in radians, Trento convention).
|
private |
Azimuthal angle of the lepton pair (in radians).
|
private |
Virtual-photon virtuality (in \(GeV^{2}\)).
|
private |
Virtual-photon virtuality (in \(GeV^{2}\)).
|
private |
Four-momentum transfer squared of hadron target (in \(GeV^{2}\)).
|
private |
Polar angle of the lepton pair (in radians).
|
private |
Bjorken variable.