9 #include <fwk/CentralConfig.h>
10 #include <evt/Event.h>
11 #include <mevt/MEvent.h>
12 #include <mevt/Header.h>
14 #include <det/Detector.h>
15 #include <mdet/MDetector.h>
19 #include <utl/TimeStamp.h>
20 #include <utl/UTCDateTime.h>
22 #include <tst/Verify.h>
24 #include <cppunit/extensions/HelperMacros.h>
49 det::Detector::GetInstance().Update(fTime);
54 MEvent& mEvent = fEvent->GetMEvent();
55 const mdet::MDetector& theMDetector = det::Detector::GetInstance().GetMDetector();
65 CPPUNIT_ASSERT(Verify<Equal>(fNCounters, 22));
75 fIsOwnerOfEvent =
false;
95 CPPUNIT_ASSERT(Verify<Equal>(header.
GetId(), 999));
96 CPPUNIT_ASSERT(Verify<Equal>(header.
GetTime(), fTime));
103 MEvent& mEvent = fEvent->GetMEvent();
104 setHeaderValues(mEvent);
105 checkHeaderValues(mEvent);
CounterConstIterator CountersEnd() const
End iterator over the counters.
Detector associated to muon detector hierarchy.
CounterGroup::ConstIterator CounterConstIterator
Defines a more meaningful (and shorter) type for iterators.
void setHeaderValues(mevt::MEvent &mEvent)
static CentralConfig * GetInstance()
Use this the first time you get an instance of central configuration.
void MakeCounter(const int cId)
CounterConstIterator CountersBegin() const
Begin iterator over the counters.
void checkHeaderValues(const mevt::MEvent &mEvent)
Root of the Muon event hierarchy.
TimeStamp GetTimeStamp() const