LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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 343 of file CoaddPsf.cc.

Constructor & Destructor Documentation

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

Definition at line 363 of file CoaddPsf.cc.

363 : 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 347 of file CoaddPsf.cc.

347  {
348  CoaddPsfPersistenceHelper const & keys1 = CoaddPsfPersistenceHelper::get();
349  LSST_ARCHIVE_ASSERT(catalogs.size() == 2u);
350  LSST_ARCHIVE_ASSERT(catalogs.front().getSchema() == keys1.schema);
351  tbl::BaseRecord const & record1 = catalogs.front().front();
352  return PTR(CoaddPsf)(
353  new CoaddPsf(
354  tbl::ExposureCatalog::readFromArchive(archive, catalogs.back()),
355  archive.get<afw::image::Wcs>(record1.get(keys1.coaddWcs)),
356  record1.get(keys1.averagePosition),
357  record1.get(keys1.warpingKernelName),
358  record1.get(keys1.cacheSize)
359  )
360  );
361  }
#define PTR(...)
Definition: base.h:41
#define LSST_ARCHIVE_ASSERT(EXPR)
An assertion macro used to validate the structure of an InputArchive.
Definition: Persistable.h:47
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
lsst::afw::image::Wcs Wcs
Definition: Wcs.cc:60

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