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

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

+ Inheritance diagram for PHPy6ForwardElectronTrig:
+ Collaboration diagram for PHPy6ForwardElectronTrig:

Public Member Functions

 PHPy6ForwardElectronTrig (const std::string &name="PHPy6ForwardElectronTrigger")
 constructor
 
 ~PHPy6ForwardElectronTrig (void) override
 destructor
 
bool Apply (const HepMC::GenEvent *evt) override
 
void set_electrons_required (int n)
 
void set_positrons_required (int n)
 
void set_combined_required (int n)
 
void set_pt_required (float set_pt)
 
void set_eta_range (float set_eta_low, float set_eta_high)
 
void PrintConfig ()
 
void SetRequireElectron ()
 
void SetRequirePositron ()
 
void SetRequireOR ()
 
void SetRequireAND ()
 
void SetRequireCOMBINED ()
 
- 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

int ntriggered_forward_electron
 
int nconsidered_forward_electron
 
unsigned int n_ep_required
 
unsigned int n_em_required
 
unsigned int n_comb_required
 
float pt_required
 
float eta_low
 
float eta_high
 
bool RequireElectron
 
bool RequirePositron
 
bool RequireOR
 
bool RequireAND
 
bool RequireCOMBO
 

Additional Inherited Members

- Protected Member Functions inherited from PHPy6GenTrigger
 PHPy6GenTrigger (const std::string &name="PHPy6GenTrigger")
 constructor
 

Detailed Description

Definition at line 13 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 13 of file PHPy6ForwardElectronTrig.h

Constructor & Destructor Documentation

PHPy6ForwardElectronTrig::PHPy6ForwardElectronTrig ( const std::string &  name = "PHPy6ForwardElectronTrigger")
PHPy6ForwardElectronTrig::~PHPy6ForwardElectronTrig ( void  )
inlineoverride

destructor

Definition at line 20 of file PHPy6ForwardElectronTrig.h.

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

Member Function Documentation

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

Reimplemented from PHPy6GenTrigger.

Definition at line 54 of file PHPy6ForwardElectronTrig.cc.

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

References kdfinder::abs(), eta_high, eta_low, n_comb_required, n_em_required, n_ep_required, nconsidered_forward_electron, ntriggered_forward_electron, p, PrintConfig(), pt_required, RequireAND, RequireCOMBO, RequireElectron, RequireOR, and RequirePositron.

+ Here is the call graph for this function:

void PHPy6ForwardElectronTrig::PrintConfig ( )

Definition at line 35 of file PHPy6ForwardElectronTrig.cc.

View newest version in sPHENIX GitHub at line 35 of file PHPy6ForwardElectronTrig.cc

References eta_high, eta_low, n_comb_required, n_em_required, n_ep_required, pt_required, RequireAND, RequireCOMBO, RequireElectron, RequireOR, and RequirePositron.

Referenced by Apply().

+ Here is the caller graph for this function:

void PHPy6ForwardElectronTrig::set_combined_required ( int  n)
inline

Definition at line 29 of file PHPy6ForwardElectronTrig.h.

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

References n, and n_comb_required.

void PHPy6ForwardElectronTrig::set_electrons_required ( int  n)
inline

Definition at line 24 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 24 of file PHPy6ForwardElectronTrig.h

References n, and n_ep_required.

void PHPy6ForwardElectronTrig::set_eta_range ( float  set_eta_low,
float  set_eta_high 
)
inline

Definition at line 31 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 31 of file PHPy6ForwardElectronTrig.h

References eta_high, and eta_low.

void PHPy6ForwardElectronTrig::set_positrons_required ( int  n)
inline

Definition at line 28 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 28 of file PHPy6ForwardElectronTrig.h

References n, and n_em_required.

void PHPy6ForwardElectronTrig::set_pt_required ( float  set_pt)
inline

Definition at line 30 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 30 of file PHPy6ForwardElectronTrig.h

References pt_required.

void PHPy6ForwardElectronTrig::SetRequireAND ( )
inline

Definition at line 63 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 63 of file PHPy6ForwardElectronTrig.h

References RequireAND, RequireCOMBO, RequireElectron, RequireOR, and RequirePositron.

void PHPy6ForwardElectronTrig::SetRequireCOMBINED ( )
inline

Definition at line 71 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 71 of file PHPy6ForwardElectronTrig.h

References RequireAND, RequireCOMBO, RequireElectron, RequireOR, and RequirePositron.

void PHPy6ForwardElectronTrig::SetRequireElectron ( )
inline

Definition at line 39 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 39 of file PHPy6ForwardElectronTrig.h

References RequireAND, RequireCOMBO, RequireElectron, RequireOR, and RequirePositron.

void PHPy6ForwardElectronTrig::SetRequireOR ( )
inline

Definition at line 55 of file PHPy6ForwardElectronTrig.h.

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

References RequireAND, RequireCOMBO, RequireElectron, RequireOR, and RequirePositron.

void PHPy6ForwardElectronTrig::SetRequirePositron ( )
inline

Definition at line 47 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 47 of file PHPy6ForwardElectronTrig.h

References RequireAND, RequireCOMBO, RequireElectron, RequireOR, and RequirePositron.

Member Data Documentation

float PHPy6ForwardElectronTrig::eta_high
protected

Definition at line 90 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 90 of file PHPy6ForwardElectronTrig.h

Referenced by Apply(), PHPy6ForwardElectronTrig(), PrintConfig(), and set_eta_range().

float PHPy6ForwardElectronTrig::eta_low
protected

Definition at line 89 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 89 of file PHPy6ForwardElectronTrig.h

Referenced by Apply(), PHPy6ForwardElectronTrig(), PrintConfig(), and set_eta_range().

unsigned int PHPy6ForwardElectronTrig::n_comb_required
protected

Definition at line 87 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 87 of file PHPy6ForwardElectronTrig.h

Referenced by Apply(), PHPy6ForwardElectronTrig(), PrintConfig(), and set_combined_required().

unsigned int PHPy6ForwardElectronTrig::n_em_required
protected

Definition at line 86 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 86 of file PHPy6ForwardElectronTrig.h

Referenced by Apply(), PHPy6ForwardElectronTrig(), PrintConfig(), and set_positrons_required().

unsigned int PHPy6ForwardElectronTrig::n_ep_required
protected

Definition at line 85 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 85 of file PHPy6ForwardElectronTrig.h

Referenced by Apply(), PHPy6ForwardElectronTrig(), PrintConfig(), and set_electrons_required().

int PHPy6ForwardElectronTrig::nconsidered_forward_electron
protected

Definition at line 82 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 82 of file PHPy6ForwardElectronTrig.h

Referenced by Apply(), and PHPy6ForwardElectronTrig().

int PHPy6ForwardElectronTrig::ntriggered_forward_electron
protected

Definition at line 81 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 81 of file PHPy6ForwardElectronTrig.h

Referenced by Apply(), and PHPy6ForwardElectronTrig().

float PHPy6ForwardElectronTrig::pt_required
protected

Definition at line 88 of file PHPy6ForwardElectronTrig.h.

View newest version in sPHENIX GitHub at line 88 of file PHPy6ForwardElectronTrig.h

Referenced by Apply(), PHPy6ForwardElectronTrig(), PrintConfig(), and set_pt_required().

bool PHPy6ForwardElectronTrig::RequireAND
protected
bool PHPy6ForwardElectronTrig::RequireCOMBO
protected
bool PHPy6ForwardElectronTrig::RequireElectron
protected
bool PHPy6ForwardElectronTrig::RequireOR
protected
bool PHPy6ForwardElectronTrig::RequirePositron
protected

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