Belle II Software
light-2212-foldex
XYZVectorToTVector3Converter.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#pragma once
9
10
#include <TVector3.h>
11
#include <Math/Vector3D.h>
12
13
namespace
Belle2
{
19
static
constexpr
auto
XYZToTVector
= [](
const
ROOT::Math::XYZVector& a) {
return
TVector3(a.X(), a.Y(), a.Z());};
21
}
Belle2::XYZToTVector
static constexpr auto XYZToTVector
Anonymous helper function to convert XYZVector to TVector3.
Definition:
XYZVectorToTVector3Converter.h:19
Belle2
Abstract base class for different kinds of events.
Definition:
ClusterUtils.h:23
framework
geometry
include
XYZVectorToTVector3Converter.h
Generated on Sun Jan 15 2023 23:31:59 for Belle II Software by
1.9.1