LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Specializations of geo_vectors_utils.h
for ROOT old vector types.
More...
#include "larcorealg/Geometry/geo_vectors_utils.h"
#include "TLorentzVector.h"
#include "TVector2.h"
#include "TVector3.h"
#include <ostream>
Go to the source code of this file.
Namespaces | |
geo::vect | |
Utilities to manipulate geometry vectors.The utilities include generic vector interface facilities allowing to use different vector types via templates. | |
geo::vect::dump | |
Utilities to print vector types. | |
Functions | |
template<> | |
auto | geo::vect::mag2< TVector2 > (TVector2 const &v) |
TVector3 conversions | |
template<typename Vector > | |
TVector3 | geo::vect::toTVector3 (Vector const &v) |
Converts a vector into a TVector3 . More... | |
Output of old-style ROOT vectors (TVector3 etc.) | |
template<typename Stream > | |
void | geo::vect::dump::Vector2 (Stream &&out, TVector2 const &v) |
Print a TVector2 to an output stream. More... | |
template<typename Stream > | |
void | geo::vect::dump::Vector3 (Stream &&out, TVector3 const &v) |
Print a TVector3 to an output stream. More... | |
template<typename Stream > | |
void | geo::vect::dump::LorentzVector (Stream &&out, TLorentzVector const &v) |
Print a TLorentzVector to an output stream. More... | |
std::ostream & | geo::vect::dump::operator<< (std::ostream &out, TVector2 const &v) |
Print a TVector2 to an output stream. More... | |
std::ostream & | geo::vect::dump::operator<< (std::ostream &out, TVector3 const &v) |
Print a TVector3 to an output stream. More... | |
std::ostream & | geo::vect::dump::operator<< (std::ostream &out, TLorentzVector const &v) |
Print a TLorentzVector to an output stream. More... | |
Overloads of STL C++ functions for ROOT vectors | |
decltype(auto) | begin (TVector2 const &v) |
decltype(auto) | cbegin (TVector2 const &v) |
decltype(auto) | end (TVector2 const &v) |
decltype(auto) | cend (TVector2 const &v) |
decltype(auto) | begin (TVector3 const &v) |
decltype(auto) | cbegin (TVector3 const &v) |
decltype(auto) | end (TVector3 const &v) |
decltype(auto) | cend (TVector3 const &v) |
decltype(auto) | begin (TLorentzVector const &v) |
decltype(auto) | cbegin (TLorentzVector const &v) |
decltype(auto) | end (TLorentzVector const &v) |
decltype(auto) | cend (TLorentzVector const &v) |
Specializations of geo_vectors_utils.h
for ROOT old vector types.
This library provides facilities that can be used for both LArSoft geometry vectors (geo_vectors.h
) and ROOT TVector3
and related, with the same interface.
This library depends on ROOT GenVector. In the CET link list in CMakeLists.txt
, link to ${ROOT_GENVECTOR}
.
Definition in file geo_vectors_utils_TVector.h.
|
inline |
Definition at line 142 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cbegin().
|
inline |
Definition at line 165 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cbegin().
|
inline |
Definition at line 188 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cbegin().
|
inline |
Definition at line 147 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cbegin().
|
inline |
Definition at line 170 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cbegin().
|
inline |
Definition at line 193 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cbegin().
|
inline |
Definition at line 157 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cend().
|
inline |
Definition at line 180 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cend().
|
inline |
Definition at line 203 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cend().
|
inline |
Definition at line 152 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cend().
|
inline |
Definition at line 175 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cend().
|
inline |
Definition at line 198 of file geo_vectors_utils_TVector.h.
References geo::vect::vector_cend().