#include <testSEventImpl.h>
Private Attributes | |
evt::Event * | fEvent = nullptr |
bool | fIsOwnerOfEvent = false |
int | fNStations = 0 |
bool | fTestIO = false |
utl::TimeStamp | fTime |
Definition at line 15 of file testSEventImpl.h.
testSEventImpl::testSEventImpl | ( | ) |
Definition at line 40 of file testSEventImpl.cc.
testSEventImpl::~testSEventImpl | ( | ) |
Definition at line 49 of file testSEventImpl.cc.
void testSEventImpl::checkAll | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 1247 of file testSEventImpl.cc.
References sevt::SEvent::GetNumberOfStations().
void testSEventImpl::checkEventTriggerValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 197 of file testSEventImpl.cc.
References utl::UTCDateTime::GetTimeStamp(), sevt::SEvent::GetTrigger(), sevt::SEvent::HasTrigger(), and U.
void testSEventImpl::checkHeaderValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 106 of file testSEventImpl.cc.
References sevt::SEvent::GetHeader(), sevt::Header::GetId(), and sevt::Header::GetTime().
void testSEventImpl::checkPMTCalibDataValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 715 of file testSEventImpl.cc.
References sdet::PMTConstants::eLowGain.
void testSEventImpl::checkPMTRecDataValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 223 of file testSEventImpl.cc.
References cevt::StationConstants::eHadron, and cevt::StationConstants::eTotal.
void testSEventImpl::checkPMTSimDataValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 481 of file testSEventImpl.cc.
References sevt::StationConstants::eDirectLight, cevt::StationConstants::eElectron, cevt::StationConstants::eHadron, sdet::PMTConstants::eHighGain, sevt::StationConstants::eThirdBounce, cevt::StationConstants::eTotal, utl::TimeDistribution< T >::GetStart(), and utl::TimeDistribution< T >::GetStop().
void testSEventImpl::checkPMTValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 615 of file testSEventImpl.cc.
References sdet::PMTConstants::eLowGain, cevt::StationConstants::eMuon, cevt::StationConstants::eTotal, utl::Trace< T >::GetStart(), and utl::Trace< T >::GetStop().
void testSEventImpl::checkSEventIterators | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 1310 of file testSEventImpl.cc.
References sevt::SEvent::GetNumberOfStations(), and utl::s.
void testSEventImpl::checkStationCalibDataValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 1166 of file testSEventImpl.cc.
void testSEventImpl::checkStationGPSDataValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 913 of file testSEventImpl.cc.
void testSEventImpl::checkStationRecDataValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 1106 of file testSEventImpl.cc.
References utl::UTCDateTime::GetTimeStamp(), utl::s, and U.
void testSEventImpl::checkStationSimDataValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 1033 of file testSEventImpl.cc.
References utl::UTCDateTime::GetTimeStamp(), and utl::s.
void testSEventImpl::checkStationTriggerValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 366 of file testSEventImpl.cc.
void testSEventImpl::checkStationValues | ( | const sevt::SEvent & | sEvent | ) |
Definition at line 826 of file testSEventImpl.cc.
References cevt::StationConstants::eOutOfTime, sdet::SDetector::GetFullStationList(), utl::UTCDateTime::GetTimeStamp(), and utl::s.
void testSEventImpl::setAll | ( | sevt::SEvent & | sEvent | ) |
Definition at line 1229 of file testSEventImpl.cc.
void testSEventImpl::setEventTriggerValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 179 of file testSEventImpl.cc.
References sevt::SEvent::GetTrigger(), sevt::SEvent::HasTrigger(), sevt::SEvent::MakeTrigger(), sevt::EventTrigger::SetAlgorithm(), sevt::EventTrigger::SetId(), sevt::EventTrigger::SetNStations(), sevt::EventTrigger::SetPreviousId(), sevt::EventTrigger::SetSDPAngle(), sevt::EventTrigger::SetSender(), and sevt::EventTrigger::SetTime().
void testSEventImpl::setHeaderValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 97 of file testSEventImpl.cc.
References sevt::SEvent::GetHeader(), sevt::Header::SetId(), and sevt::Header::SetTime().
void testSEventImpl::setPMTCalibDataValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 671 of file testSEventImpl.cc.
References sdet::PMTConstants::eLowGain, sevt::PMTCalibData::SetBaseline(), sevt::PMTCalibData::SetEvolution(), sevt::PMTCalibData::SetGainRatio(), sevt::PMTCalibData::SetHighGainDelay(), sevt::PMTCalibData::SetHighGainDelayChi2(), sevt::PMTCalibData::SetIsTubeOk(), sevt::PMTCalibData::SetMuonBaseHisto(), sevt::PMTCalibData::SetMuonChargeHisto(), sevt::PMTCalibData::SetMuonPeakHisto(), sevt::PMTCalibData::SetMuonShapeHisto(), sevt::PMTCalibData::SetNumberTDA(), sevt::PMTCalibData::SetOnlineCharge(), sevt::PMTCalibData::SetOnlinePeak(), and sevt::PMTCalibData::SetRate().
void testSEventImpl::setPMTRecDataValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 272 of file testSEventImpl.cc.
References cevt::StationConstants::eHadron, cevt::StationConstants::eTotal, sevt::PMTRecData::GetVEMTrace(), sevt::PMTRecData::HasVEMTrace(), sevt::PMTRecData::MakeVEMTrace(), sevt::PMTRecData::SetAreaOverPeak(), sevt::PMTRecData::SetFallTime(), sevt::PMTRecData::SetPeakAmplitude(), sevt::PMTRecData::SetRiseTime(), and sevt::PMTRecData::SetTotalCharge().
void testSEventImpl::setPMTSimDataValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 401 of file testSEventImpl.cc.
References sevt::StationConstants::eDirectLight, cevt::StationConstants::eElectron, cevt::StationConstants::eHadron, sdet::PMTConstants::eHighGain, sevt::StationConstants::eThirdBounce, sevt::PMTSimData::GetBaseSignal(), sevt::PMTSimData::GetFADCTrace(), sevt::PMTSimData::GetFilterSignal(), sevt::PMTSimData::GetPETimeDistribution(), utl::TimeDistribution< T >::GetStart(), utl::TimeDistribution< T >::GetStop(), sevt::PMTSimData::HasBaseSignal(), sevt::PMTSimData::HasFADCTrace(), sevt::PMTSimData::HasFilterSignal(), sevt::PMTSimData::HasPETimeDistribution(), sevt::PMTSimData::MakeBaseSignal(), sevt::PMTSimData::MakeFADCTrace(), sevt::PMTSimData::MakeFilterSignal(), and sevt::PMTSimData::MakePETimeDistribution().
void testSEventImpl::setPMTValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 581 of file testSEventImpl.cc.
References sdet::PMTConstants::eLowGain, cevt::StationConstants::eMuon, cevt::StationConstants::eTotal, sdet::Station::GetFADCTraceLength(), utl::Trace< T >::GetStart(), sdet::SDetector::GetStation(), utl::Trace< T >::GetStop(), utl::Trace< T >::SetStart(), utl::Trace< T >::SetStop(), sevt::SEvent::StationsBegin(), and sevt::SEvent::StationsEnd().
void testSEventImpl::setSEventIterators | ( | sevt::SEvent & | sEvent | ) |
Definition at line 1286 of file testSEventImpl.cc.
References sevt::SEvent::GetNumberOfStations(), sevt::SEvent::StationsBegin(), and sevt::SEvent::StationsEnd().
void testSEventImpl::setStationCalibDataValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 1140 of file testSEventImpl.cc.
References utl::s, sevt::StationCalibData::SetEndSecond(), sevt::StationCalibData::SetMuonChargeHisto(), sevt::StationCalibData::SetNT1(), sevt::StationCalibData::SetNT2(), sevt::StationCalibData::SetNTot(), sevt::StationCalibData::SetNTubesOk(), sevt::StationCalibData::SetStartSecond(), and sevt::StationCalibData::SetVersion().
void testSEventImpl::setStationGPSDataValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 887 of file testSEventImpl.cc.
References utl::s, sevt::StationGPSData::SetCorrectedNanosecond(), sevt::StationGPSData::SetCurrent100(), sevt::StationGPSData::SetCurrent40(), sevt::StationGPSData::SetCurrentST(), sevt::StationGPSData::SetNext100(), sevt::StationGPSData::SetNext40(), sevt::StationGPSData::SetNextST(), sevt::StationGPSData::SetOffset(), sevt::StationGPSData::SetPreviousST(), sevt::StationGPSData::SetSecond(), sevt::StationGPSData::SetTick(), and sevt::StationGPSData::SetTickFall().
void testSEventImpl::setStationRecDataValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 1083 of file testSEventImpl.cc.
References utl::s, sevt::StationRecData::SetFallTime(), sevt::StationRecData::SetMuonComponent(), sevt::StationRecData::SetPeakAmplitude(), sevt::StationRecData::SetResidual(), sevt::StationRecData::SetRiseTime(), sevt::StationRecData::SetSignalEndSlot(), sevt::StationRecData::SetSignalStartSlot(), sevt::StationRecData::SetSignalStartTime(), sevt::StationRecData::SetTotalSignal(), and U.
void testSEventImpl::setStationSimDataValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 938 of file testSEventImpl.cc.
References cevt::StationConstants::eMuon, sevt::StationSimData::GetGPSData(), sdet::SDetector::GetStation(), utl::UTCDateTime::GetTimeStamp(), sevt::StationSimData::GetTriggerData(), sevt::StationSimData::HasTriggerData(), sevt::StationSimData::MakeTriggerAndGPSData(), ns, utl::s, sevt::StationTriggerData::SetAlgorithm(), sevt::StationGPSData::SetCorrectedNanosecond(), sevt::StationGPSData::SetCurrent100(), sevt::StationGPSData::SetCurrent40(), sevt::StationGPSData::SetCurrentST(), sevt::StationTriggerData::SetErrorCode(), sevt::StationSimData::SetIsInsideMinRadius(), sevt::StationGPSData::SetNext100(), sevt::StationGPSData::SetNext40(), sevt::StationGPSData::SetNextST(), sevt::StationGPSData::SetOffset(), sevt::StationTriggerData::SetOffsetMicroSecond(), sevt::StationSimData::SetPlaneFrontTime(), sevt::StationGPSData::SetPreviousST(), sevt::StationGPSData::SetSecond(), sevt::StationSimData::SetSimulatorSignature(), sevt::StationGPSData::SetTick(), sevt::StationGPSData::SetTickFall(), sevt::StationTriggerData::SetWindowMicroSecond(), and utl::TeV.
void testSEventImpl::setStationTriggerValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 319 of file testSEventImpl.cc.
References cevt::StationConstants::eMuon, MolecularIds::eNone, sevt::StationConstants::eRandom, cevt::StationConstants::eSilent, sevt::StationTriggerData::GetAlgorithm(), sevt::StationTriggerData::GetAlgorithmName(), sevt::StationTriggerData::SetAlgorithm(), sevt::StationTriggerData::SetErrorCode(), sevt::StationTriggerData::SetOffsetMicroSecond(), and sevt::StationTriggerData::SetWindowMicroSecond().
void testSEventImpl::setStationValues | ( | sevt::SEvent & | sEvent | ) |
Definition at line 756 of file testSEventImpl.cc.
References sevt::StationConstants::eBadCompress, sevt::StationConstants::eLightning, and cevt::StationConstants::eOutOfTime.
void testSEventImpl::setUp | ( | ) |
Definition at line 57 of file testSEventImpl.cc.
References utl::Verbosity::eVerbose, fwk::CentralConfig::GetInstance(), utl::UTCDateTime::GetTimeStamp(), evt::Event::MakeSEvent(), and sevt::SEvent::MakeStation().
Referenced by testSEvent::setUp().
void testSEventImpl::setUp | ( | evt::Event & | event, |
const bool | testIO = true |
||
) |
Definition at line 86 of file testSEventImpl.cc.
|
inline |
Definition at line 34 of file testSEventImpl.h.
Referenced by testSEvent::tearDown().
void testSEventImpl::testAssignment | ( | ) |
Definition at line 1214 of file testSEventImpl.cc.
References evt::Event::GetSEvent().
Referenced by testSEvent::testAssignment().
void testSEventImpl::testCopyCtor | ( | ) |
Definition at line 1200 of file testSEventImpl.cc.
References evt::Event::GetSEvent().
Referenced by testSEvent::testCopyCtor().
void testSEventImpl::testEventTrigger | ( | ) |
Definition at line 310 of file testSEventImpl.cc.
Referenced by testSEvent::testEventTrigger().
void testSEventImpl::testHeader | ( | ) |
Definition at line 116 of file testSEventImpl.cc.
Referenced by testSEvent::testHeader().
void testSEventImpl::testPMT | ( | ) |
Definition at line 572 of file testSEventImpl.cc.
Referenced by testSEvent::testPMT().
void testSEventImpl::testPMTCalibData | ( | ) |
Definition at line 662 of file testSEventImpl.cc.
Referenced by testSEvent::testPMTCalibData().
void testSEventImpl::testPMTRecData | ( | ) |
Definition at line 214 of file testSEventImpl.cc.
Referenced by testSEvent::testPMTRecData().
void testSEventImpl::testPMTSimData | ( | ) |
Definition at line 392 of file testSEventImpl.cc.
Referenced by testSEvent::testPMTSimData().
void testSEventImpl::testSEventIterators | ( | ) |
Definition at line 1269 of file testSEventImpl.cc.
References sevt::StationConstants::eLightning, and utl::s.
Referenced by testSEvent::testSEventIterators().
void testSEventImpl::testSEventSimData | ( | ) |
Definition at line 125 of file testSEventImpl.cc.
References sevt::T3::AddStation(), sevt::SEventSimData::AddT3(), sevt::SEvent::GetSimData(), utl::UTCDateTime::GetTimeStamp(), sevt::SEvent::HasSimData(), sevt::SEvent::MakeSimData(), utl::microsecond, sevt::T3::SetAlgorithm(), sevt::T3::SetTime(), sevt::SEventSimData::T3sBegin(), and sevt::SEventSimData::T3sEnd().
Referenced by testSEvent::testSEventSimData().
void testSEventImpl::testStation | ( | ) |
Definition at line 860 of file testSEventImpl.cc.
Referenced by testSEvent::testStation().
void testSEventImpl::testStationCalibData | ( | ) |
Definition at line 1191 of file testSEventImpl.cc.
Referenced by testSEvent::testStationCalibData().
void testSEventImpl::testStationGPSData | ( | ) |
Definition at line 878 of file testSEventImpl.cc.
Referenced by testSEvent::testStationGPSData().
void testSEventImpl::testStationRecData | ( | ) |
Definition at line 1131 of file testSEventImpl.cc.
Referenced by testSEvent::testStationRecData().
void testSEventImpl::testStationSimData | ( | ) |
Definition at line 869 of file testSEventImpl.cc.
Referenced by testSEvent::testStationSimData().
void testSEventImpl::testStationTriggerData | ( | ) |
Definition at line 383 of file testSEventImpl.cc.
Referenced by testSEvent::testStationTriggerData().
|
private |
Definition at line 25 of file testSEventImpl.h.
|
private |
Definition at line 26 of file testSEventImpl.h.
|
private |
Definition at line 29 of file testSEventImpl.h.
|
private |
Definition at line 27 of file testSEventImpl.h.
|
private |
Definition at line 28 of file testSEventImpl.h.