The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
MCHit.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
16
20 struct MCHit {
21 // This default constructor is neede priori to C++20 in order to allow
22 // emplace_back for MCHits
23 MCHit( float _x, float _y ) : x( _x ), y( _y ) {}
24 float x, y;
25 };
26
27 using MCHits = std::vector<MCHit>;
28
29} // namespace Gaudi::Example::TinyExperiment
std::vector< MCHit > MCHits
Definition MCHit.h:27
MCHit(float _x, float _y)
Definition MCHit.h:23