00001 #ifndef GeneralFunctions_H 00002 #define GeneralFunctions_H 1 00003 00010 #include "TObject.h" 00011 00012 class TGraph; 00013 00014 class GeneralFunctions: public TObject{ 00015 00016 public: 00017 00019 GeneralFunctions(){} 00020 00022 virtual ~GeneralFunctions(){} 00023 00029 double interpolate(TGraph* aGraph, float reqTime); 00030 00038 double interpolate(double* times, double* values, int n, float reqTime); 00039 00040 ClassDef(GeneralFunctions, 1) 00041 00042 }; 00043 00044 #endif