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

#include <coresoftware/blob/master/generators/PHSartre/PHSartreParticleTrigger.h>

+ Inheritance diagram for PHSartreParticleTrigger:
+ Collaboration diagram for PHSartreParticleTrigger:

Public Member Functions

 PHSartreParticleTrigger (const std::string &name="PHSartreParticleTrigger")
 
virtual ~PHSartreParticleTrigger ()
 
bool Apply (Event *event)
 
void AddParticles (const std::string &particles)
 
void AddParticles (int particle)
 
void AddParticles (std::vector< int > particles)
 
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 PHSartreGenTrigger
virtual ~PHSartreGenTrigger ()
 
virtual std::string GetName ()
 
std::vector< intconvertToInts (std::string s)
 
int Verbosity () const
 
void Verbosity (int v)
 

Private Attributes

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 PHSartreGenTrigger
 PHSartreGenTrigger (const std::string &name="PHSartreGenTrigger")
 constructor
 

Detailed Description

Definition at line 11 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 11 of file PHSartreParticleTrigger.h

Constructor & Destructor Documentation

PHSartreParticleTrigger::PHSartreParticleTrigger ( const std::string &  name = "PHSartreParticleTrigger")

Definition at line 11 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 11 of file PHSartreParticleTrigger.cc

PHSartreParticleTrigger::~PHSartreParticleTrigger ( )
virtual

Definition at line 49 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 49 of file PHSartreParticleTrigger.cc

References PrintConfig(), and PHSartreGenTrigger::Verbosity().

+ Here is the call graph for this function:

Member Function Documentation

void PHSartreParticleTrigger::AddParticles ( const std::string &  particles)

Definition at line 113 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 113 of file PHSartreParticleTrigger.cc

References _theParticles, and PHSartreGenTrigger::convertToInts().

Referenced by InputInit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHSartreParticleTrigger::AddParticles ( int  particle)

Definition at line 119 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 119 of file PHSartreParticleTrigger.cc

References _theParticles.

void PHSartreParticleTrigger::AddParticles ( std::vector< int particles)

Definition at line 124 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 124 of file PHSartreParticleTrigger.cc

References _theParticles.

bool PHSartreParticleTrigger::Apply ( Event event)
virtual

Reimplemented from PHSartreGenTrigger.

Definition at line 54 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 54 of file PHSartreParticleTrigger.cc

References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _doBothEtaCut, _doBothPCut, _doBothPtCut, _doBothPzCut, _doEtaHighCut, _doEtaLowCut, _doPHighCut, _doPLowCut, _doPtHighCut, _doPtLowCut, _doPzHighCut, _doPzLowCut, _theEtaHigh, _theEtaLow, _theParticles, _thePHigh, _thePLow, _thePtHigh, _thePtLow, _thePzHigh, _thePzLow, kdfinder::abs(), int(), particle, and PHSartreGenTrigger::Verbosity().

+ Here is the call graph for this function:

void PHSartreParticleTrigger::PrintConfig ( )

Definition at line 328 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 328 of file PHSartreParticleTrigger.cc

References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _doBothEtaCut, _doBothPCut, _doBothPtCut, _doBothPzCut, _doEtaHighCut, _doEtaLowCut, _doPHighCut, _doPLowCut, _doPtHighCut, _doPtLowCut, _doPzHighCut, _doPzLowCut, _theEtaHigh, _theEtaLow, _theParticles, _thePHigh, _thePLow, _thePtHigh, _thePtLow, _thePzHigh, _thePzLow, and int().

Referenced by InputInit(), and ~PHSartreParticleTrigger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHSartreParticleTrigger::SetAbsEtaHigh ( double  eta)

Definition at line 246 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 246 of file PHSartreParticleTrigger.cc

References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaHigh, and Acts::VectorHelpers::eta().

+ Here is the call graph for this function:

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

Definition at line 274 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 274 of file PHSartreParticleTrigger.cc

References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaHigh, and _theEtaLow.

void PHSartreParticleTrigger::SetAbsEtaLow ( double  eta)

Definition at line 260 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 260 of file PHSartreParticleTrigger.cc

References _doAbsEtaHighCut, _doAbsEtaLowCut, _doBothAbsEtaCut, _theEtaLow, and Acts::VectorHelpers::eta().

+ Here is the call graph for this function:

void PHSartreParticleTrigger::SetEtaHigh ( double  eta)

Definition at line 209 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 209 of file PHSartreParticleTrigger.cc

References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaHigh, and Acts::VectorHelpers::eta().

+ Here is the call graph for this function:

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

Definition at line 237 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 237 of file PHSartreParticleTrigger.cc

References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaHigh, and _theEtaLow.

Referenced by InputInit().

+ Here is the caller graph for this function:

void PHSartreParticleTrigger::SetEtaLow ( double  eta)

Definition at line 223 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 223 of file PHSartreParticleTrigger.cc

References _doBothEtaCut, _doEtaHighCut, _doEtaLowCut, _theEtaLow, and Acts::VectorHelpers::eta().

+ Here is the call graph for this function:

void PHSartreParticleTrigger::SetPHigh ( double  p)

Definition at line 164 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 164 of file PHSartreParticleTrigger.cc

References _doBothPCut, _doPHighCut, _doPLowCut, and _thePHigh.

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

Definition at line 192 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 192 of file PHSartreParticleTrigger.cc

References _doBothPCut, _doPHighCut, _doPLowCut, _thePHigh, and _thePLow.

void PHSartreParticleTrigger::SetPLow ( double  p)

Definition at line 178 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 178 of file PHSartreParticleTrigger.cc

References _doBothPCut, _doPHighCut, _doPLowCut, and _thePLow.

void PHSartreParticleTrigger::SetPtHigh ( double  pt)

Definition at line 129 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 129 of file PHSartreParticleTrigger.cc

References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtHigh, and pt.

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

Definition at line 147 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 147 of file PHSartreParticleTrigger.cc

References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtHigh, and _thePtLow.

void PHSartreParticleTrigger::SetPtLow ( double  pt)

Definition at line 138 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 138 of file PHSartreParticleTrigger.cc

References _doBothPtCut, _doPtHighCut, _doPtLowCut, _thePtLow, and pt.

void PHSartreParticleTrigger::SetPzHigh ( double  pz)

Definition at line 283 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 283 of file PHSartreParticleTrigger.cc

References _doBothPzCut, _doPzHighCut, _doPzLowCut, and _thePzHigh.

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

Definition at line 311 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 311 of file PHSartreParticleTrigger.cc

References _doBothPzCut, _doPzHighCut, _doPzLowCut, _thePzHigh, and _thePzLow.

void PHSartreParticleTrigger::SetPzLow ( double  pz)

Definition at line 297 of file PHSartreParticleTrigger.cc.

View newest version in sPHENIX GitHub at line 297 of file PHSartreParticleTrigger.cc

References _doBothPzCut, _doPzHighCut, _doPzLowCut, and _thePzLow.

Member Data Documentation

bool PHSartreParticleTrigger::_doAbsEtaHighCut
private

Definition at line 54 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 54 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), and SetAbsEtaLow().

bool PHSartreParticleTrigger::_doAbsEtaLowCut
private

Definition at line 54 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 54 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), and SetAbsEtaLow().

bool PHSartreParticleTrigger::_doBothAbsEtaCut
private

Definition at line 54 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 54 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), and SetAbsEtaLow().

bool PHSartreParticleTrigger::_doBothEtaCut
private

Definition at line 53 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 53 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetEtaHigh(), SetEtaHighLow(), and SetEtaLow().

bool PHSartreParticleTrigger::_doBothPCut
private

Definition at line 56 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 56 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPHigh(), SetPHighLow(), and SetPLow().

bool PHSartreParticleTrigger::_doBothPtCut
private

Definition at line 55 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 55 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPtHigh(), SetPtHighLow(), and SetPtLow().

bool PHSartreParticleTrigger::_doBothPzCut
private

Definition at line 57 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 57 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().

bool PHSartreParticleTrigger::_doEtaHighCut
private

Definition at line 53 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 53 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetEtaHigh(), SetEtaHighLow(), and SetEtaLow().

bool PHSartreParticleTrigger::_doEtaLowCut
private

Definition at line 53 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 53 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetEtaHigh(), SetEtaHighLow(), and SetEtaLow().

bool PHSartreParticleTrigger::_doPHighCut
private

Definition at line 56 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 56 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPHigh(), SetPHighLow(), and SetPLow().

bool PHSartreParticleTrigger::_doPLowCut
private

Definition at line 56 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 56 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPHigh(), SetPHighLow(), and SetPLow().

bool PHSartreParticleTrigger::_doPtHighCut
private

Definition at line 55 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 55 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPtHigh(), SetPtHighLow(), and SetPtLow().

bool PHSartreParticleTrigger::_doPtLowCut
private

Definition at line 55 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 55 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPtHigh(), SetPtHighLow(), and SetPtLow().

bool PHSartreParticleTrigger::_doPzHighCut
private

Definition at line 57 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 57 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().

bool PHSartreParticleTrigger::_doPzLowCut
private

Definition at line 57 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 57 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPzHigh(), SetPzHighLow(), and SetPzLow().

double PHSartreParticleTrigger::_theEtaHigh
private

Definition at line 48 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 48 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetAbsEtaHigh(), SetAbsEtaHighLow(), SetEtaHigh(), and SetEtaHighLow().

double PHSartreParticleTrigger::_theEtaLow
private

Definition at line 48 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 48 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetAbsEtaHighLow(), SetAbsEtaLow(), SetEtaHighLow(), and SetEtaLow().

std::vector<int> PHSartreParticleTrigger::_theParticles
private

Definition at line 46 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 46 of file PHSartreParticleTrigger.h

Referenced by AddParticles(), Apply(), and PrintConfig().

double PHSartreParticleTrigger::_thePHigh
private

Definition at line 50 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 50 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPHigh(), and SetPHighLow().

double PHSartreParticleTrigger::_thePLow
private

Definition at line 50 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 50 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPHighLow(), and SetPLow().

double PHSartreParticleTrigger::_thePtHigh
private

Definition at line 49 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 49 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPtHigh(), and SetPtHighLow().

double PHSartreParticleTrigger::_thePtLow
private

Definition at line 49 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 49 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPtHighLow(), and SetPtLow().

double PHSartreParticleTrigger::_thePzHigh
private

Definition at line 51 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 51 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPzHigh(), and SetPzHighLow().

double PHSartreParticleTrigger::_thePzLow
private

Definition at line 51 of file PHSartreParticleTrigger.h.

View newest version in sPHENIX GitHub at line 51 of file PHSartreParticleTrigger.h

Referenced by Apply(), PrintConfig(), SetPzHighLow(), and SetPzLow().


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