Juggler
Juggling algorithms and event processing using gaudi framework
SimVertex.hpp
Go to the documentation of this file.
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2018 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
//#include "Acts/Utilities/Definitions.hpp"
12
//#include "ActsFatras/EventData/Particle.hpp"
13
//#include "ActsFatras/EventData/ProcessType.hpp"
14
//
15
//#include <vector>
16
//
17
//namespace FW {
18
//
19
///// A simultated vertex e.g. from a physics process.
20
//struct SimVertex {
21
// using Scalar = double;
22
// using Vector4 = Acts::ActsVector<Scalar, 4>;
23
//
24
// /// The vertex four-position.
25
// Vector4 position4 = Vector4::Zero();
26
// /// The vertex process type.
27
// ActsFatras::ProcessType process = ActsFatras::ProcessType::eUndefined;
28
// /// The incoming particles into the vertex
29
// std::vector<ActsFatras::Particle> incoming = {};
30
// /// The outgoing particles from the vertex
31
// std::vector<ActsFatras::Particle> outgoing = {};
32
//
33
// /// Construct the vertex from a position and optional process type.
34
// ///
35
// /// @param position4_ the vertex four-position
36
// /// @param process_ the process type that generated this vertex
37
// ///
38
// /// Associated particles are left empty by default and must be filled by the
39
// /// user after construction.
40
// SimVertex(const Vector4& position4_, ActsFatras::ProcessType process_ =
41
// ActsFatras::ProcessType::eUndefined)
42
// : position4(position4_), process(process_) {}
43
// // explicitely default rule-of-five.
44
// SimVertex() = default;
45
// SimVertex(const SimVertex&) = default;
46
// SimVertex(SimVertex&&) = default;
47
// SimVertex& operator=(const SimVertex&) = default;
48
// SimVertex& operator=(SimVertex&&) = default;
49
//
50
// /// The vertex three-position.
51
// auto position() const { return position4.head<3>(); }
52
// /// The vertex time.
53
// Scalar time() const { return position4[3]; }
54
//};
55
//
56
//} // namespace FW
JugReco
JugReco
SimVertex.hpp
Generated by
1.8.18