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