LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst::meas::algorithms::CoaddPsf::Factory Class Reference
Inheritance diagram for lsst::meas::algorithms::CoaddPsf::Factory:

Public Member Functions

virtual boost::shared_ptr
< tbl::io::Persistable > 
read (InputArchive const &archive, CatalogVector const &catalogs) const
 
 Factory (std::string const &name)
 

Detailed Description

Definition at line 352 of file CoaddPsf.cc.

Constructor & Destructor Documentation

lsst::meas::algorithms::CoaddPsf::Factory::Factory ( std::string const &  name)
inline

Definition at line 372 of file CoaddPsf.cc.

372 : tbl::io::PersistableFactory(name) {}
table::Key< std::string > name
Definition: ApCorrMap.cc:71

Member Function Documentation

virtual boost::shared_ptr< tbl::io::Persistable > lsst::meas::algorithms::CoaddPsf::Factory::read ( InputArchive const &  archive,
CatalogVector const &  catalogs 
) const
inlinevirtual

Definition at line 356 of file CoaddPsf.cc.

356  {
357  CoaddPsfPersistenceHelper const & keys1 = CoaddPsfPersistenceHelper::get();
358  LSST_ARCHIVE_ASSERT(catalogs.size() == 2u);
359  LSST_ARCHIVE_ASSERT(catalogs.front().getSchema() == keys1.schema);
360  tbl::BaseRecord const & record1 = catalogs.front().front();
361  return PTR(CoaddPsf)(
362  new CoaddPsf(
363  tbl::ExposureCatalog::readFromArchive(archive, catalogs.back()),
364  archive.get<afw::image::Wcs>(record1.get(keys1.coaddWcs)),
365  record1.get(keys1.averagePosition),
366  record1.get(keys1.warpingKernelName),
367  record1.get(keys1.cacheSize)
368  )
369  );
370  }
#define PTR(...)
Definition: base.h:41
CoaddPsf(afw::table::ExposureCatalog const &catalog, afw::image::Wcs const &coaddWcs, std::string const &weightFieldName="weight", std::string const &warpingKernelName="lanczos3", int cacheSize=10000)
Main constructors for CoaddPsf.
Definition: CoaddPsf.cc:142
#define LSST_ARCHIVE_ASSERT(EXPR)
An assertion macro used to validate the structure of an InputArchive.
Definition: Persistable.h:47
lsst::afw::image::Wcs Wcs
Definition: Wcs.cc:60

The documentation for this class was generated from the following file: