Logo ROOT   6.18/05
Reference Guide
Files
VecOps tutorials

These examples show the functionalities of the VecOps utilities.

Files

file  vo001_AdoptOrOwnMemory.C
  View in nbviewer Open in SWAN In this tutorial we learn how the RVec class can be used to adopt existing memory or allocate some.
 
file  vo001_AdoptOrOwnMemory.py
  View in nbviewer Open in SWAN In this tutorial we learn how the RVec class can be used to adopt existing memory or allocate some.
 
file  vo002_VectorCalculations.C
  View in nbviewer Open in SWAN 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
  View in nbviewer Open in SWAN In this tutorial we learn how the RVec class can be used to express logical operations.
 
file  vo004_SortAndSelect.C
  View in nbviewer Open in SWAN In this tutorial we learn how elements of an RVec can be easily sorted and selected.
 
file  vo004_SortAndSelect.py
  View in nbviewer Open in SWAN In this tutorial we learn how elements of an RVec can be easily sorted and selected.
 
file  vo005_Combinations.C
  View in nbviewer Open in SWAN In this tutorial we learn how combinations of RVecs can be build.
 
file  vo005_Combinations.py
  View in nbviewer Open in SWAN In this tutorial we learn how combinations of RVecs can be build.
 
file  vo006_IndexManipulation.C
  View in nbviewer Open in SWAN In this tutorial we demonstrate RVec helpers for index manipulation.
 
file  vo007_PhysicsHelpers.C
  View in nbviewer Open in SWAN 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.