Definition at line 96 of file JsonClusterTap.cxx.
blob_jsoner::blob_jsoner |
( |
double |
ds | ) |
|
|
inline |
Json::Value blob_jsoner::operator() |
( |
const cluster_node_t & |
n | ) |
|
|
inline |
Definition at line 102 of file JsonClusterTap.cxx.
107 const double xplane = iwire->center().x();
110 const double xsign = iface->ident() == 0 ? 1.0 : -1.0;
115 double x0 = xplane + xsign * islice->start()*
drift_speed;
117 const auto& coords = iface->raygrid();
121 ret[
"ident"] = iblob->ident();
122 ret[
"value"] = iblob->value();
123 ret[
"error"] = iblob->uncertainty();
124 ret[
"faceid"] = iblob->face()->ident();
125 ret[
"sliceid"] = iblob->slice()->ident();
127 const auto& blob = iblob->shape();
128 for (
const auto&
c : blob.corners()) {
133 ret[
"corners"] = jcorners;
static Json::Value jpoint(const Point &p)
GenericValue< UTF8<> > Value
GenericValue with UTF8 encoding.
const GenericPointer< typename T::ValueType > & pointer
double blob_jsoner::drift_speed |
The documentation for this struct was generated from the following file: