00001 00002 // $Id: ConventionsValidate.cxx,v 1.5 2005/08/26 17:18:48 rhatcher Exp $ 00003 // 00004 // ConventionsValidate 00005 // 00006 // Test the methods provided by the Conventions classes 00007 // 00008 // rhatcher@fnal.gov 00010 00011 #include "Conventions/ConventionsValidate.h" 00012 00013 #include "Conventions/Detector.h" 00014 #include "Conventions/ElecType.h" 00015 #include "Conventions/PlaneCoverage.h" 00016 #include "Conventions/PlaneView.h" 00017 #include "Conventions/ReadoutType.h" 00018 #include "Conventions/SimFlag.h" 00019 #include "Conventions/StripEnd.h" 00020 00021 #include "Conventions/Munits.h" 00022 00023 #include "MessageService/MsgService.h" 00024 CVSID("$Id: ConventionsValidate.cxx,v 1.5 2005/08/26 17:18:48 rhatcher Exp $"); 00025 00026 ClassImp(ConventionsValidate) 00027 00028 //______________________________________________________________________________ 00029 ConventionsValidate::ConventionsValidate() {} 00030 00031 //______________________________________________________________________________ 00032 ConventionsValidate::~ConventionsValidate() {} 00033 00034 //______________________________________________________________________________ 00035 Bool_t ConventionsValidate::TestDetector() 00036 { 00037 MSG("Conv",Msg::kError) 00038 << " test doesn't actually validate anything" << endl; 00039 00040 Bool_t passed = true; 00041 00042 return passed; 00043 } 00044 00045 //______________________________________________________________________________ 00046 Bool_t ConventionsValidate::TestPlaneCoverage() 00047 { 00048 MSG("Conv",Msg::kError) 00049 << " test doesn't actually validate anything" << endl; 00050 00051 Bool_t passed = true; 00052 00053 return passed; 00054 } 00055 00056 //______________________________________________________________________________ 00057 Bool_t ConventionsValidate::TestPlaneView() 00058 { 00059 MSG("Conv",Msg::kError) 00060 << " test doesn't actually validate anything" << endl; 00061 00062 Bool_t passed = true; 00063 00064 return passed; 00065 } 00066 00067 //______________________________________________________________________________ 00068 Bool_t ConventionsValidate::TestReadoutType() 00069 { 00070 MSG("Conv",Msg::kError) 00071 << " test doesn't actually validate anything" << endl; 00072 00073 Bool_t passed = true; 00074 00075 return passed; 00076 } 00077 00078 //______________________________________________________________________________ 00079 Bool_t ConventionsValidate::TestSimFlag() 00080 { 00081 MSG("Conv",Msg::kError) 00082 << " test doesn't actually validate anything" << endl; 00083 00084 Bool_t passed = true; 00085 00086 return passed; 00087 } 00088 00089 //______________________________________________________________________________ 00090 Bool_t ConventionsValidate::TestStripEnd() 00091 { 00092 MSG("Conv",Msg::kError) 00093 << " test doesn't actually validate anything" << endl; 00094 00095 Bool_t passed = true; 00096 00097 return passed; 00098 } 00099 00100 //______________________________________________________________________________ 00101 Bool_t ConventionsValidate::TestMunits() 00102 { 00103 MSG("Conv",Msg::kError) 00104 << " test doesn't actually validate anything" << endl; 00105 00106 Bool_t passed = true; 00107 00108 return passed; 00109 } 00110 00111 //______________________________________________________________________________ 00112 Bool_t ConventionsValidate::RunAllTests() 00113 { 00114 Bool_t passed = kTRUE; 00115 00116 passed &= this->TestDetector(); 00117 passed &= this->TestPlaneCoverage(); 00118 passed &= this->TestPlaneView(); 00119 passed &= this->TestReadoutType(); 00120 passed &= this->TestSimFlag(); 00121 passed &= this->TestStripEnd(); 00122 00123 passed &= this->TestMunits(); 00124 00125 return passed; 00126 }
1.3.9.1