|
ACTS
Experiment-independent tracking
|
Root space point reading and writing utility. More...
#include <ActsPlugins/Root/RootSpacePointIo.hpp>
Public Member Functions | |
| void | connectForRead (TChain &tchain, const Acts::SpacePointContainer2 &spacePoints) |
| sets the branch connection for reading from a file | |
| void | connectForWrite (TTree &ttree, const Acts::SpacePointContainer2 &spacePoints) |
| sets the branch connection for writing to a file | |
| void | read (Acts::MutableSpacePointProxy2 &spacePoint, Acts::SpacePointIndex2 index) |
| Read a space point from the tree. | |
| void | read (TChain &tchain, Acts::SpacePointContainer2 &spacePoints) |
| Read the space points from the tree. | |
| void | write (const Acts::ConstSpacePointProxy2 &spacePoint) |
| Write a space point to the tree. | |
| void | write (const Acts::SpacePointContainer2 &spacePoints, TTree &ttree) |
| Write the space points to the tree. | |
Root space point reading and writing utility.
| void ActsPlugins::RootSpacePointIo::connectForRead | ( | TChain & | tchain, |
| const Acts::SpacePointContainer2 & | spacePoints ) |
sets the branch connection for reading from a file
| tchain | the TChain to read from |
| spacePoints | the space points to read into |
| void ActsPlugins::RootSpacePointIo::connectForWrite | ( | TTree & | ttree, |
| const Acts::SpacePointContainer2 & | spacePoints ) |
sets the branch connection for writing to a file
| ttree | the TTree to write to |
| spacePoints | the space points to write |
| void ActsPlugins::RootSpacePointIo::read | ( | Acts::MutableSpacePointProxy2 & | spacePoint, |
| Acts::SpacePointIndex2 | index ) |
Read a space point from the tree.
| spacePoint | the space point to read into |
| index | the original index of the space point in the ROOT file |
| void ActsPlugins::RootSpacePointIo::read | ( | TChain & | tchain, |
| Acts::SpacePointContainer2 & | spacePoints ) |
Read the space points from the tree.
| tchain | the TChain to read from |
| spacePoints | the space points to read into |
| void ActsPlugins::RootSpacePointIo::write | ( | const Acts::ConstSpacePointProxy2 & | spacePoint | ) |
Write a space point to the tree.
| spacePoint | the space point to write |
| void ActsPlugins::RootSpacePointIo::write | ( | const Acts::SpacePointContainer2 & | spacePoints, |
| TTree & | ttree ) |
Write the space points to the tree.
| spacePoints | the space points to write |
| ttree | the TTree to write to |