#ifndef INTERPOLATE_DETECTOR_TEMPERATURE_2007_06_25 #define INTERPOLATE_DETECTOR_TEMPERATURE_2007_06_25 /** @file InterpDetTem.h @author Brian Magill @datecreated 06/25/2007 $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: Interpolates the detector temperatures onto the detector time grid */ //---------------------------------------------------------------------- // #include #include #include "EventVarVect.h" class InterpDetTem { private: std::valarray detectorTime; public: InterpDetTem():detectorTime(0) { }; InterpDetTem(std::valarray const &time):detectorTime(time) { }; InterpDetTem(InterpDetTem const &rhs): detectorTime(rhs.detectorTime) { }; InterpDetTem& operator = (InterpDetTem const& rhs ); ~InterpDetTem() { }; /// /// @param inTemp - array of input detector temperature /// @param time - housekeeping time array /// @param outTemp - array of detector temperature /// /// @brief intepolates detector temperatures /// void interpolate(EventVarVect &inTemp, std::valarray const &hskpTime, EventVarVect &outTemp); unsigned long size() const { return detectorTime.size(); } }; #endif