33 #ifndef LSST_AP_STAGES_H
34 #define LSST_AP_STAGES_H
39 #include "boost/noncopyable.hpp"
40 #include "boost/shared_ptr.hpp"
46 #include "lsst/afw/detection/DiaSource.h"
48 #include "lsst/mops/MovingObjectPrediction.h"
59 namespace lsst {
namespace ap {
63 typedef lsst::afw::detection::DiaSource
Entry;
71 private boost::noncopyable
77 std::string
const & runId,
84 void setDiaSources(boost::shared_ptr<lsst::afw::detection::PersistableDiaSourceVector> diaSources);
98 std::vector<ObjectChunk>
const &
getChunks()
const {
200 lsst::mops::MovingObjectPredictionVector & predictions
212 #endif // LSST_AP_STAGES_H
DiaSourceIndex _diaSourceIndex
A circular region of the unit sphere (sky).
Class for managing chunks of Object instances in shared memory.
VisitProcessingContext(lsst::pex::policy::Policy::Ptr const policy, lsst::daf::base::PropertySet::Ptr const event, std::string const &runId, int const workerId, int const numWorkers)
Container for inter-stage association pipeline state.
Wraps the C library timespec struct.
std::vector< int > & getChunkIds()
std::vector< int > _chunkIds
void storeSliceObjects(VisitProcessingContext &context)
ZoneEntry< ObjectChunk > ObjectEntry
ZoneEntry< DiaSourceChunk > DiaSourceEntry
CircularRegion const & getFov() const
std::string const & getRunId() const
SharedObjectChunkManager::ObjectChunk ObjectChunk
boost::shared_ptr< PropertySet > Ptr
Contains spatial information for a single point used during cross-matching.
boost::shared_ptr< Policy > Ptr
void failVisit(VisitProcessingContext &context)
std::vector< int > const & getChunkIds() const
double getEllipseScalingFactor() const
lsst::afw::image::Filter getFilter() const
std::vector< MatchPair > MatchPairVector
A list of MatchPair instances.
void initialize(std::string const &runId)
ZoneStripeChunkDecomposition const & getDecomposition() const
void matchMops(MatchPairVector &matches, IdPairVector &newObjects, VisitProcessingContext &context, lsst::mops::MovingObjectPredictionVector &predictions)
std::vector< ObjectChunk > & getChunks()
lsst::afw::image::Filter _filter
void setDiaSources(boost::shared_ptr< lsst::afw::detection::PersistableDiaSourceVector > diaSources)
ZoneStripeChunkDecomposition const & getDecomposition() const
ZoneIndex< ObjectEntry > ObjectIndex
Manager::Chunk ObjectChunk
lsst::afw::detection::DiaSource Entry
void registerVisit(VisitProcessingContext &context)
A decomposition of the unit sphere into zones, stripes, and chunks.
int getNumWorkers() const
lsst::pex::policy::Policy::Ptr _policy
bool endVisit(VisitProcessingContext &context, bool const rollback)
Convenience wrapper for the C library timespec struct and a simple profiling class.
std::vector< IdPair > IdPairVector
A list of IdPair instances.
~VisitProcessingContext()
Holds an integer identifier for an LSST filter.
void buildObjectIndex(VisitProcessingContext &context)
ObjectIndex & getObjectIndex()
Master header file for the association pipeline.
double _ellipseScalingFactor
std::vector< lsst::afw::detection::DiaSource::Ptr > _diaSources
std::vector< ObjectChunk > const & getChunks() const
double getMatchRadius() const
bool debugSharedMemory() const
TimeSpec const & getDeadline() const
Interface for PropertySet class.
Classes for zone entries, zones, and zone indexes.
boost::shared_ptr< lsst::pex::policy::Policy > getPipelinePolicy()
void matchDiaSources(MatchPairVector &matches, VisitProcessingContext &context)
Citizen is a class that should be among all LSST classes base classes, and handles basic memory manag...
ZoneIndex< DiaSourceEntry > DiaSourceIndex
Class describing a circular region on the sky.
void loadSliceObjects(VisitProcessingContext &context)
Persistable vectors for association pipeline results.
Class and helper functions related to spatial partitioning.
DiaSourceIndex & getDiaSourceIndex()
std::vector< ObjectChunk > _chunks
Class encapsulating an identifier for an LSST filter.