Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHPy6ParticleTrigger Class Reference

#include <analysis/blob/master/EICTrigger/PHPy6ParticleTrigger.h>

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

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
 

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 20 of file PHPy6ParticleTrigger.h.

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

Constructor & Destructor Documentation

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

PHPy6ParticleTrigger::~PHPy6ParticleTrigger ( void  )
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

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 182 of file PHPy6ParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 182 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 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().

+ Here is the call graph for this function:

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.

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

bool PHPy6ParticleTrigger::Apply ( const HepMC::GenEvent *  evt)
overridevirtual

Reimplemented from PHPy6GenTrigger.

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.

void PHPy6ParticleTrigger::SetAbsEtaHighLow ( double  etaHigh,
double  etaLow 
)

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.

void PHPy6ParticleTrigger::SetEtaHighLow ( double  etaHigh,
double  etaLow 
)

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.

void PHPy6ParticleTrigger::SetPHighLow ( double  pHigh,
double  pLow 
)

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.

void PHPy6ParticleTrigger::SetPtHighLow ( double  ptHigh,
double  ptLow 
)

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.

void PHPy6ParticleTrigger::SetPzHighLow ( double  pzHigh,
double  pzLow 
)

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

+ Here is the caller graph for this function:

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().

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

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

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

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 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 PrintConfig(), SetAbsEtaHighLow(), SetAbsEtaLow(), SetEtaHighLow(), and SetEtaLow().

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

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

int PHPy6ParticleTrigger::_theParticleType
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().

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 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 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 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 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 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 PrintConfig(), SetPzHighLow(), and SetPzLow().


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