#ifndef POINTING_CUTOFF_6_26_2008 #define POINTING_CUTOFF_6_26_2008 /** @class EffPointingCutoff.h @author Greg Paxton @creation date 9/18/2009 $Date:$ $Revision:$ @copyright (©) Copyright 2009 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 Determines the Pointing Correction Cutoff index */ #include class EffPointingCutoff { private: double cutoffTime; bool mode; public: EffPointingCutoff():cutoffTime(0.0), mode(false) { } EffPointingCutoff(const double & cutoff, const bool sssrf): cutoffTime(cutoff), mode(sssrf) { } EffPointingCutoff(const EffPointingCutoff & rhs) : cutoffTime(rhs.cutoffTime), mode(rhs.mode) { } EffPointingCutoff const & operator = (EffPointingCutoff const &rhs) { if (this == &rhs) return *this; cutoffTime = rhs.cutoffTime; mode = rhs.mode; return *this; } ~EffPointingCutoff() { } void operator()(std::valarray const &time, std::valarray const &lockdown, double & value, long & index); }; #endif