|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONTESTER_MUONTWOVECTORBRANCH_H
5 #define MUONTESTER_MUONTWOVECTORBRANCH_H
26 void set(
const TVector2&
vec,
size_t pos);
29 void set(
const float x,
const float y,
size_t pos);
33 bool fill(
const EventContext&)
override final;
34 bool init()
override final;
bool init() override final
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
bool fill(const EventContext &) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
VectorBranch< float > & m_y
Eigen::Matrix< double, 2, 1 > Vector2D
std::vector< size_t > vec
TTree * tree() override final
Returns the underlying TTree object.
void operator+=(const Amg::Vector2D &vec)
void push_back(const Amg::Vector2D &vec)
interface using the Amg::Vector3D
VectorBranch< float > & m_x
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
std::string name() const override final
Returns the name of the branch.
Class to store array like branches into the n-tuples.
void set(const Amg::Vector2D &vec, size_t pos)
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
TwoVectorBranch(MuonTesterTree &tree, const std::string &vec_name)