EDM4eic
EIC data model
Toggle main menu visibility
Loading...
Searching...
No Matches
CovDiag3f.h
Go to the documentation of this file.
1
// AUTOMATICALLY GENERATED FILE - DO NOT EDIT
2
3
#ifndef EDM4EIC_CovDiag3f_H
4
#define EDM4EIC_CovDiag3f_H
5
6
#include <ostream>
7
8
#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
9
#include "nlohmann/json_fwd.hpp"
10
#endif
11
12
namespace
edm4eic
{
13
14
15
/** @class CovDiag3f
16
*
17
* @author:
18
*/
19
class
CovDiag3f
{
20
public
:
21
float
xx
{};
22
float
yy
{};
23
float
zz
{};
24
25
CovDiag3f
() :
xx
{0},
yy
{0},
zz
{0} {}
26
CovDiag3f
(
double
x,
double
y,
double
z)
27
:
xx
{static_cast<float>(x)},
yy
{static_cast<float>(y)},
zz
{static_cast<float>(z)} {}
28
float
operator()
(
unsigned
i,
unsigned
j)
const
{
return
(i == j) ? *(&
xx
+ i) : 0.;}
29
30
31
};
32
33
std::ostream&
operator<<
(std::ostream& o,
const
CovDiag3f& value);
34
35
#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
36
void
to_json(nlohmann::json& j,
const
CovDiag3f& value);
37
#endif
38
39
namespace
v890 {
40
using
CovDiag3f
=
edm4eic::CovDiag3f
;
41
}
// namespace v890
42
43
44
}
// namespace edm4eic
45
46
47
#endif
edm4eic::CovDiag3f
Definition
CovDiag3f.h:19
edm4eic::CovDiag3f::CovDiag3f
CovDiag3f(double x, double y, double z)
Definition
CovDiag3f.h:26
edm4eic::CovDiag3f::operator()
float operator()(unsigned i, unsigned j) const
Definition
CovDiag3f.h:28
edm4eic::CovDiag3f::zz
float zz
Definition
CovDiag3f.h:23
edm4eic::CovDiag3f::yy
float yy
Definition
CovDiag3f.h:22
edm4eic::CovDiag3f::CovDiag3f
CovDiag3f()
Definition
CovDiag3f.h:25
edm4eic::CovDiag3f::xx
float xx
Definition
CovDiag3f.h:21
edm4eic::v890::CovDiag3f
edm4eic::CovDiag3f CovDiag3f
Definition
CovDiag3f.h:40
edm4eic
Definition
CalorimeterHit.cc:17
edm4eic::operator<<
std::ostream & operator<<(std::ostream &o, const CalorimeterHit &value)
Definition
CalorimeterHit.cc:99
build
edm4eic
CovDiag3f.h
Generated by
1.17.0