EDM4eic
EIC data model
Toggle main menu visibility
Loading...
Searching...
No Matches
Surface.h
Go to the documentation of this file.
1
// AUTOMATICALLY GENERATED FILE - DO NOT EDIT
2
3
#ifndef EDM4EIC_Surface_H
4
#define EDM4EIC_Surface_H
5
6
#include <array>
7
#include <cstdint>
8
#include <ostream>
9
10
#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
11
#include "nlohmann/json_fwd.hpp"
12
#endif
13
14
namespace
edm4eic
{
15
16
17
/** @class Surface
18
*
19
* @author:
20
*/
21
class
Surface
{
22
public
:
23
int
surfaceType
{};
///< Cone = 0, Cylinder = 1, Disc = 2, Perigee = 3, Plane = 4, Straw = 5, Curvilinear = 6, Other = 7
24
int
boundsType
{};
///< eCone = 0, eCylinder = 1, eDiamond = 2, eDisc = 3, eEllipse = 4, eLine = 5, eRectangle = 6, eTrapezoid = 7, eTriangle = 8, eDiscTrapezoid = 9, eConvexPolygon = 10, eAnnulus = 11, eBoundless = 12, eOther = 13
25
std::uint64_t
geometryId
{};
///< bit pattern volume:8,boundary:8,layer:12,approach:8,sensitive:20,extra:8
26
std::uint64_t
identifier
{};
///< identifier of associated detector element, if available
27
std::array<double, 10>
boundValues
{};
///< bound values, e.g. for RectangleBounds, BoundValues are eMinX = 0, eMinY = 1, eMaxX = 2, eMaxY = 3, eSize = 4
28
std::uint32_t
boundValuesSize
{};
///< size of bound values
29
std::array<double, 16>
transform
{};
///< row-wise 4x4 affine transform [R T; 0 1] with 3x3 rotation matrix R and translation column 3-vector T
30
31
32
};
33
34
std::ostream&
operator<<
(std::ostream& o,
const
Surface& value);
35
36
#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
37
void
to_json(nlohmann::json& j,
const
Surface& value);
38
#endif
39
40
namespace
v890 {
41
using
Surface
=
edm4eic::Surface
;
42
}
// namespace v890
43
44
45
}
// namespace edm4eic
46
47
48
#endif
edm4eic::Surface
Definition
Surface.h:21
edm4eic::Surface::surfaceType
int surfaceType
Cone = 0, Cylinder = 1, Disc = 2, Perigee = 3, Plane = 4, Straw = 5, Curvilinear = 6,...
Definition
Surface.h:23
edm4eic::Surface::boundValues
std::array< double, 10 > boundValues
bound values, e.g. for RectangleBounds, BoundValues are eMinX = 0, eMinY = 1, eMaxX = 2,...
Definition
Surface.h:27
edm4eic::Surface::geometryId
std::uint64_t geometryId
bit pattern volume:8,boundary:8,layer:12,approach:8,sensitive:20,extra:8
Definition
Surface.h:25
edm4eic::Surface::boundsType
int boundsType
eCone = 0, eCylinder = 1, eDiamond = 2, eDisc = 3, eEllipse = 4, eLine = 5, eRectangle = 6,...
Definition
Surface.h:24
edm4eic::Surface::transform
std::array< double, 16 > transform
row-wise 4x4 affine transform [R T; 0 1] with 3x3 rotation matrix R and translation column 3-vector T
Definition
Surface.h:29
edm4eic::Surface::boundValuesSize
std::uint32_t boundValuesSize
size of bound values
Definition
Surface.h:28
edm4eic::Surface::identifier
std::uint64_t identifier
identifier of associated detector element, if available
Definition
Surface.h:26
edm4eic::v890::Surface
edm4eic::Surface Surface
Definition
Surface.h:41
edm4eic
Definition
CalorimeterHit.cc:17
edm4eic::operator<<
std::ostream & operator<<(std::ostream &o, const CalorimeterHit &value)
Definition
CalorimeterHit.cc:99
build
edm4eic
Surface.h
Generated by
1.17.0