|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Name list for SpectrometerDataV1 records: scalar results followed by the hproj, peakPos, peakHeight and FWHM arrays. More...
#include <BldNames.hh>
Inherits XtcData::VarDef.
Public Member Functions | |
| SpectrometerDataV1 () | |
| Fill NameVec with width, hproj_y1, hproj_y2, comRaw, baseline, com, integral, nPeaks, and the arrays hproj (INT32), peakPos and peakHeight (DOUBLE) and FWHM (INT32). | |
Static Public Member Functions | |
| static std::map< unsigned, unsigned > | arraySizeMap () |
| Return a map from entry X to entry Y: X is a scalar if Y equals X, otherwise the value of entry Y is the array length of X (hproj uses width, the three peak arrays use nPeaks). | |
| static std::vector< unsigned > | byteSizes () |
| Return the element size in bytes of each entry in order: 4, 4, 4, 8, 8, 8, 8, 4, 4, 8, 8, 4. | |
Additional Inherited Members | |
Public Attributes inherited from XtcData::VarDef | |
| std::vector< Name > | NameVec |
| Name definitions, in order. | |
Name list for SpectrometerDataV1 records: scalar results followed by the hproj, peakPos, peakHeight and FWHM arrays.
| BldNames::SpectrometerDataV1::SpectrometerDataV1 | ( | ) |
Fill NameVec with width, hproj_y1, hproj_y2, comRaw, baseline, com, integral, nPeaks, and the arrays hproj (INT32), peakPos and peakHeight (DOUBLE) and FWHM (INT32).
|
static |
Return a map from entry X to entry Y: X is a scalar if Y equals X, otherwise the value of entry Y is the array length of X (hproj uses width, the three peak arrays use nPeaks).
|
static |
Return the element size in bytes of each entry in order: 4, 4, 4, 8, 8, 8, 8, 4, 4, 8, 8, 4.