ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/generators/PHPythia8/PHPy8ParticleTrigger.h>
Public Member Functions | |
PHPy8ParticleTrigger (const std::string &name="PHPy8ParticleTrigger") | |
~PHPy8ParticleTrigger () override | |
bool | Apply (Pythia8::Pythia *pythia) override |
void | AddParticles (const std::string &particles) |
void | AddParticles (int particle) |
void | AddParticles (std::vector< int > particles) |
void | AddParents (const std::string &parents) |
void | AddParents (int parent) |
void | AddParents (std::vector< int > parents) |
void | SetPtHigh (double pt) |
void | SetPtLow (double pt) |
void | SetPtHighLow (double ptHigh, double ptLow) |
void | SetPHigh (double p) |
void | SetPLow (double p) |
void | SetPHighLow (double pHigh, double pLow) |
void | SetYHigh (double eta) |
rapidity cuts | |
void | SetYLow (double eta) |
void | SetYHighLow (double etaHigh, double etaLow) |
void | SetEtaHigh (double eta) |
void | SetEtaLow (double eta) |
void | SetEtaHighLow (double etaHigh, double etaLow) |
void | SetAbsEtaHigh (double eta) |
void | SetAbsEtaLow (double eta) |
void | SetAbsEtaHighLow (double etaHigh, double etaLow) |
void | SetPzHigh (double pz) |
void | SetPzLow (double pz) |
void | SetPzHighLow (double pzHigh, double pzLow) |
void | SetStableParticleOnly (bool b) |
Whether to apply the criteria to unstable particles in the Pythia records too (default = true) | |
void | PrintConfig () |
Public Member Functions inherited from PHPy8GenTrigger | |
virtual | ~PHPy8GenTrigger () |
virtual std::string | GetName () |
std::vector< int > | convertToInts (std::string s) |
int | Verbosity () const |
void | Verbosity (int v) |
Private Attributes | |
std::vector< int > | _theParents |
std::vector< int > | _theParticles |
double | _theYHigh = 999 |
double | _theYLow = -999 |
double | _theEtaHigh |
double | _theEtaLow |
double | _thePtHigh |
double | _thePtLow |
double | _thePHigh |
double | _thePLow |
double | _thePzHigh |
double | _thePzLow |
bool | _doYHighCut = false |
bool | _doYLowCut = false |
bool | _doBothYCut = false |
bool | _doEtaHighCut |
bool | _doEtaLowCut |
bool | _doBothEtaCut |
bool | _doAbsEtaHighCut |
bool | _doAbsEtaLowCut |
bool | _doBothAbsEtaCut |
bool | _doPtHighCut |
bool | _doPtLowCut |
bool | _doBothPtCut |
bool | _doPHighCut |
bool | _doPLowCut |
bool | _doBothPCut |
bool | _doPzHighCut |
bool | _doPzLowCut |
bool | _doBothPzCut |
bool | m_doStableParticleOnly = true |
Additional Inherited Members | |
Protected Member Functions inherited from PHPy8GenTrigger | |
PHPy8GenTrigger (const std::string &name="PHPy8GenTrigger") | |
constructor | |
Definition at line 14 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 14 of file PHPy8ParticleTrigger.h
PHPy8ParticleTrigger::PHPy8ParticleTrigger | ( | const std::string & | name = "PHPy8ParticleTrigger" | ) |
Definition at line 13 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 13 of file PHPy8ParticleTrigger.cc
|
override |
Definition at line 51 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 51 of file PHPy8ParticleTrigger.cc
References PrintConfig(), and PHPy8GenTrigger::Verbosity().
void PHPy8ParticleTrigger::AddParents | ( | const std::string & | parents | ) |
Definition at line 160 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 160 of file PHPy8ParticleTrigger.cc
References _theParents, and PHPy8GenTrigger::convertToInts().
Definition at line 166 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 166 of file PHPy8ParticleTrigger.cc
References _theParents.
Definition at line 171 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 171 of file PHPy8ParticleTrigger.cc
References _theParents.
void PHPy8ParticleTrigger::AddParticles | ( | const std::string & | particles | ) |
Definition at line 144 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 144 of file PHPy8ParticleTrigger.cc
References _theParticles, and PHPy8GenTrigger::convertToInts().
Definition at line 150 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 150 of file PHPy8ParticleTrigger.cc
References _theParticles.
Definition at line 155 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 155 of file PHPy8ParticleTrigger.cc
References _theParticles.
|
overridevirtual |
Reimplemented from PHPy8GenTrigger.
Definition at line 56 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 56 of file PHPy8ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _doBothEtaCut, _doBothPCut, _doBothPtCut, _doBothPzCut, _doBothYCut, _doEtaHighCut, _doEtaLowCut, _doPHighCut, _doPLowCut, _doPtHighCut, _doPtLowCut, _doPzHighCut, _doPzLowCut, _doYHighCut, _doYLowCut, _theEtaHigh, _theEtaLow, _theParents, _theParticles, _thePHigh, _thePLow, _thePtHigh, _thePtLow, _thePzHigh, _thePzLow, _theYHigh, _theYLow, kdfinder::abs(), int(), k, m, m_doStableParticleOnly, and PHPy8GenTrigger::Verbosity().
void PHPy8ParticleTrigger::PrintConfig | ( | ) |
Definition at line 412 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 412 of file PHPy8ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _doBothEtaCut, _doBothPCut, _doBothPtCut, _doBothPzCut, _doBothYCut, _doEtaHighCut, _doEtaLowCut, _doPHighCut, _doPLowCut, _doPtHighCut, _doPtLowCut, _doPzHighCut, _doPzLowCut, _doYHighCut, _doYLowCut, _theEtaHigh, _theEtaLow, _theParents, _theParticles, _thePHigh, _thePLow, _thePtHigh, _thePtLow, _thePzHigh, _thePzLow, _theYHigh, _theYLow, int(), and m_doStableParticleOnly.
Referenced by ~PHPy8ParticleTrigger().
void PHPy8ParticleTrigger::SetAbsEtaHigh | ( | double | eta | ) |
Definition at line 330 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 330 of file PHPy8ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaHigh, and Acts::VectorHelpers::eta().
void PHPy8ParticleTrigger::SetAbsEtaHighLow | ( | double | etaHigh, |
double | etaLow | ||
) |
Definition at line 358 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 358 of file PHPy8ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaHigh, and _theEtaLow.
void PHPy8ParticleTrigger::SetAbsEtaLow | ( | double | eta | ) |
Definition at line 344 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 344 of file PHPy8ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaLow, and Acts::VectorHelpers::eta().
void PHPy8ParticleTrigger::SetEtaHigh | ( | double | eta | ) |
Definition at line 293 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 293 of file PHPy8ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaHigh, and Acts::VectorHelpers::eta().
void PHPy8ParticleTrigger::SetEtaHighLow | ( | double | etaHigh, |
double | etaLow | ||
) |
Definition at line 321 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 321 of file PHPy8ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaHigh, and _theEtaLow.
void PHPy8ParticleTrigger::SetEtaLow | ( | double | eta | ) |
Definition at line 307 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 307 of file PHPy8ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaLow, and Acts::VectorHelpers::eta().
void PHPy8ParticleTrigger::SetPHigh | ( | double | p | ) |
Definition at line 211 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 211 of file PHPy8ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, and _thePHigh.
void PHPy8ParticleTrigger::SetPHighLow | ( | double | pHigh, |
double | pLow | ||
) |
Definition at line 239 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 239 of file PHPy8ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, _thePHigh, and _thePLow.
void PHPy8ParticleTrigger::SetPLow | ( | double | p | ) |
Definition at line 225 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 225 of file PHPy8ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, and _thePLow.
void PHPy8ParticleTrigger::SetPtHigh | ( | double | pt | ) |
Definition at line 176 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 176 of file PHPy8ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtHigh, and pt.
void PHPy8ParticleTrigger::SetPtHighLow | ( | double | ptHigh, |
double | ptLow | ||
) |
Definition at line 194 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 194 of file PHPy8ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtHigh, and _thePtLow.
void PHPy8ParticleTrigger::SetPtLow | ( | double | pt | ) |
Definition at line 185 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 185 of file PHPy8ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtLow, and pt.
void PHPy8ParticleTrigger::SetPzHigh | ( | double | pz | ) |
Definition at line 367 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 367 of file PHPy8ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, and _thePzHigh.
void PHPy8ParticleTrigger::SetPzHighLow | ( | double | pzHigh, |
double | pzLow | ||
) |
Definition at line 395 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 395 of file PHPy8ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, _thePzHigh, and _thePzLow.
void PHPy8ParticleTrigger::SetPzLow | ( | double | pz | ) |
Definition at line 381 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 381 of file PHPy8ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, and _thePzLow.
|
inline |
Whether to apply the criteria to unstable particles in the Pythia records too (default = true)
Definition at line 56 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 56 of file PHPy8ParticleTrigger.h
References b, and m_doStableParticleOnly.
void PHPy8ParticleTrigger::SetYHigh | ( | double | eta | ) |
rapidity cuts
Definition at line 256 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 256 of file PHPy8ParticleTrigger.cc
References _doBothYCut, _doYHighCut, _doYLowCut, _theYHigh, and Y.
void PHPy8ParticleTrigger::SetYHighLow | ( | double | etaHigh, |
double | etaLow | ||
) |
Definition at line 284 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 284 of file PHPy8ParticleTrigger.cc
References _doBothYCut, _doYHighCut, _doYLowCut, _theYHigh, and _theYLow.
void PHPy8ParticleTrigger::SetYLow | ( | double | eta | ) |
Definition at line 270 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 270 of file PHPy8ParticleTrigger.cc
References _doBothYCut, _doYHighCut, _doYLowCut, _theYLow, and Y.
|
private |
Definition at line 72 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 72 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), and SetAbsEtaLow().
|
private |
Definition at line 72 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 72 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), and SetAbsEtaLow().
|
private |
Definition at line 72 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 72 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), and SetAbsEtaLow().
|
private |
Definition at line 71 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 71 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetEtaHigh(), SetEtaHighLow(), and SetEtaLow().
|
private |
Definition at line 74 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 74 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPHigh(), SetPHighLow(), and SetPLow().
|
private |
Definition at line 73 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 73 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPtHigh(), SetPtHighLow(), and SetPtLow().
|
private |
Definition at line 75 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 75 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().
|
private |
Definition at line 70 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 70 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetYHigh(), SetYHighLow(), and SetYLow().
|
private |
Definition at line 71 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 71 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetEtaHigh(), SetEtaHighLow(), and SetEtaLow().
|
private |
Definition at line 71 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 71 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetEtaHigh(), SetEtaHighLow(), and SetEtaLow().
|
private |
Definition at line 74 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 74 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPHigh(), SetPHighLow(), and SetPLow().
|
private |
Definition at line 74 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 74 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPHigh(), SetPHighLow(), and SetPLow().
|
private |
Definition at line 73 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 73 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPtHigh(), SetPtHighLow(), and SetPtLow().
|
private |
Definition at line 73 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 73 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPtHigh(), SetPtHighLow(), and SetPtLow().
|
private |
Definition at line 75 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 75 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().
|
private |
Definition at line 75 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 75 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().
|
private |
Definition at line 70 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 70 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetYHigh(), SetYHighLow(), and SetYLow().
|
private |
Definition at line 70 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 70 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetYHigh(), SetYHighLow(), and SetYLow().
|
private |
Definition at line 65 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 65 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), SetEtaHigh(), and SetEtaHighLow().
|
private |
Definition at line 65 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 65 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetAbsEtaHighLow(), SetAbsEtaLow(), SetEtaHighLow(), and SetEtaLow().
|
private |
Definition at line 61 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 61 of file PHPy8ParticleTrigger.h
Referenced by AddParents(), Apply(), and PrintConfig().
|
private |
Definition at line 62 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 62 of file PHPy8ParticleTrigger.h
Referenced by AddParticles(), Apply(), and PrintConfig().
|
private |
Definition at line 67 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 67 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPHigh(), and SetPHighLow().
|
private |
Definition at line 67 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 67 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPHighLow(), and SetPLow().
|
private |
Definition at line 66 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 66 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPtHigh(), and SetPtHighLow().
|
private |
Definition at line 66 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 66 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPtHighLow(), and SetPtLow().
|
private |
Definition at line 68 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 68 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPzHigh(), and SetPzHighLow().
|
private |
Definition at line 68 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 68 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetPzHighLow(), and SetPzLow().
|
private |
Definition at line 64 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 64 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetYHigh(), and SetYHighLow().
|
private |
Definition at line 64 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 64 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), SetYHighLow(), and SetYLow().
|
private |
Definition at line 77 of file PHPy8ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 77 of file PHPy8ParticleTrigger.h
Referenced by Apply(), PrintConfig(), and SetStableParticleOnly().