00001 #ifndef VoltCalibrator_H_INCLUDED
00002 #define VoltCalibrator_H_INCLUDED
00003 #include "Stiostream.h"
00004 #include "TObject.h"
00005
00006 class VoltCalibrator
00007 {
00008 public:
00009
00010 VoltCalibrator();
00011 virtual ~VoltCalibrator();
00012 void setRefFile(const char * name);
00013 void setGainFile(const char *name);
00014 void setVoltInputFile(const char *name);
00015 void setVoltOutputFile(const char *name);
00016 void process();
00017 void createTemplates();
00018 protected:
00019
00021 const char * refFile;
00023 const char * gainFile;
00025 const char * currentVoltFile;
00027 const char * newVoltFile;
00028
00029 ClassDef(VoltCalibrator,1)
00030
00031 };
00032 #endif