ATLAS Offline Software
|
#include "FPGATrackSimMatrixIO.h"
Go to the source code of this file.
Functions | |
void | readTree (AccumulateMap &map, TTree *tree, size_t nLayers, size_t nCoords) |
Reads a matrix tree, accumulating its entries into a map. More... | |
std::vector< std::pair< std::vector< module_t >, FPGATrackSimMatrixAccumulator > > | readTree (TTree *tree, size_t nLayers, size_t nCoords) |
Reads a matrix tree, accumulating its entries into a vector, in the order they are read. More... | |
void | fillTree (AccumulateMap &map, TTree *tree, int nLayers, int nCoords) |
Writes the contents of an AccumulateMap into the supplied tree (one entry per sector). More... | |
Definition in file FPGATrackSimMatrixIO.cxx.
void fillTree | ( | AccumulateMap & | map, |
TTree * | tree, | ||
int | nLayers, | ||
int | nCoords | ||
) |
Writes the contents of an AccumulateMap into the supplied tree (one entry per sector).
map | - map to be written |
tree | - tree to be written to; this function will create the branches |
nLayers | - number of logical layers |
nCoords | - number of hit coordinates in a full (13/13) track |
Definition at line 226 of file FPGATrackSimMatrixIO.cxx.
void readTree | ( | AccumulateMap & | map, |
TTree * | tree, | ||
size_t | nLayers, | ||
size_t | nCoords | ||
) |
Reads a matrix tree, accumulating its entries into a map.
Note this functions sets and resets branch addresses.
map | - map to be added to |
tree | - tree to be read |
nLayers | - number of logical layers |
nCoords | - number of hit coordinates in a full (13/13) track |
Definition at line 92 of file FPGATrackSimMatrixIO.cxx.
std::vector<std::pair<std::vector<module_t>, FPGATrackSimMatrixAccumulator> > readTree | ( | TTree * | tree, |
size_t | nLayers, | ||
size_t | nCoords | ||
) |
Reads a matrix tree, accumulating its entries into a vector, in the order they are read.
Note this functions sets and resets branch addresses.
tree | - tree to be read |
nLayers | - number of logical layers |
nCoords | - number of hit coordinates in a full (13/13) track |
Definition at line 108 of file FPGATrackSimMatrixIO.cxx.