|
PARTONS
|
PARtonic Tomography Of Nucleon Software
|
![]() |
Abstract class representing single observable kinematics. More...
Public Member Functions | |
| virtual | ~ObservableKinematic () |
| 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... | |
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) |
Protected Member Functions | |
| ObservableKinematic (const std::string &className, ChannelType::Type channelType) | |
| Default constructor. More... | |
| ObservableKinematic (const ObservableKinematic &other) | |
| Copy constructor. More... | |
| virtual void | updateHashSum () const =0 |
| Update hash sum (see Kinematic::m_hashSum variable). 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... | |
Abstract class representing single observable kinematics.
This class represents a single observable kinematics (none).
|
virtual |
Destructor.
|
protected |
Default constructor.
|
protected |
Copy constructor.
| other | Object to be copied. |
|
virtual |
Configure via parameters.
| parameters | Set of parameters to be set. |
Reimplemented from PARTONS::Kinematic.
Reimplemented in PARTONS::TCSObservableKinematic, PARTONS::GAM2ObservableKinematic, PARTONS::DVMPObservableKinematic, PARTONS::DVCSObservableKinematic, and PARTONS::DDVCSObservableKinematic.
| void PARTONS::ObservableKinematic::serialize | ( | ElemUtils::Packet & | packet | ) | const |
Serialize into given Packet.
| packet | Target Packet. |
| void PARTONS::ObservableKinematic::serializeIntoStdVector | ( | std::vector< double > & | vec | ) | const |
Serialize to std::vector<double>.
|
virtual |
Return a pre-formatted characters string for output visualization of class member's values.
Reimplemented from PARTONS::Kinematic.
Reimplemented in PARTONS::TCSObservableKinematic, PARTONS::GAM2ObservableKinematic, PARTONS::DVMPObservableKinematic, PARTONS::DVCSObservableKinematic, and PARTONS::DDVCSObservableKinematic.
| void PARTONS::ObservableKinematic::unserialize | ( | ElemUtils::Packet & | packet | ) |
Retrieve data from given Packet.
| packet | Input Packet. |
| void PARTONS::ObservableKinematic::unserializeFromStdVector | ( | std::vector< double >::const_iterator & | it, |
| const std::vector< double >::const_iterator & | end | ||
| ) |
Unserialize from std::vector<double>.
|
protectedpure virtual |
Update hash sum (see Kinematic::m_hashSum variable).
Implements PARTONS::Kinematic.
Implemented in PARTONS::TCSObservableKinematic, PARTONS::GAM2ObservableKinematic, PARTONS::DVMPObservableKinematic, PARTONS::DVCSObservableKinematic, and PARTONS::DDVCSObservableKinematic.