3#ifndef EDM4EIC_CovDiag3f_H
4#define EDM4EIC_CovDiag3f_H
8#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
9#include "nlohmann/json_fwd.hpp"
26 :
xx{static_cast<float>(x)},
yy{static_cast<float>(y)},
zz{static_cast<float>(z)} {}
27 float operator()(
unsigned i,
unsigned j)
const {
return (i == j) ? *(&
xx + i) : 0.;}
34#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
35void to_json(nlohmann::json& j,
const CovDiag3f& value);
Definition CovDiag3f.h:18
CovDiag3f(double x, double y, double z)
Definition CovDiag3f.h:25
float operator()(unsigned i, unsigned j) const
Definition CovDiag3f.h:27
float zz
Definition CovDiag3f.h:22
float yy
Definition CovDiag3f.h:21
CovDiag3f()
Definition CovDiag3f.h:24
float xx
Definition CovDiag3f.h:20
Definition CalorimeterHit.cc:18
std::ostream & operator<<(std::ostream &o, const CalorimeterHit &value)
Definition CalorimeterHit.cc:97