34 vector<const DMCThrown*> locMCThrowns;
35 locEventLoop->Get(locMCThrowns);
36 if(locMCThrowns.empty())
39 vector<const DRFTime*> locRFTimes;
40 locEventLoop->Get(locRFTimes,
"TRUTH");
41 if(locRFTimes.empty())
44 locEventRFBunch->
dTime = numeric_limits<double>::quiet_NaN();
45 locEventRFBunch->
dTimeVariance = numeric_limits<double>::quiet_NaN();
48 _data.push_back(locEventRFBunch);
53 locEventRFBunch->
dTime = locRFTimes[0]->dTime;
57 _data.push_back(locEventRFBunch);
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
jerror_t init(void)
Called once at program start.
jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber)
Called every event.
jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber)
Called everytime a new run number is detected.
DetectorSystem_t dTimeSource
jerror_t fini(void)
Called after last event of last event source has been processed.
unsigned int dNumParticleVotes