#ifndef SETUP_DRIFT_8_23_2007 #define SETUP_DRIFT_8_23_2007 /** @class SetUpDrift.h @author Brian Magill @creation date 8/23/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 A Class for setting up the place the input parameters for the drift correction */ #include #include #include "ConfigFile.h" #include "SigEarthLocParam.h" #include "BalanceTimes.h" #include "SetUpDriftParam.h" class SetUpDrift { private: ConfigFile *config; std::string sectionName; public: SetUpDrift():config(0), sectionName("") { } SetUpDrift(ConfigFile &cf, std::string name = "DriftSetup"): config(&cf), sectionName(name) { } SetUpDrift(SetUpDrift const &rhs):config(rhs.config), sectionName(rhs.sectionName) { } SetUpDrift const & operator = (const SetUpDrift &rhs) { if (this == &rhs) return *this; config = rhs.config; sectionName = rhs.sectionName; return *this; } ~SetUpDrift() { } SetUpDriftParam operator()(SigEarthLocParam const & earthInfo, BalanceTimes const & balTimes) const; }; #endif