Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/EICTrigger/PHPy6ParticleTrigger.h>
Public Member Functions | |
PHPy6ParticleTrigger (const std::string &name="PHPy6ParticleTriggerger") | |
constructor | |
~PHPy6ParticleTrigger (void) | |
destructor | |
bool | Apply (const HepMC::GenEvent *evt) |
void | SetParticleType (int pid) |
void | SetQ2Min (double Q2) |
PHPy6ParticleTrigger (const std::string &name="PHPy6ParticleTriggerger") | |
constructor | |
~PHPy6ParticleTrigger (void) override | |
destructor | |
bool | Apply (const HepMC::GenEvent *evt) 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 | 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 | PrintConfig () |
Public Member Functions inherited from PHPy6GenTrigger | |
virtual | ~PHPy6GenTrigger () |
virtual std::string | GetName () |
std::vector< int > | convertToInts (std::string s) |
void | Verbosity (int v) |
virtual | ~PHPy6GenTrigger () |
virtual std::string | GetName () |
std::vector< int > | convertToInts (std::string s) |
void | Verbosity (int v) |
int | Verbosity () const |
Protected Attributes | |
std::vector< int > | _theParents |
std::vector< int > | _theParticles |
int | _theParticleType |
double | _Q2Min |
bool | _doTheParticleType |
bool | _doQ2Min |
double | _theEtaHigh |
double | _theEtaLow |
double | _thePtHigh |
double | _thePtLow |
double | _thePHigh |
double | _thePLow |
double | _thePzHigh |
double | _thePzLow |
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 |
Protected Attributes inherited from PHPy6GenTrigger | |
int | _verbosity |
Additional Inherited Members | |
Protected Member Functions inherited from PHPy6GenTrigger | |
PHPy6GenTrigger (const std::string &name="PHPy6GenTrigger") | |
constructor | |
PHPy6GenTrigger (const std::string &name="PHPy6GenTrigger") | |
constructor | |
Fun4All module based in PHPythia8/PHPy8ParticleTrigger
Provides trigger for events gerenated by PHPythia6 event generator (Pythia6 wrapper for Fun4All).
This trigger makes use of the conversion of Pythia6 events to HepMC format done in PHPythia6.
Definition at line 20 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 20 of file PHPy6ParticleTrigger.h
PHPy6ParticleTrigger::PHPy6ParticleTrigger | ( | const std::string & | name = "PHPy6ParticleTriggerger" | ) |
constructor
Definition at line 15 of file PHPy6ParticleTrigger.C.
View newest version in sPHENIX GitHub at line 15 of file PHPy6ParticleTrigger.C
|
inline |
destructor
Definition at line 28 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 28 of file PHPy6ParticleTrigger.h
PHPy6ParticleTrigger::PHPy6ParticleTrigger | ( | const std::string & | name = "PHPy6ParticleTriggerger" | ) |
constructor
|
inlineoverride |
destructor
Definition at line 29 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 29 of file PHPy6ParticleTrigger.h
void PHPy6ParticleTrigger::AddParents | ( | const std::string & | parents | ) |
Definition at line 182 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 182 of file PHPy6ParticleTrigger.cc
References _theParents, and PHPy6GenTrigger::convertToInts().
void PHPy6ParticleTrigger::AddParents | ( | int | parent | ) |
Definition at line 188 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 188 of file PHPy6ParticleTrigger.cc
References _theParents.
void PHPy6ParticleTrigger::AddParents | ( | std::vector< int > | parents | ) |
Definition at line 193 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 193 of file PHPy6ParticleTrigger.cc
References _theParents.
void PHPy6ParticleTrigger::AddParticles | ( | const std::string & | particles | ) |
Definition at line 166 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 166 of file PHPy6ParticleTrigger.cc
References _theParticles, and PHPy6GenTrigger::convertToInts().
void PHPy6ParticleTrigger::AddParticles | ( | int | particle | ) |
Definition at line 172 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 172 of file PHPy6ParticleTrigger.cc
References _theParticles.
void PHPy6ParticleTrigger::AddParticles | ( | std::vector< int > | particles | ) |
Definition at line 177 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 177 of file PHPy6ParticleTrigger.cc
References _theParticles.
|
virtual |
Reimplemented from PHPy6GenTrigger.
Definition at line 26 of file PHPy6ParticleTrigger.C.
View newest version in sPHENIX GitHub at line 26 of file PHPy6ParticleTrigger.C
References _doQ2Min, _doTheParticleType, _Q2Min, _theParticleType, and merge_hashes::p.
|
overridevirtual |
Reimplemented from PHPy6GenTrigger.
void PHPy6ParticleTrigger::PrintConfig | ( | ) |
Definition at line 397 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 397 of file PHPy6ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _doBothEtaCut, _doBothPCut, _doBothPtCut, _doBothPzCut, _doEtaHighCut, _doEtaLowCut, _doPHighCut, _doPLowCut, _doPtHighCut, _doPtLowCut, _doPzHighCut, _doPzLowCut, _theEtaHigh, _theEtaLow, _theParents, _theParticles, _thePHigh, _thePLow, _thePtHigh, _thePtLow, _thePzHigh, _thePzLow, and i.
void PHPy6ParticleTrigger::SetAbsEtaHigh | ( | double | eta | ) |
Definition at line 315 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 315 of file PHPy6ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaHigh, and eta.
Definition at line 343 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 343 of file PHPy6ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaHigh, and _theEtaLow.
void PHPy6ParticleTrigger::SetAbsEtaLow | ( | double | eta | ) |
Definition at line 329 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 329 of file PHPy6ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaLow, and eta.
void PHPy6ParticleTrigger::SetEtaHigh | ( | double | eta | ) |
Definition at line 278 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 278 of file PHPy6ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaHigh, and eta.
Definition at line 306 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 306 of file PHPy6ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaHigh, and _theEtaLow.
void PHPy6ParticleTrigger::SetEtaLow | ( | double | eta | ) |
Definition at line 292 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 292 of file PHPy6ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaLow, and eta.
void PHPy6ParticleTrigger::SetParticleType | ( | int | pid | ) |
Definition at line 99 of file PHPy6ParticleTrigger.C.
View newest version in sPHENIX GitHub at line 99 of file PHPy6ParticleTrigger.C
References _doTheParticleType, _theParticleType, and train_ambiguity_solver::pid.
void PHPy6ParticleTrigger::SetPHigh | ( | double | p | ) |
Definition at line 233 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 233 of file PHPy6ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, _thePHigh, and merge_hashes::p.
Definition at line 261 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 261 of file PHPy6ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, _thePHigh, and _thePLow.
void PHPy6ParticleTrigger::SetPLow | ( | double | p | ) |
Definition at line 247 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 247 of file PHPy6ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, _thePLow, and merge_hashes::p.
void PHPy6ParticleTrigger::SetPtHigh | ( | double | pt | ) |
Definition at line 198 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 198 of file PHPy6ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtHigh, and physmon_track_finding_ttbar::pt.
Definition at line 216 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 216 of file PHPy6ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtHigh, and _thePtLow.
void PHPy6ParticleTrigger::SetPtLow | ( | double | pt | ) |
Definition at line 207 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 207 of file PHPy6ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtLow, and physmon_track_finding_ttbar::pt.
void PHPy6ParticleTrigger::SetPzHigh | ( | double | pz | ) |
Definition at line 352 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 352 of file PHPy6ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, and _thePzHigh.
Definition at line 380 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 380 of file PHPy6ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, _thePzHigh, and _thePzLow.
void PHPy6ParticleTrigger::SetPzLow | ( | double | pz | ) |
Definition at line 366 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 366 of file PHPy6ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, and _thePzLow.
void PHPy6ParticleTrigger::SetQ2Min | ( | double | Q2 | ) |
Definition at line 104 of file PHPy6ParticleTrigger.C.
View newest version in sPHENIX GitHub at line 104 of file PHPy6ParticleTrigger.C
References _doQ2Min, and _Q2Min.
Referenced by Fun4All_G4_EICDetector_LQ(), and Fun4All_Pythia6().
|
protected |
Definition at line 74 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 74 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), and SetAbsEtaLow().
|
protected |
Definition at line 74 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 74 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), and SetAbsEtaLow().
|
protected |
Definition at line 74 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 74 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), and SetAbsEtaLow().
|
protected |
Definition at line 73 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 73 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetEtaHigh(), SetEtaHighLow(), and SetEtaLow().
|
protected |
Definition at line 76 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 76 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPHigh(), SetPHighLow(), and SetPLow().
|
protected |
Definition at line 75 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 75 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPtHigh(), SetPtHighLow(), and SetPtLow().
|
protected |
Definition at line 77 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 77 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().
|
protected |
Definition at line 73 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 73 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetEtaHigh(), SetEtaHighLow(), and SetEtaLow().
|
protected |
Definition at line 73 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 73 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetEtaHigh(), SetEtaHighLow(), and SetEtaLow().
|
protected |
Definition at line 76 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 76 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPHigh(), SetPHighLow(), and SetPLow().
|
protected |
Definition at line 76 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 76 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPHigh(), SetPHighLow(), and SetPLow().
|
protected |
Definition at line 75 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 75 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPtHigh(), SetPtHighLow(), and SetPtLow().
|
protected |
Definition at line 75 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 75 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPtHigh(), SetPtHighLow(), and SetPtLow().
|
protected |
Definition at line 77 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 77 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().
|
protected |
Definition at line 77 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 77 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().
|
protected |
Definition at line 48 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 48 of file PHPy6ParticleTrigger.h
Referenced by Apply(), and SetQ2Min().
|
protected |
Definition at line 48 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 48 of file PHPy6ParticleTrigger.h
Referenced by Apply(), and SetParticleType().
|
protected |
Definition at line 46 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 46 of file PHPy6ParticleTrigger.h
Referenced by Apply(), and SetQ2Min().
|
protected |
Definition at line 68 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 68 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), SetEtaHigh(), and SetEtaHighLow().
|
protected |
Definition at line 68 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 68 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetAbsEtaHighLow(), SetAbsEtaLow(), SetEtaHighLow(), and SetEtaLow().
|
protected |
Definition at line 41 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 41 of file PHPy6ParticleTrigger.h
Referenced by AddParents(), and PrintConfig().
|
protected |
Definition at line 42 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 42 of file PHPy6ParticleTrigger.h
Referenced by AddParticles(), and PrintConfig().
|
protected |
Definition at line 45 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 45 of file PHPy6ParticleTrigger.h
Referenced by Apply(), and SetParticleType().
|
protected |
Definition at line 70 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 70 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPHigh(), and SetPHighLow().
|
protected |
Definition at line 70 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 70 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPHighLow(), and SetPLow().
|
protected |
Definition at line 69 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 69 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPtHigh(), and SetPtHighLow().
|
protected |
Definition at line 69 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 69 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPtHighLow(), and SetPtLow().
|
protected |
Definition at line 71 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 71 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPzHigh(), and SetPzHighLow().
|
protected |
Definition at line 71 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 71 of file PHPy6ParticleTrigger.h
Referenced by PrintConfig(), SetPzHighLow(), and SetPzLow().