Public Member Functions | |
| void | setUp () | 
| void | tearDown () | 
Protected Member Functions | |
| void | DataTypes () | 
| void | GlobalHeaderFields () | 
| void | TDCHeaderFields () | 
| void | TDCChipNumber () | 
| void | EventIdTest () | 
| void | TDCWordCountTest () | 
| void | TestMeasurement () | 
| void | ErrorBitsTest () | 
| void | TriggerTimeTest () | 
| void | GlobalTrailerTest () | 
Private Member Functions | |
| CPPUNIT_TEST_SUITE (DataTests) | |
| CPPUNIT_TEST (DataTypes) | |
| CPPUNIT_TEST (GlobalHeaderFields) | |
| CPPUNIT_TEST (TDCHeaderFields) | |
| CPPUNIT_TEST (TDCChipNumber) | |
| CPPUNIT_TEST (EventIdTest) | |
| CPPUNIT_TEST (TDCWordCountTest) | |
| CPPUNIT_TEST (TestMeasurement) | |
| CPPUNIT_TEST (ErrorBitsTest) | |
| CPPUNIT_TEST (TriggerTimeTest) | |
| CPPUNIT_TEST (GlobalTrailerTest) | |
| CPPUNIT_TEST_SUITE_END () | |
Definition at line 16 of file 1x90DataTests.cpp.
| DataTests::CPPUNIT_TEST_SUITE | ( | DataTests | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST | ( | DataTypes | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST | ( | GlobalHeaderFields | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST | ( | TDCHeaderFields | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST | ( | TDCChipNumber | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST | ( | EventIdTest | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST | ( | TDCWordCountTest | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST | ( | TestMeasurement | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST | ( | ErrorBitsTest | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST | ( | TriggerTimeTest | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST | ( | GlobalTrailerTest | ) |  [private] | 
        
| DataTests::CPPUNIT_TEST_SUITE_END | ( | ) |  [private] | 
        
| void DataTests::setUp | ( | ) |  [inline] | 
        
Definition at line 34 of file 1x90DataTests.cpp.
| void DataTests::tearDown | ( | ) |  [inline] | 
        
Definition at line 36 of file 1x90DataTests.cpp.
| void DataTests::DataTypes | ( | ) |  [protected] | 
        
Definition at line 81 of file 1x90DataTests.cpp.
References ASSERT, Filler(), GlobalHeader(), GlobalTrailer(), CCAENV1x90Data::isFiller(), CCAENV1x90Data::isGlobalHeader(), CCAENV1x90Data::isGlobalTrailer(), CCAENV1x90Data::isMeasurement(), CCAENV1x90Data::isTDCError(), CCAENV1x90Data::isTDCHeader(), CCAENV1x90Data::isTDCTrailer(), CCAENV1x90Data::isTriggerTimeTag(), Measurement(), TDCError(), TDCHeader(), TDCTrailer(), and TTimeTag().
| void DataTests::GlobalHeaderFields | ( | ) |  [protected] | 
        
Pick apart the global header fields: Our global header test data is for board 12, event 0x55
Definition at line 178 of file 1x90DataTests.cpp.
References CCAENV1x90Data::BoardNumber(), EQMSG, EXCEPTION, Filler(), GlobalHeader(), and CCAENV1x90Data::TriggerNumber().
| void DataTests::TDCHeaderFields | ( | ) |  [protected] | 
        
Extract the fields of the TDC HEADER. If I attempt to extract these fields from a global header, e.g., exceptions should be thrown.
Definition at line 198 of file 1x90DataTests.cpp.
References CCAENV1x90Data::BunchId(), EQMSG, CCAENV1x90Data::EventId(), EXCEPTION, GlobalHeader(), CCAENV1x90Data::TDCChip(), and TDCHeader().
| void DataTests::TDCChipNumber | ( | ) |  [protected] | 
        
Check TDCChip's ability to work for trailers and errors:
Definition at line 217 of file 1x90DataTests.cpp.
References EQMSG, CCAENV1x90Data::TDCChip(), TDCError(), and TDCTrailer().
| void DataTests::EventIdTest | ( | ) |  [protected] | 
        
Check EventId's ability to decode the event identification.
Definition at line 226 of file 1x90DataTests.cpp.
References EQMSG, CCAENV1x90Data::EventId(), and TDCTrailer().
| void DataTests::TDCWordCountTest | ( | ) |  [protected] | 
        
Test ability to pull word count from TDC Trailers:
Definition at line 234 of file 1x90DataTests.cpp.
References EQMSG, EXCEPTION, Filler(), TDCTrailer(), and CCAENV1x90Data::TDCWordCount().
| void DataTests::TestMeasurement | ( | ) |  [protected] | 
        
Test functions that decode a measurement.
Definition at line 246 of file 1x90DataTests.cpp.
References CCAENV1x90Data::ChannelNumber(), CCAENV1x90Data::ChannelValue(), EQMSG, EXCEPTION, Filler(), CCAENV1x90Data::isTrailing(), and Measurement().
| void DataTests::ErrorBitsTest | ( | ) |  [protected] | 
        
Test ability to pull error mask from error word in event stream.
Definition at line 267 of file 1x90DataTests.cpp.
References EQMSG, EXCEPTION, Filler(), TDCError(), and CCAENV1x90Data::TDCErrorBits().
| void DataTests::TriggerTimeTest | ( | ) |  [protected] | 
        
Test ability to pull trigger time test from event stream.
Definition at line 279 of file 1x90DataTests.cpp.
References EQMSG, EXCEPTION, CCAENV1x90Data::ExtendedTriggerTime(), Filler(), and TTimeTag().
| void DataTests::GlobalTrailerTest | ( | ) |  [protected] | 
        
Test ability to get stuff from global trailers:
Definition at line 289 of file 1x90DataTests.cpp.
References CCAENV1x90Data::BoardNumber(), EQMSG, CCAENV1x90Data::Error(), CCAENV1x90Data::EventSize(), EXCEPTION, Filler(), GlobalTrailer(), CCAENV1x90Data::Lost(), and CCAENV1x90Data::Overflow().
 1.5.1