#include <FPGATrackSimMatrixIO.h>
Definition at line 40 of file FPGATrackSimMatrixIO.h.
◆ FPGATrackSimMatrixReader()
| FPGATrackSimMatrixReader::FPGATrackSimMatrixReader |
( |
TTree * | tree, |
|
|
size_t | nLayers, |
|
|
size_t | nCoords ) |
Definition at line 15 of file FPGATrackSimMatrixIO.cxx.
15 :
20 m_acc(nLayers, nCoords),
26{
27 tree->SetBranchAddress(
"sectorID",
m_acc.FTK_modules.data());
29
30 tree->SetBranchAddress(
"tmpC", &
m_acc.pars.qOverPt);
31 tree->SetBranchAddress(
"tmpD", &
m_acc.pars.d0);
32 tree->SetBranchAddress(
"tmpPhi", &
m_acc.pars.phi);
33 tree->SetBranchAddress(
"tmpCoto", &
m_acc.pars.eta);
34 tree->SetBranchAddress(
"tmpZ", &
m_acc.pars.z0);
35
36 tree->SetBranchAddress(
"Vec",
m_acc.hit_coords.data());
37 tree->SetBranchAddress(
"VecG",
m_acc.hit_coordsG.data());
38 tree->SetBranchAddress(
"tmpxC",
m_acc.hit_x_QoP.data());
39 tree->SetBranchAddress(
"tmpxGC",
m_acc.hit_xG_HIP.data());
40 tree->SetBranchAddress(
"tmpxD",
m_acc.hit_x_d0.data());
41 tree->SetBranchAddress(
"tmpxPhi",
m_acc.hit_x_phi.data());
42 tree->SetBranchAddress(
"tmpxCoto",
m_acc.hit_x_eta.data());
43 tree->SetBranchAddress(
"tmpxGCoto",
m_acc.hit_xG_eta.data());
44 tree->SetBranchAddress(
"tmpxZ",
m_acc.hit_x_z0.data());
45 tree->SetBranchAddress(
"tmpcovx",
m_acc.covariance.data());
46 tree->SetBranchAddress(
"tmpcovxG",
m_acc.covarianceG.data());
47
50 tree->SetBranchAddress(
"tmpintd0", &
m_pd0);
51 tree->SetBranchAddress(
"tmpintz0", &
m_pz0);
53}
FPGATrackSimMatrixAccumulator m_acc
std::vector< short > * m_pz0
std::vector< module_t > m_modules
std::vector< short > m_bins_QoP
std::vector< short > m_bins_phi
std::vector< short > * m_pphi
std::vector< short > m_bins_eta
std::vector< short > m_bins_z0
std::vector< short > * m_peta
std::vector< short > m_bins_d0
std::vector< short > * m_pQoP
std::vector< short > * m_pd0
◆ ~FPGATrackSimMatrixReader()
| FPGATrackSimMatrixReader::~FPGATrackSimMatrixReader |
( |
| ) |
|
|
inline |
◆ getAccumulator()
◆ getEntry()
| size_t FPGATrackSimMatrixReader::getEntry |
( |
| ) |
const |
|
inline |
◆ getModules()
| std::vector< module_t > & FPGATrackSimMatrixReader::getModules |
( |
| ) |
|
|
inline |
◆ nextEntry()
| bool FPGATrackSimMatrixReader::nextEntry |
( |
| ) |
|
◆ readEntry()
| void FPGATrackSimMatrixReader::readEntry |
( |
size_t | entry | ) |
|
Definition at line 56 of file FPGATrackSimMatrixIO.cxx.
57{
59
60 m_acc.track_bins.clear();
62 {
63 FPGATrackSimTrackParsI
bins;
70 }
71}
static const std::vector< std::string > bins
◆ setEntry()
| void FPGATrackSimMatrixReader::setEntry |
( |
size_t | entry | ) |
|
|
inline |
◆ m_acc
◆ m_bins_d0
| std::vector<short> FPGATrackSimMatrixReader::m_bins_d0 |
|
private |
◆ m_bins_eta
| std::vector<short> FPGATrackSimMatrixReader::m_bins_eta |
|
private |
◆ m_bins_phi
| std::vector<short> FPGATrackSimMatrixReader::m_bins_phi |
|
private |
◆ m_bins_QoP
| std::vector<short> FPGATrackSimMatrixReader::m_bins_QoP |
|
private |
◆ m_bins_z0
| std::vector<short> FPGATrackSimMatrixReader::m_bins_z0 |
|
private |
◆ m_entry
| size_t FPGATrackSimMatrixReader::m_entry |
|
private |
◆ m_modules
| std::vector<module_t> FPGATrackSimMatrixReader::m_modules |
|
private |
◆ m_nEntries
| size_t FPGATrackSimMatrixReader::m_nEntries |
|
private |
◆ m_pd0
| std::vector<short>* FPGATrackSimMatrixReader::m_pd0 |
|
private |
◆ m_peta
| std::vector<short>* FPGATrackSimMatrixReader::m_peta |
|
private |
◆ m_pphi
| std::vector<short>* FPGATrackSimMatrixReader::m_pphi |
|
private |
◆ m_pQoP
| std::vector<short>* FPGATrackSimMatrixReader::m_pQoP |
|
private |
◆ m_pz0
| std::vector<short>* FPGATrackSimMatrixReader::m_pz0 |
|
private |
◆ m_tree
| TTree* FPGATrackSimMatrixReader::m_tree |
|
private |
The documentation for this class was generated from the following files: