ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHPy6JetTrigger.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHPy6JetTrigger.h
1 #ifndef PHPYTHIA6_PHPY6JETTRIGGER_H
2 #define PHPYTHIA6_PHPY6JETTRIGGER_H
3 
4 #include "PHPy6GenTrigger.h"
5 
6 #include <string>
7 
8 namespace HepMC
9 {
10 class GenEvent;
11 }
12 
14 {
15  public:
16  PHPy6JetTrigger(const std::string& name = "PHPy6JetTrigger");
17  ~PHPy6JetTrigger() override;
18 
19  bool Apply(const HepMC::GenEvent* evt) override;
20 
21  void SetEtaHighLow(double etaHigh, double etaLow);
22  void SetMinJetPt(double minPt) { m_minPt = minPt; }
23  void SetJetR(double R) { m_R = R; }
24  void SetMinNumConstituents(int nconst) { m_nconst = nconst; }
25 
26  void PrintConfig();
27 
28  private:
29  double m_theEtaHigh = 4.;
30  double m_theEtaLow = 1.;
31  double m_minPt = 10.;
32  double m_R = 1.;
33  int m_nconst = 0;
34 };
35 
36 #endif