2 #include "PhotosParticle.h"
3 #include "PhotosBranch.h"
4 #include "PhotosEvent.h"
10 PhotosEvent::~PhotosEvent()
32 vector<PhotosParticle*> filtered;
33 for (
int i = 0; i < (int)particles.size(); i++) {
41 vector<PhotosParticle*> daughters = p->getDaughters();
43 for (j = 0; j < (int)daughters.size(); j++)
44 if (daughters.at(j)->getPdgID() == p->getPdgID())
break;
45 if (j != (
int)daughters.size())
continue;
47 Log::Debug(2) <<
"Passed particle filter" << endl;
48 filtered.push_back(p);