FACT++  1.0
CatalogRow& zofits::AddOneCatalogRow ( )
inline

Definition at line 292 of file zofits.h.

References CatalogEntry().

293  {
294  // add one row to the catalog
295  fCatalog.emplace_back(CatalogRow());
296  fCatalog.back().resize(fTable.num_cols);
297  for (auto it=fCatalog.back().begin(); it != fCatalog.back().end(); it++)
298  *it = CatalogEntry(0,0);
299 
300  fCatalogSize++;
301 
302  return fCatalog.back();
303  }
uint32_t fCatalogSize
Actual catalog size (.size() is slow on large lists)
Definition: zofits.h:978
Table fTable
Definition: ofits.h:327
size_t num_cols
Definition: ofits.h:308
CatalogType fCatalog
Catalog for this file.
Definition: zofits.h:977
CatalogEntry(int64_t f=0, int64_t s=0)
Definition: zofits.h:25
std::vector< CatalogEntry > CatalogRow
Definition: zofits.h:57

+ Here is the call graph for this function: