Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

ArchTestResult.h

Go to the documentation of this file.
00001 #ifndef ArchTestResult_H
00002 #define ArchTestResult_H
00003 
00004 #include <vector>
00005 #include <is/isinfo.h>
00006 #include <boost/shared_ptr.hpp>
00007 #include "SctData/TestResult.h"
00008 #include "SctData/ModuleDefect.h"
00009 #include "Sct/SctNames.h"
00010 #include "Archiving.h"
00011 #include "ArchRawScanResult.h"
00012 #include "ArchFitScanResult.h"
00013 #include "TObjString.h"
00014 
00015 class TVectorD;
00016 
00017 
00018 using namespace SctData;
00019 using namespace Sct;
00020 using boost::shared_ptr;
00021 
00022 class ArchTestResult: public Archiving  {
00023   
00024  protected:
00025      
00026   unsigned int runNumber;
00027   string moduleName; 
00028   string testType;
00029   unsigned int NScans;
00030 
00031   ArchTestNames* names;
00032 
00033   vector<shared_ptr<const RawScanResult> > rawScans;
00034   vector<shared_ptr<const FitScanResult> > fitScans;
00035   vector<shared_ptr<const ModuleDefect> > defects; 
00036 
00037   TObjString* testSummary;
00038 
00039 
00040  public:
00041     ArchTestResult(TestResult &);
00042     ArchTestResult(); 
00043     ~ArchTestResult();
00044 
00045     //void SetTest(TestResult & );
00046 
00047     //void SetRawScans();    //Stores in the vector<RawScanResult*> rawScans the Raw Scans;
00048     //void SetFitScans();    //Stores in the vector<FitScanResult*> fitScans the Fitted Scans;
00049 
00050     void SaveTestDataOnly();
00051     void SaveRawScans();
00052     void SaveFitScans();
00053     //bool TestIsPersisted(); 
00054     //bool TestIsPersisted(RawScanResult& );
00055     //bool TestIsPersisted(string testName, long runNumber, string moduleName);
00056     
00057     void AddTestToIndex();
00058     //virtual void TestSummary(TestResult &) =0;
00059 
00060     //TestResult* CreateTestResult();
00061     //TestResult* CreateTestResult(RawScanResult&);
00062     //TestResult* CreateTestResult(long scanNumber, long runNumber, string moduleName, const ScanType& scanType);
00063 
00064     // void SaveFileComment();
00065     // void SaveRunComment();
00066     // void SaveModuleComment();
00067     // void SaveTestComment();
00068     // void SaveScanComment();
00069 
00070 
00071     
00072 
00073 };
00074 
00075 
00076 #endif

Generated on Mon Dec 15 19:35:58 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3