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

ArchTestResult.h

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<RawScanResult> > rawScans;
00034   vector<shared_ptr<FitScanResult> > fitScans;
00035   DefectCollection defects; 
00036   vector<unsigned int> scanNumbers ;
00037   TObjString* testSummary;
00038 
00039   ArchTestResult(shared_ptr<TestResult>);
00040 
00041  public:
00042     
00043     ArchTestResult(); 
00044     ~ArchTestResult();
00045     virtual shared_ptr<ArchTestResult> clone(shared_ptr<TestResult> test) =0;
00046     //void SetTest(TestResult & );
00047 
00048     void SetRawScans();    //Stores in the vector<RawScanResult*> rawScans the Raw Scans;
00049     void SetFitScans();    //Stores in the vector<FitScanResult*> fitScans the Fitted Scans;
00050 
00051     vector<shared_ptr<const ModuleDefect> >  DeleteRepetedDefects( vector<shared_ptr<const ModuleDefect> >  defect );
00052     void Save();
00053     void RetrieveRawFitScans(); 
00054     void SaveRawScans();
00055     void SaveFitScans();
00056     //bool TestIsPersisted(); 
00057     //bool TestIsPersisted(RawScanResult& );
00058     //bool TestIsPersisted(string testName, long runNumber, string moduleName);
00059     
00060     void AddTestToIndex();
00061     //virtual void TestSummary(TestResult &) =0;
00062 
00063     //TestResult* CreateTestResult();
00064     //TestResult* CreateTestResult(RawScanResult&);
00065     //TestResult* CreateTestResult(long scanNumber, long runNumber, string moduleName, const ScanType& scanType);
00066 
00067     // void SaveFileComment();
00068     // void SaveRunComment();
00069     // void SaveModuleComment();
00070     // void SaveTestComment();
00071     // void SaveScanComment();
00072 
00073 
00074     
00075 
00076 };
00077 
00078 
00079 #endif

Generated on Thu Jul 15 09:50:43 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5