EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/generators/PHPythia6/PHPy6ParticleTrigger.h>
Public Member Functions | |
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) |
int | Verbosity () const |
Protected Attributes | |
std::vector< int > | _theParents |
std::vector< int > | _theParticles |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from PHPy6GenTrigger | |
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 22 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 22 of file PHPy6ParticleTrigger.h
PHPy6ParticleTrigger::PHPy6ParticleTrigger | ( | const std::string & | name = "PHPy6ParticleTriggerger" | ) |
constructor
Definition at line 16 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 16 of file PHPy6ParticleTrigger.cc
|
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 178 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 178 of file PHPy6ParticleTrigger.cc
References _theParents, and PHPy6GenTrigger::convertToInts().
void PHPy6ParticleTrigger::AddParents | ( | int | parent | ) |
Definition at line 184 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 184 of file PHPy6ParticleTrigger.cc
References _theParents.
void PHPy6ParticleTrigger::AddParents | ( | std::vector< int > | parents | ) |
Definition at line 189 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 189 of file PHPy6ParticleTrigger.cc
References _theParents.
void PHPy6ParticleTrigger::AddParticles | ( | const std::string & | particles | ) |
Definition at line 162 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 162 of file PHPy6ParticleTrigger.cc
References _theParticles, and PHPy6GenTrigger::convertToInts().
void PHPy6ParticleTrigger::AddParticles | ( | int | particle | ) |
Definition at line 168 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 168 of file PHPy6ParticleTrigger.cc
References _theParticles.
void PHPy6ParticleTrigger::AddParticles | ( | std::vector< int > | particles | ) |
Definition at line 173 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 173 of file PHPy6ParticleTrigger.cc
References _theParticles.
|
overridevirtual |
Reimplemented from PHPy6GenTrigger.
Definition at line 56 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 56 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, kdfinder::abs(), k, p, PrintConfig(), and PHPy6GenTrigger::Verbosity().
void PHPy6ParticleTrigger::PrintConfig | ( | ) |
Definition at line 393 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 393 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, and _thePzLow.
Referenced by Apply().
void PHPy6ParticleTrigger::SetAbsEtaHigh | ( | double | eta | ) |
Definition at line 311 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 311 of file PHPy6ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaHigh, and Acts::VectorHelpers::eta().
void PHPy6ParticleTrigger::SetAbsEtaHighLow | ( | double | etaHigh, |
double | etaLow | ||
) |
Definition at line 339 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 339 of file PHPy6ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaHigh, and _theEtaLow.
void PHPy6ParticleTrigger::SetAbsEtaLow | ( | double | eta | ) |
Definition at line 325 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 325 of file PHPy6ParticleTrigger.cc
References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaLow, and Acts::VectorHelpers::eta().
void PHPy6ParticleTrigger::SetEtaHigh | ( | double | eta | ) |
Definition at line 274 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 274 of file PHPy6ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaHigh, and Acts::VectorHelpers::eta().
void PHPy6ParticleTrigger::SetEtaHighLow | ( | double | etaHigh, |
double | etaLow | ||
) |
Definition at line 302 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 302 of file PHPy6ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaHigh, and _theEtaLow.
Referenced by Fun4All_G4_FullDetectorModular(), and Fun4All_G4_FullDetectorModularBeast().
void PHPy6ParticleTrigger::SetEtaLow | ( | double | eta | ) |
Definition at line 288 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 288 of file PHPy6ParticleTrigger.cc
References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaLow, and Acts::VectorHelpers::eta().
void PHPy6ParticleTrigger::SetPHigh | ( | double | p | ) |
Definition at line 229 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 229 of file PHPy6ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, _thePHigh, and p.
void PHPy6ParticleTrigger::SetPHighLow | ( | double | pHigh, |
double | pLow | ||
) |
Definition at line 257 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 257 of file PHPy6ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, _thePHigh, and _thePLow.
void PHPy6ParticleTrigger::SetPLow | ( | double | p | ) |
Definition at line 243 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 243 of file PHPy6ParticleTrigger.cc
References _doBothPCut, _doPHighCut, _doPLowCut, _thePLow, and p.
void PHPy6ParticleTrigger::SetPtHigh | ( | double | pt | ) |
Definition at line 194 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 194 of file PHPy6ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, and _thePtHigh.
void PHPy6ParticleTrigger::SetPtHighLow | ( | double | ptHigh, |
double | ptLow | ||
) |
Definition at line 212 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 212 of file PHPy6ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtHigh, and _thePtLow.
void PHPy6ParticleTrigger::SetPtLow | ( | double | pt | ) |
Definition at line 203 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 203 of file PHPy6ParticleTrigger.cc
References _doBothPtCut, _doPtHighCut, _doPtLowCut, and _thePtLow.
Referenced by Fun4All_G4_FullDetectorModular(), and Fun4All_G4_FullDetectorModularBeast().
void PHPy6ParticleTrigger::SetPzHigh | ( | double | pz | ) |
Definition at line 348 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 348 of file PHPy6ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, and _thePzHigh.
void PHPy6ParticleTrigger::SetPzHighLow | ( | double | pzHigh, |
double | pzLow | ||
) |
Definition at line 376 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 376 of file PHPy6ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, _thePzHigh, and _thePzLow.
void PHPy6ParticleTrigger::SetPzLow | ( | double | pz | ) |
Definition at line 362 of file PHPy6ParticleTrigger.cc.
View newest version in sPHENIX GitHub at line 362 of file PHPy6ParticleTrigger.cc
References _doBothPzCut, _doPzHighCut, _doPzLowCut, and _thePzLow.
|
protected |
Definition at line 74 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 74 of file PHPy6ParticleTrigger.h
Referenced by Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().
|
protected |
Definition at line 68 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 68 of file PHPy6ParticleTrigger.h
Referenced by Apply(), 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 Apply(), PrintConfig(), SetAbsEtaHighLow(), SetAbsEtaLow(), SetEtaHighLow(), and SetEtaLow().
|
protected |
Definition at line 65 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 65 of file PHPy6ParticleTrigger.h
Referenced by AddParents(), Apply(), and PrintConfig().
|
protected |
Definition at line 66 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 66 of file PHPy6ParticleTrigger.h
Referenced by AddParticles(), Apply(), and PrintConfig().
|
protected |
Definition at line 70 of file PHPy6ParticleTrigger.h.
View newest version in sPHENIX GitHub at line 70 of file PHPy6ParticleTrigger.h
Referenced by Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), 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 Apply(), PrintConfig(), SetPzHighLow(), and SetPzLow().