#ifndef POINTING_CUTOFF_6_26_2008 #define POINTING_CUTOFF_6_26_2008 /** @class PointingCutoff.h @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 cuts off the pointing correction at particular time. */ #include class PointingCutoff { private: double cutoffTime; bool mode; public: PointingCutoff():cutoffTime(0.0), mode(false) { } PointingCutoff(const double & cutoff, const bool sssrf): cutoffTime(cutoff), mode(sssrf) { } PointingCutoff(const PointingCutoff & rhs) : cutoffTime(rhs.cutoffTime), mode(rhs.mode) { } PointingCutoff const & operator = (PointingCutoff const &rhs) { if (this == &rhs) return *this; cutoffTime = rhs.cutoffTime; mode = rhs.mode; return *this; } ~PointingCutoff() { } std::valarray operator()(std::valarray const &time, std::valarray const &inModel, long &cutoffIndex); void operator()(std::valarray const &time, std::valarray const &inModel, std::valarray & outModel, long &cutoffIndex); }; #endif