These examples show the functionalities of the VecOps utilities.
Please note that you can find the exhaustive documentation here in the reference guide.
Files | |
file | vo001_AdoptOrOwnMemory.C |
In this tutorial we learn how the RVec class can be used to adopt existing memory or allocate some. | |
file | vo001_AdoptOrOwnMemory.py |
In this tutorial we learn how the RVec class can be used to adopt existing memory or allocate some. | |
file | vo002_VectorCalculations.C |
In this tutorial we learn how the RVec class can be used to express easily mathematical operations involving arrays and scalars. | |
file | vo003_LogicalOperations.C |
In this tutorial we learn how the RVec class can be used to express logical operations. | |
file | vo004_SortAndSelect.C |
In this tutorial we learn how elements of an RVec can be easily sorted and selected. | |
file | vo004_SortAndSelect.py |
In this tutorial we learn how elements of an RVec can be easily sorted and selected. | |
file | vo005_Combinations.C |
In this tutorial we learn how combinations of RVecs can be built. | |
file | vo005_Combinations.py |
In this tutorial we learn how combinations of RVecs can be built. | |
file | vo006_IndexManipulation.C |
In this tutorial we demonstrate RVec helpers for index manipulation. | |
file | vo007_PhysicsHelpers.C |
In this tutorial we demonstrate RVec helpers for physics computations such as angle differences \(\Delta \phi\), the distance in the \(\eta\)- \(\phi\) plane \(\Delta R\) and the invariant mass. | |
file | vo008_numpyInterface.py |
This tutorial illustrates the conversion of RVec to numpy arrays without copying the data. | |