casa
$Rev:20696$
|
#include <SDPointingHandler.h>
Public Member Functions | |
SDPointingHandler () | |
default ctor is not attached to a MS and hence is useless until attached | |
SDPointingHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) | |
attach this to a MS, mark fields row which are handled here | |
SDPointingHandler (const SDPointingHandler &other) | |
copy ctor | |
~SDPointingHandler () | |
SDPointingHandler & | operator= (const SDPointingHandler &other) |
assignment operator, uses copy semantics | |
void | attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
attach to a MS, mark fields in row which are handled here | |
void | resetRow (const Record &) |
reset internals given indicated row, use the same MS | |
void | fill (const Record &row, Int antennaId, Double time, const Vector< Double > &timeRange, const MDirection &direction, const MeasFrame &frame) |
fill - a new row is added when a) the name changes b) the time changes such that it would be outside of the new interval when added to the old interval (i.e. | |
Int | nrow () |
convenience functions for use when filling the FIELD table, which is mostly just a clone of this table for SD data | |
const String & | name () |
Int | directionRefType () |
const Matrix< Double > & | directionPoly () |
Double | time () |
Private Member Functions | |
void | clearAll () |
cleanup everything | |
void | clearRow () |
cleanup things which depend on the row | |
void | initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
initialize everything | |
void | initRow (Vector< Bool > &handledCols, const Record &row) |
initialize everythign which depends on row | |
Private Attributes | |
MSPointing * | msPointing_p |
MSPointingColumns * | msPointingCols_p |
Double | time_p |
Int | antId_p |
MDirection | direction_p |
Matrix< Double > | directionPoly_p |
Vector< Double > | directionRate_p |
String | name_p |
Int | rownr_p |
MDirection::Ref | dirColRef_p |
RORecordFieldPtr< String > | objectField_p |
RORecordFieldPtr< Array< Double > > | pointingDirRateField_p |
these might come from an MS table this can just come from an MS v1 table | |
RORecordFieldPtr< Double > | intervalField_p |
RORecordFieldPtr< Double > | timeField_p |
RORecordFieldPtr< String > | nameField_p |
RORecordFieldPtr< Bool > | trackingField_p |
Internal or
Internal
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl>
Definition at line 88 of file SDPointingHandler.h.
default ctor is not attached to a MS and hence is useless until attached
casa::SDPointingHandler::SDPointingHandler | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) |
attach this to a MS, mark fields row which are handled here
casa::SDPointingHandler::SDPointingHandler | ( | const SDPointingHandler & | other | ) |
copy ctor
casa::SDPointingHandler::~SDPointingHandler | ( | ) | [inline] |
Definition at line 100 of file SDPointingHandler.h.
References clearAll().
void casa::SDPointingHandler::attach | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) |
attach to a MS, mark fields in row which are handled here
void casa::SDPointingHandler::clearAll | ( | ) | [private] |
cleanup everything
Referenced by ~SDPointingHandler().
void casa::SDPointingHandler::clearRow | ( | ) | [private] |
cleanup things which depend on the row
const Matrix<Double>& casa::SDPointingHandler::directionPoly | ( | ) | [inline] |
Definition at line 126 of file SDPointingHandler.h.
References directionPoly_p.
Int casa::SDPointingHandler::directionRefType | ( | ) | [inline] |
Definition at line 125 of file SDPointingHandler.h.
References dirColRef_p, and casa::MeasRef< Ms >::getType().
void casa::SDPointingHandler::fill | ( | const Record & | row, |
Int | antennaId, | ||
Double | time, | ||
const Vector< Double > & | timeRange, | ||
const MDirection & | direction, | ||
const MeasFrame & | frame | ||
) |
fill - a new row is added when a) the name changes b) the time changes such that it would be outside of the new interval when added to the old interval (i.e.
intervals do not overlap) c) the direction changes d) the antennaId changes There is no look-back to see if a previous row could be re-used
void casa::SDPointingHandler::initAll | ( | MeasurementSet & | ms, |
Vector< Bool > & | handledCols, | ||
const Record & | row | ||
) | [private] |
initialize everything
void casa::SDPointingHandler::initRow | ( | Vector< Bool > & | handledCols, |
const Record & | row | ||
) | [private] |
initialize everythign which depends on row
const String& casa::SDPointingHandler::name | ( | ) | [inline] |
Definition at line 124 of file SDPointingHandler.h.
References name_p.
Int casa::SDPointingHandler::nrow | ( | ) | [inline] |
convenience functions for use when filling the FIELD table, which is mostly just a clone of this table for SD data
Definition at line 123 of file SDPointingHandler.h.
References rownr_p.
SDPointingHandler& casa::SDPointingHandler::operator= | ( | const SDPointingHandler & | other | ) |
assignment operator, uses copy semantics
void casa::SDPointingHandler::resetRow | ( | const Record & | ) |
reset internals given indicated row, use the same MS
Double casa::SDPointingHandler::time | ( | ) | [inline] |
Definition at line 127 of file SDPointingHandler.h.
References time_p.
Int casa::SDPointingHandler::antId_p [private] |
Definition at line 134 of file SDPointingHandler.h.
Definition at line 142 of file SDPointingHandler.h.
Referenced by directionRefType().
Definition at line 135 of file SDPointingHandler.h.
Matrix<Double> casa::SDPointingHandler::directionPoly_p [private] |
Definition at line 136 of file SDPointingHandler.h.
Referenced by directionPoly().
Vector<Double> casa::SDPointingHandler::directionRate_p [private] |
Definition at line 137 of file SDPointingHandler.h.
Definition at line 149 of file SDPointingHandler.h.
MSPointing* casa::SDPointingHandler::msPointing_p [private] |
Definition at line 129 of file SDPointingHandler.h.
Definition at line 130 of file SDPointingHandler.h.
String casa::SDPointingHandler::name_p [private] |
Definition at line 138 of file SDPointingHandler.h.
Referenced by name().
Definition at line 150 of file SDPointingHandler.h.
Definition at line 144 of file SDPointingHandler.h.
these might come from an MS table this can just come from an MS v1 table
Definition at line 148 of file SDPointingHandler.h.
Int casa::SDPointingHandler::rownr_p [private] |
Definition at line 140 of file SDPointingHandler.h.
Referenced by nrow().
Double casa::SDPointingHandler::time_p [private] |
Definition at line 132 of file SDPointingHandler.h.
Referenced by time().
Definition at line 149 of file SDPointingHandler.h.
Definition at line 151 of file SDPointingHandler.h.