The Gaudi Framework
master (37c0b60a)
Track.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
21
struct
Track
{
22
// This default constructor is neede priori to C++20 in order to allow
23
// emplace_back for Tracks
24
Track
(
float
_theta ) :
theta
( _theta ) {}
25
float
theta
;
26
};
27
28
using
Tracks
=
std::vector<Track>
;
29
30
}
// namespace Gaudi::Example::TinyExperiment
std::vector
STL class.
Gaudi::Example::TinyExperiment
Definition:
CheckerAlg.cpp:20
Gaudi::Example::TinyExperiment::Track::theta
float theta
Definition:
Track.h:25
Gaudi::Example::TinyExperiment::Track
most simple Track ever : in 2D space, starting from the origin and thus fully defined by an angle the...
Definition:
Track.h:21
Gaudi::Example::TinyExperiment::Track::Track
Track(float _theta)
Definition:
Track.h:24
GaudiExamples
TinyExperiment
src
Track.h
Generated on Thu Dec 19 2024 15:34:58 for The Gaudi Framework by
1.8.18