6#include "GaudiKernel/SystemOfUnits.h"
8constexpr float inDeg(
const float rad) {
9 return rad / Gaudi::Units::deg;
std::vector< size_t > vec
constexpr float inDeg(const float rad)
MuonTesterBranch(MuonTesterTree &tree, const std::string &br_name)
TTree * tree() override final
Returns the underlying TTree object.
void operator+=(const Amg::Vector3D &vec)
VectorBranch< float > & m_x
bool fill(const EventContext &) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
bool init() override final
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
void set(const Amg::Vector3D &vec, size_t pos)
VectorBranch< float > & m_y
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
ThreeVectorBranch(MuonTesterTree &tree, const std::string &vec_name)
VectorBranch< float > & m_z
void set(const Amg::Vector3D &vec, size_t pos)
UnitThreeVectorBranch(MuonTesterTree &tree, const std::string &vec_name)
VectorBranch< float > & m_theta
bool fill(const EventContext &) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
bool init() override final
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
void set(const float x, const float y, const float z, size_t pos)
VectorBranch< float > & m_phi
void operator+=(const Amg::Vector3D &vec)
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Class to store array like branches into the n-tuples.