/** @file SetUpPointingCor @author Brian Magill @creation date 6/26/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 A place to put the input parameters for the pointing correction */ #include #include "SetUpPointingCor.h" #include "ConvertAlt2Time.h" #include "SOFIE_namespace.h" #include "GATS_Utilities.hpp" using namespace std; using GATS_Utilities::ConvertToString; double SetUpPointingCor::operator()(SigEarthLocParam const & earthInfo) const { ConvertAlt2Time convert(earthInfo); double alt; double timePoint; //string keyName; string strErr; int i; try { alt = config->GetReal(sectionName, keyName); timePoint = convert(alt); } catch (exception &ex) { strErr = string("Problem in SetUpPointingCor::operator() ") + ex.what(); throw runtime_error(strErr); } return timePoint; }