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 }
static constexpr auto XYZToTVector
Anonymous helper function to convert XYZVector to TVector3.
Abstract base class for different kinds of events.
Definition: ClusterUtils.h:23