00001 #include "TestLibraryImpl.h"
00002 #include "scripts/ResponseCurve.h"
00003 #include "scripts/ThreePointGainTest.h"
00004 #include "scripts/StrobeDelayTest.h"
00005 #include "scripts/NoiseOccupancyTest.h"
00006 #include "scripts/PipelineTest.h"
00007 #include "scripts/TrimRangeTest.h"
00008 #include "scripts/FullBypassBarrelTest.h"
00009 #include "scripts/FullBypassEndcapTest.h"
00010 #include "scripts/TimeWalkTest.h"
00011 #include "scripts/NMaskTest.h"
00012 #include "scripts/RxDelayTest.h"
00013 #include "scripts/RxThresholdTest.h"
00014
00015 namespace SctCalibrationController {
00016
00017 using namespace Scripts;
00018
00019 TestLibraryImpl::TestLibraryImpl() {
00020 cout << "create TestLibraryImpl" << endl;
00021 }
00022
00023 TestLibraryImpl& TestLibraryImpl::instance() {
00024 static TestLibraryImpl* instance = new TestLibraryImpl();
00025 return *instance;
00026 }
00027
00028 TestRequestImpl& TestLibraryImpl::responseCurve() const {
00029 return ResponseCurve::instance();
00030 }
00031
00032 TestRequestImpl& TestLibraryImpl::threePointGain () const {
00033 return ThreePointGainTest::instance();
00034 }
00035
00036 TestRequestImpl& TestLibraryImpl::strobeDelay () const {
00037 return StrobeDelayTest::instance();
00038 }
00039
00040 TestRequestImpl& TestLibraryImpl::pipeline () const {
00041 return PipelineTest::instance();
00042 }
00043
00044 TestRequestImpl& TestLibraryImpl::noiseOccupancy () const {
00045 return NoiseOccupancyTest::instance();
00046 }
00047 TestRequestImpl& TestLibraryImpl::timeWalk () const {
00048 return TimeWalkTest::instance();
00049 }
00050
00051 TestRequestImpl& TestLibraryImpl::fullBypassBarrel () const {
00052 return FullBypassBarrelTest::instance();
00053 }
00054
00055 TestRequestImpl& TestLibraryImpl::fullBypassEndcap () const {
00056 return FullBypassEndcapTest::instance();
00057 }
00058
00059 TestRequestImpl& TestLibraryImpl::trimRange () const {
00060 return TrimRangeTest::instance();
00061 }
00062
00063 TestRequestImpl& TestLibraryImpl::nmask () const {
00064 return NMaskTest::instance();
00065 }
00066
00067 TestRequestImpl& TestLibraryImpl::rxDelay() const {
00068 return RxDelayTest::instance();
00069 }
00070
00071 TestRequestImpl& TestLibraryImpl::rxThreshold () const {
00072 return RxThresholdTest::instance();
00073 }
00074
00075 }