Public Member Functions | |
void | setUp () |
void | tearDown () |
void | testBasic () |
void | testBrokenChannelsAssignment (int CtrId, int ModId, TimeStamp t) |
void | testBrokenChannelsAssignment () |
void | testComponentAssignment () |
Private Member Functions | |
CPPUNIT_TEST (testBasic) | |
CPPUNIT_TEST (testComponentAssignment) | |
CPPUNIT_TEST (testBrokenChannelsAssignment) | |
CPPUNIT_TEST_SUITE (MDetectorTest) | |
CPPUNIT_TEST_SUITE_END () | |
Definition at line 46 of file testMDetector.cc.
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 56 of file testMDetector.cc.
References utl::Verbosity::eVerbose, and fwk::CentralConfig::GetInstance().
|
inline |
Definition at line 71 of file testMDetector.cc.
|
inline |
Definition at line 74 of file testMDetector.cc.
References ASSERT_CLOSE, ASSERT_EQUAL, mdet::Module::FibersBegin(), mdet::Module::FibersEnd(), mdet::Counter::GetAssociatedTank(), mdet::MDetector::GetCounter(), det::Detector::GetMDetector(), mdet::Counter::GetModule(), det::MPositionable< Config >::GetPosition(), mdet::Counter::GetSegmentation(), det::Detector::GetSiteCoordinateSystem(), utl::UTCDateTime::GetTimeStamp(), utl::BasicVector< HepVector >::GetX(), utl::BasicVector< HepVector >::GetY(), utl::BasicVector< HepVector >::GetZ(), utl::m, mdet::Counter::ModulesBegin(), mdet::Counter::ModulesEnd(), mdet::Module::ScintillatorsBegin(), mdet::Module::ScintillatorsEnd(), and det::Detector::Update().
|
inline |
Definition at line 126 of file testMDetector.cc.
References mdet::MDetector::GetCounter(), mdet::Module::GetFrontEnd(), mdet::FrontEnd::GetMask(), det::Detector::GetMDetector(), mdet::FrontEnd::GetMeanSampleRatePeriod(), mdet::Counter::GetModule(), mdet::FrontEnd::GetPostT1BufferLength(), mdet::FrontEnd::GetPreT1BufferLength(), and det::Detector::Update().
|
inline |
Definition at line 148 of file testMDetector.cc.
|
inline |
Definition at line 157 of file testMDetector.cc.
References ASSERT_EQUAL, mdet::FrontEnd::ChannelsBegin(), mdet::FrontEnd::ChannelsEnd(), mdet::Module::ChannelToFiberId(), mdet::Module::ChannelToPixelId(), mdet::Module::ChannelToScintillatorId(), mdet::Module::FiberToChannelId(), mdet::Module::FiberToPixelId(), mdet::Module::FiberToScintillatorId(), mdet::Module::GetChannel(), mdet::Module::GetChannelFor(), mdet::MDetector::GetCounter(), mdet::Module::GetFiber(), mdet::Module::GetFiberFor(), mdet::Module::GetFrontEnd(), det::Detector::GetMDetector(), mdet::Counter::GetModule(), mdet::Module::GetPixel(), mdet::Module::GetPixelFor(), mdet::Module::GetPMT(), mdet::Module::GetScintillator(), mdet::Module::GetScintillatorFor(), utl::UTCDateTime::GetTimeStamp(), mdet::PMT::PixelsBegin(), mdet::PMT::PixelsEnd(), mdet::Module::PixelToChannelId(), mdet::Module::PixelToFiberId(), mdet::Module::PixelToScintillatorId(), mdet::Module::ScintillatorToChannelId(), mdet::Module::ScintillatorToFiberId(), mdet::Module::ScintillatorToPixelId(), and det::Detector::Update().