Overload of the super function.
Reimplemented from zofits.
Definition at line 87 of file factofits.h.
References ___warn___, fDataOffset, fNumSlices, fOffsetCalibration, zofits::fRealColumns, fStartCellsOffset, gLog, IsOffsetCalibration(), and zofits::WriteTableHeader().
98 if (it->col.name ==
"StartCellData")
101 if (it->col.name ==
"Data")
108 throw std::runtime_error(
"Number of data samples not a multiple of 1440.");
110 gLog <<
___warn___ <<
"WARNING - Number of data samples not a multiple of 1440. Doing it uncalibrated." << std::endl;
121 throw std::runtime_error(
"FACT Calibration requested, but \"StartCellData\" column not found.");
123 gLog <<
___warn___ <<
"WARNING - FACT Calibration requested, but \"StartCellData\" column not found. Doing it uncalibrated." << std::endl;
132 throw std::runtime_error(
"FACT Calibration requested, but \"Data\" column not found.");
134 gLog <<
___warn___ <<
"WARNING - FACT Calibration requested, but \"Data\" column not found. Doing it uncalibrated." << std::endl;
int32_t fNumSlices
Number of samples per pixel per event.
int32_t fDataOffset
Offset in bytes for the data.
int32_t fStartCellsOffset
Offset in bytes for the startcell data.
virtual bool WriteTableHeader(const char *name="DATA")
std::vector< int16_t > fOffsetCalibration
The calibration itself.
std::vector< CompressedColumn > fRealColumns
Vector hosting the columns of the file.
virtual bool IsOffsetCalibration()
whether or not a calibration was given to the file writer