#include <FPGATrackSimRegionSlices.h>
Definition at line 24 of file FPGATrackSimRegionSlices.h.
◆ FPGATrackSimRegionSlices()
FPGATrackSimRegionSlices::FPGATrackSimRegionSlices |
( |
std::string const & |
filepath | ) |
|
Definition at line 27 of file FPGATrackSimRegionSlices.cxx.
30 std::ifstream
fin(filepath);
34 throw (
"FPGATrackSimRegionSlices couldn't open " + filepath);
46 if (
line.empty() ||
line[0] ==
'#')
continue;
47 std::istringstream sline(
line);
49 ok = ok && (sline >>
key);
53 ok = ok && (sline >> region);
59 else if (
key ==
"phi") ok = ok && (sline >>
min.phi >>
max.phi);
60 else if (
key ==
"eta") ok = ok && (sline >>
min.eta >>
max.eta);
61 else if (
key ==
"qpt") ok = ok && (sline >>
min.qOverPt >>
max.qOverPt);
62 else if (
key ==
"d0") ok = ok && (sline >>
min.d0 >>
max.d0);
63 else if (
key ==
"z0") ok = ok && (sline >>
min.z0 >>
max.z0);
72 throw "FPGATrackSimRegionSlices read error";
◆ getMax()
◆ getMin()
◆ getRegion()
◆ inRegion()
◆ nRegions()
unsigned FPGATrackSimRegionSlices::nRegions |
( |
| ) |
const |
|
inline |
◆ m_regions
The documentation for this class was generated from the following files: