LSSTApplications  18.0.0+106,18.0.0+50,19.0.0,19.0.0+1,19.0.0+10,19.0.0+11,19.0.0+13,19.0.0+17,19.0.0+2,19.0.0-1-g20d9b18+6,19.0.0-1-g425ff20,19.0.0-1-g5549ca4,19.0.0-1-g580fafe+6,19.0.0-1-g6fe20d0+1,19.0.0-1-g7011481+9,19.0.0-1-g8c57eb9+6,19.0.0-1-gb5175dc+11,19.0.0-1-gdc0e4a7+9,19.0.0-1-ge272bc4+6,19.0.0-1-ge3aa853,19.0.0-10-g448f008b,19.0.0-12-g6990b2c,19.0.0-2-g0d9f9cd+11,19.0.0-2-g3d9e4fb2+11,19.0.0-2-g5037de4,19.0.0-2-gb96a1c4+3,19.0.0-2-gd955cfd+15,19.0.0-3-g2d13df8,19.0.0-3-g6f3c7dc,19.0.0-4-g725f80e+11,19.0.0-4-ga671dab3b+1,19.0.0-4-gad373c5+3,19.0.0-5-ga2acb9c+2,19.0.0-5-gfe96e6c+2,w.2020.01
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst::jointcal::OneTPPerVisitHandler Class Reference

A projection handler in which all CCDs from the same visit have the same tangent point. More...

#include <ProjectionHandler.h>

Inheritance diagram for lsst::jointcal::OneTPPerVisitHandler:
lsst::jointcal::ProjectionHandler

Public Member Functions

 OneTPPerVisitHandler (const CcdImageList &ccdImageList)
 
const std::shared_ptr< const AstrometryTransformgetSkyToTangentPlane (const CcdImage &ccdImage) const
 

Detailed Description

A projection handler in which all CCDs from the same visit have the same tangent point.

We arbitrarily chose that all chips from a same visit have the same tangent point.

Definition at line 71 of file ProjectionHandler.h.

Constructor & Destructor Documentation

◆ OneTPPerVisitHandler()

lsst::jointcal::OneTPPerVisitHandler::OneTPPerVisitHandler ( const CcdImageList ccdImageList)

Definition at line 36 of file Projectionhandler.cc.

36  {
37  for (auto const &i : ccdImageList) {
38  const CcdImage &im = *i;
39  if (tMap.find(im.getVisit()) == tMap.end()) tMap[im.getVisit()] = im.getSkyToTangentPlane()->clone();
40  }
41 }
T end(T... args)
T find(T... args)

Member Function Documentation

◆ getSkyToTangentPlane()

const std::shared_ptr< const AstrometryTransform > lsst::jointcal::OneTPPerVisitHandler::getSkyToTangentPlane ( const CcdImage ccdImage) const
virtual

Implements lsst::jointcal::ProjectionHandler.

Definition at line 43 of file Projectionhandler.cc.

44  {
45  auto it = tMap.find(ccdImage.getVisit());
46  if (it == tMap.end()) return nullptr;
47  return it->second;
48 }
T end(T... args)
T find(T... args)

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