#include <PhysicsTGraphPayload.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 22 of file PhysicsTGraphPayload.h.
PhysicsTGraphPayload::PhysicsTGraphPayload |
( |
| ) |
|
PhysicsTGraphPayload::PhysicsTGraphPayload |
( |
const TGraph & |
graph | ) |
|
constructor from TGraph object
Definition at line 11 of file PhysicsTGraphPayload.cc.
References name_, numPoints_, x_, and y_.
14 if ( graph.GetN() >= 1 ) {
15 name_ = graph.GetName();
19 for (
int iPoint = 0; iPoint <
numPoints_; ++iPoint ) {
20 Double_t xPoint, yPoint;
21 graph.GetPoint(iPoint, xPoint, yPoint);
PhysicsTGraphPayload::operator TGraph |
( |
| ) |
const |
void PhysicsTGraphPayload::print |
( |
std::ostream & |
stream | ) |
const |
print points of TGraph object
Definition at line 43 of file PhysicsTGraphPayload.cc.
References name_, numPoints_, x_, and y_.
45 stream <<
"<PhysicsTGraphPayload::print (name = " <<
name_ <<
")>:" << std::endl;
46 for (
int iPoint = 0; iPoint <
numPoints_; ++iPoint ) {
47 stream <<
"point #" << iPoint <<
": x = " <<
x_[iPoint] <<
", y = " <<
y_[iPoint] << std::endl;
template<class Archive >
void PhysicsTGraphPayload::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
friend class boost::serialization::access |
|
friend |
template<typename CondSerializationT , typename Enabled >
std::string PhysicsTGraphPayload::name_ |
|
protected |
int PhysicsTGraphPayload::numPoints_ |
|
protected |
std::vector<float> PhysicsTGraphPayload::x_ |
|
protected |
std::vector<float> PhysicsTGraphPayload::y_ |
|
protected |