Analysis Software
Documentation for sPHENIX simulation software
|
#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 226 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 226 of file PHPy8ParticleTrigger.cc
References _theParents, and PHPy8GenTrigger::convertToInts().
void PHPy8ParticleTrigger::AddParents | ( | int | parent | ) |
Definition at line 232 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 232 of file PHPy8ParticleTrigger.cc
References _theParents.
void PHPy8ParticleTrigger::AddParents | ( | std::vector< int > | parents | ) |
Definition at line 237 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 237 of file PHPy8ParticleTrigger.cc
References _theParents.
void PHPy8ParticleTrigger::AddParticles | ( | const std::string & | particles | ) |
Definition at line 210 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 210 of file PHPy8ParticleTrigger.cc
References _theParticles, and PHPy8GenTrigger::convertToInts().
Referenced by Fun4All_BHG(), Fun4All_G4_sPHENIX_photonjet(), and Fun4All_G4_sPHENIX_truthphotonjet().
void PHPy8ParticleTrigger::AddParticles | ( | int | particle | ) |
Definition at line 216 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 216 of file PHPy8ParticleTrigger.cc
References _theParticles.
void PHPy8ParticleTrigger::AddParticles | ( | std::vector< int > | particles | ) |
Definition at line 221 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 221 of file PHPy8ParticleTrigger.cc
References _theParticles.
|
overridevirtual |
Reimplemented from PHPy8GenTrigger.
Definition at line 59 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 59 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, i, j, k, Acts::UnitConstants::m, m_doStableParticleOnly, and PHPy8GenTrigger::Verbosity().
void PHPy8ParticleTrigger::PrintConfig | ( | ) |
Definition at line 486 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 486 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, i, and m_doStableParticleOnly.
Referenced by Fun4All_BHG(), Fun4All_G4_sPHENIX_photonjet(), Fun4All_G4_sPHENIX_truthphotonjet(), and ~PHPy8ParticleTrigger().
void PHPy8ParticleTrigger::SetAbsEtaHigh | ( | double | eta | ) |
Definition at line 404 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 404 of file PHPy8ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaHigh, and eta.
Definition at line 432 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 432 of file PHPy8ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaHigh, and _theEtaLow.
void PHPy8ParticleTrigger::SetAbsEtaLow | ( | double | eta | ) |
Definition at line 418 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 418 of file PHPy8ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaLow, and eta.
void PHPy8ParticleTrigger::SetEtaHigh | ( | double | eta | ) |
Definition at line 367 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 367 of file PHPy8ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaHigh, and eta.
Referenced by Fun4All_G4_sPHENIX_photonjet(), and Fun4All_G4_sPHENIX_truthphotonjet().
Definition at line 395 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 395 of file PHPy8ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaHigh, and _theEtaLow.
Referenced by Fun4All_BHG().
void PHPy8ParticleTrigger::SetEtaLow | ( | double | eta | ) |
Definition at line 381 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 381 of file PHPy8ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaLow, and eta.
Referenced by Fun4All_G4_sPHENIX_photonjet(), and Fun4All_G4_sPHENIX_truthphotonjet().
void PHPy8ParticleTrigger::SetPHigh | ( | double | p | ) |
Definition at line 285 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 285 of file PHPy8ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, _thePHigh, and merge_hashes::p.
Definition at line 313 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 313 of file PHPy8ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, _thePHigh, and _thePLow.
void PHPy8ParticleTrigger::SetPLow | ( | double | p | ) |
Definition at line 299 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 299 of file PHPy8ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, _thePLow, and merge_hashes::p.
void PHPy8ParticleTrigger::SetPtHigh | ( | double | pt | ) |
Definition at line 242 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 242 of file PHPy8ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtHigh, and physmon_track_finding_ttbar::pt.
Definition at line 268 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 268 of file PHPy8ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtHigh, and _thePtLow.
void PHPy8ParticleTrigger::SetPtLow | ( | double | pt | ) |
Definition at line 255 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 255 of file PHPy8ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtLow, and physmon_track_finding_ttbar::pt.
Referenced by Fun4All_BHG(), Fun4All_G4_sPHENIX_photonjet(), and Fun4All_G4_sPHENIX_truthphotonjet().
void PHPy8ParticleTrigger::SetPzHigh | ( | double | pz | ) |
Definition at line 441 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 441 of file PHPy8ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, and _thePzHigh.
Definition at line 469 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 469 of file PHPy8ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, _thePzHigh, and _thePzLow.
void PHPy8ParticleTrigger::SetPzLow | ( | double | pz | ) |
Definition at line 455 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 455 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 KFPMath::b, and m_doStableParticleOnly.
Referenced by Fun4All_BHG().
void PHPy8ParticleTrigger::SetYHigh | ( | double | eta | ) |
rapidity cuts
Definition at line 330 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 330 of file PHPy8ParticleTrigger.cc
References _doBothYCut, _doYHighCut, _doYLowCut, _theYHigh, and TauVsDIS_MachineLearning_Differentiation::Y.
Definition at line 358 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 358 of file PHPy8ParticleTrigger.cc
References _doBothYCut, _doYHighCut, _doYLowCut, _theYHigh, and _theYLow.
void PHPy8ParticleTrigger::SetYLow | ( | double | eta | ) |
Definition at line 344 of file PHPy8ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 344 of file PHPy8ParticleTrigger.cc
References _doBothYCut, _doYHighCut, _doYLowCut, _theYLow, and TauVsDIS_MachineLearning_Differentiation::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().