#ifndef POINTING_SIGNAL_PARAMETER_4_02_2008 #define POINTING_SIGNAL_PARAMETER_4_02_2008 /** @file PointingSigParam.h @author Brian Magill @date 4/02/2008 $Date:$ $Revision:$ @copyright (©) Copyright 2006 by GATS Inc. 11864 Canon Blvd., Suite 101, Newport News, VA 23606 All Rights Reserved. No part of this software or publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise without the prior written permission of GATS Inc. @brief Contains the parameters used in the solar pointing drift corrections */ #include class PointingSigParam { typedef std::vector arrayD; typedef std::vector arrayInt; private: int gasID; arrayD azimCoef; arrayD elevCoef; arrayD offset; arrayInt quality; bool calcDone; public: PointingSigParam( ):gasID(0), azimCoef(0), elevCoef(0), offset(0), quality(0), calcDone(false) { } PointingSigParam(int id , const arrayD & az, const arrayD & el, const arrayD & of, const arrayInt &qu, bool calc = true): gasID(id), azimCoef(az), elevCoef(el), offset(of), quality(qu), calcDone(calc) { } PointingSigParam(PointingSigParam const &rhs): gasID(rhs.gasID), azimCoef(rhs.azimCoef), elevCoef(rhs.elevCoef), offset(rhs.offset), quality(rhs. quality), calcDone(rhs.calcDone) { } PointingSigParam const & operator = (PointingSigParam const &rhs) { if (this == &rhs) return *this; gasID = rhs.gasID; azimCoef = rhs.azimCoef; elevCoef = rhs.elevCoef; offset = rhs.offset; quality = rhs.quality; calcDone = rhs.calcDone; return *this; } ~PointingSigParam() { } double getID() const { return gasID;} double getOffset(int indx) const {return offset.at(indx); } double getAzimCoef(int indx) const {return azimCoef.at(indx); } double getElevCoef(int indx) const {return elevCoef.at(indx); } int getQuality(int indx) const {return quality.at(indx); } bool hasData() const { return calcDone; } }; #endif