#include <FPGATrackSimMatrixIO.h>
Definition at line 86 of file FPGATrackSimMatrixIO.h.
◆ FPGATrackSimMatrixWriter()
FPGATrackSimMatrixWriter::FPGATrackSimMatrixWriter |
( |
TTree * |
tree, |
|
|
int |
nLayers, |
|
|
int |
nCoords |
|
) |
| |
Definition at line 125 of file FPGATrackSimMatrixIO.cxx.
146 m_tree->Branch(
"sectorID", &anInt,
"sectorID[nplanes]/I");
147 m_tree->Branch(
"hashID", &anInt,
"hashID[nplanes]/I");
149 m_tree->Branch(
"tmpC", &aDouble,
"tmpC/D");
150 m_tree->Branch(
"tmpD", &aDouble,
"tmpD/D");
151 m_tree->Branch(
"tmpPhi", &aDouble,
"tmpPhi/D");
152 m_tree->Branch(
"tmpCoto", &aDouble,
"tmpCoto/D");
153 m_tree->Branch(
"tmpZ", &aDouble,
"tmpZ/D");
155 m_tree->Branch(
"Vec", &aFloat,
"Vec[ndim]/F");
156 m_tree->Branch(
"VecG", &aFloat,
"VecG[ndim]/F");
157 m_tree->Branch(
"tmpxC", &aDouble,
"tmpxC[ndim]/D");
158 m_tree->Branch(
"tmpxGC", &aDouble,
"tmpxGC[ndim]/D");
159 m_tree->Branch(
"tmpxD", &aDouble,
"tmpxD[ndim]/D");
160 m_tree->Branch(
"tmpxPhi", &aDouble,
"tmpxPhi[ndim]/D");
161 m_tree->Branch(
"tmpxCoto", &aDouble,
"tmpxCoto[ndim]/D");
162 m_tree->Branch(
"tmpxGCoto", &aDouble,
"tmpxGCoto[ndim]/D");
163 m_tree->Branch(
"tmpxZ", &aDouble,
"tmpxZ[ndim]/D");
164 m_tree->Branch(
"tmpcovx", &aDouble,
"tmpcovx[ndim2]/D");
165 m_tree->Branch(
"tmpcovxG", &aDouble,
"tmpcovxG[ndim2]/D");
◆ fill()
Definition at line 175 of file FPGATrackSimMatrixIO.cxx.
178 m_tree->SetBranchAddress(
"sectorID",
acc.FTK_modules.data());
179 m_tree->SetBranchAddress(
"hashID", modules.data());
181 m_tree->SetBranchAddress(
"tmpC", &
acc.pars.qOverPt);
182 m_tree->SetBranchAddress(
"tmpD", &
acc.pars.d0);
183 m_tree->SetBranchAddress(
"tmpPhi", &
acc.pars.phi);
184 m_tree->SetBranchAddress(
"tmpCoto", &
acc.pars.eta);
185 m_tree->SetBranchAddress(
"tmpZ", &
acc.pars.z0);
187 m_tree->SetBranchAddress(
"Vec",
acc.hit_coords.data());
188 m_tree->SetBranchAddress(
"VecG",
acc.hit_coordsG.data());
189 m_tree->SetBranchAddress(
"tmpxC",
acc.hit_x_QoP.data());
190 m_tree->SetBranchAddress(
"tmpxGC",
acc.hit_xG_HIP.data());
191 m_tree->SetBranchAddress(
"tmpxD",
acc.hit_x_d0.data());
192 m_tree->SetBranchAddress(
"tmpxPhi",
acc.hit_x_phi.data());
193 m_tree->SetBranchAddress(
"tmpxCoto",
acc.hit_x_eta.data());
194 m_tree->SetBranchAddress(
"tmpxGCoto",
acc.hit_xG_eta.data());
195 m_tree->SetBranchAddress(
"tmpxZ",
acc.hit_x_z0.data());
196 m_tree->SetBranchAddress(
"tmpcovx",
acc.covariance.data());
197 m_tree->SetBranchAddress(
"tmpcovxG",
acc.covarianceG.data());
◆ m_bins_d0
std::vector<short> FPGATrackSimMatrixWriter::m_bins_d0 |
|
private |
◆ m_bins_eta
std::vector<short> FPGATrackSimMatrixWriter::m_bins_eta |
|
private |
◆ m_bins_phi
std::vector<short> FPGATrackSimMatrixWriter::m_bins_phi |
|
private |
◆ m_bins_QoP
std::vector<short> FPGATrackSimMatrixWriter::m_bins_QoP |
|
private |
◆ m_bins_z0
std::vector<short> FPGATrackSimMatrixWriter::m_bins_z0 |
|
private |
◆ m_coverage
float FPGATrackSimMatrixWriter::m_coverage = 0.0F |
|
private |
◆ m_nCoords
int FPGATrackSimMatrixWriter::m_nCoords |
|
private |
◆ m_nCoords2
int FPGATrackSimMatrixWriter::m_nCoords2 |
|
private |
◆ m_nEntries
size_t FPGATrackSimMatrixWriter::m_nEntries |
|
private |
◆ m_nLayers
int FPGATrackSimMatrixWriter::m_nLayers |
|
private |
◆ m_pd0
std::vector<short>* FPGATrackSimMatrixWriter::m_pd0 |
|
private |
◆ m_peta
std::vector<short>* FPGATrackSimMatrixWriter::m_peta |
|
private |
◆ m_pphi
std::vector<short>* FPGATrackSimMatrixWriter::m_pphi |
|
private |
◆ m_pQoP
std::vector<short>* FPGATrackSimMatrixWriter::m_pQoP |
|
private |
◆ m_pz0
std::vector<short>* FPGATrackSimMatrixWriter::m_pz0 |
|
private |
◆ m_tree
TTree* FPGATrackSimMatrixWriter::m_tree |
|
private |
The documentation for this class was generated from the following files: