#include <PhysicsTGraphPayload.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 22 of file PhysicsTGraphPayload.h.
◆ PhysicsTGraphPayload() [1/2]
PhysicsTGraphPayload::PhysicsTGraphPayload |
( |
| ) |
|
◆ PhysicsTGraphPayload() [2/2]
PhysicsTGraphPayload::PhysicsTGraphPayload |
( |
const TGraph & |
graph | ) |
|
constructor from TGraph object
Definition at line 9 of file PhysicsTGraphPayload.cc.
References name_, numPoints_, x_, and y_.
10 if (graph.GetN() >= 1) {
11 name_ = graph.GetName();
15 for (
int iPoint = 0; iPoint <
numPoints_; ++iPoint) {
16 Double_t xPoint, yPoint;
17 graph.GetPoint(iPoint, xPoint, yPoint);
◆ operator TGraph()
PhysicsTGraphPayload::operator TGraph |
( |
| ) |
const |
◆ print()
void PhysicsTGraphPayload::print |
( |
std::ostream & |
stream | ) |
const |
print points of TGraph object
Definition at line 37 of file PhysicsTGraphPayload.cc.
References name_, numPoints_, cms::cuda::stream, x_, and y_.
38 stream <<
"<PhysicsTGraphPayload::print (name = " <<
name_ <<
")>:" << std::endl;
39 for (
int iPoint = 0; iPoint <
numPoints_; ++iPoint) {
40 stream <<
"point #" << iPoint <<
": x = " <<
x_[iPoint] <<
", y = " <<
y_[iPoint] << std::endl;
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
◆ serialize()
template<class Archive >
void PhysicsTGraphPayload::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ cond::serialization::access
template<typename CondSerializationT , typename Enabled >
◆ name_
std::string PhysicsTGraphPayload::name_ |
|
protected |
◆ numPoints_
int PhysicsTGraphPayload::numPoints_ |
|
protected |
◆ x_
std::vector<float> PhysicsTGraphPayload::x_ |
|
protected |
◆ y_
std::vector<float> PhysicsTGraphPayload::y_ |
|
protected |