17 SetFactoryFlag(NOT_OBJECT_OWNER);
26 locEventLoop->GetSingle(dAnalysisUtilities);
37 deque<pair<const DMCThrown*, deque<const DMCThrown*> > > locThrownSteps;
38 dAnalysisUtilities->Get_ThrownParticleSteps(locEventLoop, locThrownSteps);
40 if(locThrownSteps.empty())
43 for(
size_t loc_i = 0; loc_i < locThrownSteps.size(); ++loc_i)
45 deque<const DMCThrown*>& locParticles = locThrownSteps[loc_i].second;
46 for(
size_t loc_j = 0; loc_j < locParticles.size(); ++loc_j)
49 _data.push_back(const_cast<DMCThrown*>(locParticles[loc_j]));
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.
static int Is_FinalStateParticle(Particle_t locPID)
jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber)
Called everytime a new run number is detected.
jerror_t fini(void)
Called after last event of last event source has been processed.