3 #include <Pythia8/Event.h>
4 #include <Pythia8/Pythia.h>
27 , _doBothEtaCut(
false)
30 _doAbsEtaHighCut(
false)
31 , _doAbsEtaLowCut(
false)
32 , _doBothAbsEtaCut(
false)
63 cout <<
"PHPy8ParticleTrigger::Apply - pythia event size: "
64 << pythia->event.size() << endl;
68 for (
int i = 0;
i < pythia->event.size(); ++
i)
74 (pythia->event[
i].status() > 0
164 cout <<
"stable " << pythia->event[
i].id()
165 <<
" pt: " << pythia->event[
i].pT()
166 <<
" pz: " << pythia->event[
i].pz()
167 <<
" p: " << pythia->event[
i].pAbs()
168 <<
" eta: " << pythia->event[
i].eta()
169 <<
" y: " << pythia->event[
i].y() << endl;
173 bool passedParents =
false;
177 std::vector<int> moms = pythia->event[
i].motherList();
178 for (
int m = 0;
m < int(moms.size());
m++)
182 passedParents =
true;
185 cout <<
"found parent!" << endl;
488 cout <<
"---------------- PHPy8ParticleTrigger::PrintConfig --------------------" << endl;
492 cout <<
"Process stable particles only." << endl;
496 cout <<
"Process both unstable and stable particles." << endl;
499 cout <<
" Particles: ";
506 cout <<
" Parents: ";
537 cout <<
"-----------------------------------------------------------------------" << endl;