EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHPy6ParticleTrigger Class Reference

#include <fun4all_coresoftware/blob/master/generators/PHPythia6/PHPy6ParticleTrigger.h>

+ Inheritance diagram for PHPy6ParticleTrigger:
+ Collaboration diagram for PHPy6ParticleTrigger:

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
 

Detailed Description

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

Constructor & Destructor Documentation

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

PHPy6ParticleTrigger::~PHPy6ParticleTrigger ( void  )
inlineoverride

destructor

Definition at line 29 of file PHPy6ParticleTrigger.h.

View newest version in sPHENIX GitHub at line 29 of file PHPy6ParticleTrigger.h

Member Function Documentation

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

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.

bool PHPy6ParticleTrigger::Apply ( const HepMC::GenEvent *  evt)
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().

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

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.

Member Data Documentation

bool PHPy6ParticleTrigger::_doAbsEtaHighCut
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().

bool PHPy6ParticleTrigger::_doAbsEtaLowCut
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().

bool PHPy6ParticleTrigger::_doBothAbsEtaCut
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().

bool PHPy6ParticleTrigger::_doBothEtaCut
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().

bool PHPy6ParticleTrigger::_doBothPCut
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().

bool PHPy6ParticleTrigger::_doBothPtCut
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().

bool PHPy6ParticleTrigger::_doBothPzCut
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().

bool PHPy6ParticleTrigger::_doEtaHighCut
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().

bool PHPy6ParticleTrigger::_doEtaLowCut
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().

bool PHPy6ParticleTrigger::_doPHighCut
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().

bool PHPy6ParticleTrigger::_doPLowCut
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().

bool PHPy6ParticleTrigger::_doPtHighCut
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().

bool PHPy6ParticleTrigger::_doPtLowCut
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().

bool PHPy6ParticleTrigger::_doPzHighCut
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().

bool PHPy6ParticleTrigger::_doPzLowCut
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().

double PHPy6ParticleTrigger::_theEtaHigh
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().

double PHPy6ParticleTrigger::_theEtaLow
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().

std::vector<int> PHPy6ParticleTrigger::_theParents
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().

std::vector<int> PHPy6ParticleTrigger::_theParticles
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().

double PHPy6ParticleTrigger::_thePHigh
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().

double PHPy6ParticleTrigger::_thePLow
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().

double PHPy6ParticleTrigger::_thePtHigh
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().

double PHPy6ParticleTrigger::_thePtLow
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().

double PHPy6ParticleTrigger::_thePzHigh
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().

double PHPy6ParticleTrigger::_thePzLow
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().


The documentation for this class was generated from the following files: