The Gaudi Framework
master (37c0b60a)
Hit.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <vector>
14
15
namespace
Gaudi::Example::TinyExperiment
{
16
20
struct
Hit
{
21
// This default constructor is neede priori to C++20 in order to allow
22
// emplace_back for Hits
23
Hit
(
float
_x,
float
_y ) :
x
( _x ),
y
( _y ) {}
24
float
x
,
y
;
25
};
26
27
using
Hits
=
std::vector<Hit>
;
28
29
}
// namespace Gaudi::Example::TinyExperiment
std::vector
STL class.
Gaudi::Example::TinyExperiment::Hit::Hit
Hit(float _x, float _y)
Definition:
Hit.h:23
Gaudi::Example::TinyExperiment::Hit::y
float y
Definition:
Hit.h:24
Gaudi::Example::TinyExperiment::Hit
most simple Hit ever : in 2D space, and thus fully defined by x and y
Definition:
Hit.h:20
Gaudi::Example::TinyExperiment
Definition:
CheckerAlg.cpp:20
Gaudi::Example::TinyExperiment::Hit::x
float x
Definition:
Hit.h:24
GaudiExamples
TinyExperiment
src
Hit.h
Generated on Thu Dec 19 2024 15:34:58 for The Gaudi Framework by
1.8.18