#include <TrackInfo.h>
|
| std::vector< unsigned int > | fDetIDs |
| | array of measurements
|
| |
| std::vector< float > | fWL |
| |
| std::vector< float > | fWR |
| |
Definition at line 15 of file TrackInfo.h.
◆ TrackInfo() [1/3]
◆ TrackInfo() [2/3]
| TrackInfo::TrackInfo |
( |
const genfit::Track * |
tr | ) |
|
|
explicit |
Standard constructor
Definition at line 14 of file TrackInfo.cxx.
14 {
15 for (
unsigned int i = 0;
i < tr->getNumPointsWithMeasurement();
i += 1) {
16 genfit::TrackPoint*
tp = tr->getPointWithMeasurement(i);
17 genfit::AbsMeasurement* rawM =
tp->getRawMeasurement();
18 genfit::KalmanFitterInfo*
info =
19 static_cast<genfit::KalmanFitterInfo*
>(
tp->getFitterInfo());
20 fDetIDs.push_back(rawM->getDetId());
21 if (info) {
22 fWL.push_back(
info->getWeights()[0]);
23 fWR.push_back(
info->getWeights()[1]);
24 } else {
25
28 }
29
30
31 }
32}
std::vector< unsigned int > fDetIDs
array of measurements
◆ TrackInfo() [3/3]
◆ ~TrackInfo()
| TrackInfo::~TrackInfo |
( |
| ) |
|
|
override |
◆ ClassDefOverride()
| TrackInfo::ClassDefOverride |
( |
TrackInfo |
, |
|
|
2 |
|
|
) |
| |
|
protected |
◆ detId()
| unsigned int TrackInfo::detId |
( |
Int_t |
n | ) |
const |
|
inline |
◆ N()
| unsigned int TrackInfo::N |
( |
| ) |
const |
|
inline |
◆ Print()
| void TrackInfo::Print |
( |
const Option_t * |
opt = "" | ) |
const |
|
inlineoverride |
◆ wL()
| float TrackInfo::wL |
( |
Int_t |
n | ) |
const |
|
inline |
◆ wR()
| float TrackInfo::wR |
( |
Int_t |
n | ) |
const |
|
inline |
◆ fDetIDs
| std::vector<unsigned int> TrackInfo::fDetIDs |
|
protected |
◆ fWL
| std::vector<float> TrackInfo::fWL |
|
protected |
◆ fWR
| std::vector<float> TrackInfo::fWR |
|
protected |
The documentation for this class was generated from the following files: