ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHPy8GenTrigger.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHPy8GenTrigger.h
1 #ifndef PHPYTHIA8_PHPY8GENTRIGGER_H
2 #define PHPYTHIA8_PHPY8GENTRIGGER_H
3 
4 #include <iostream>
5 #include <string>
6 #include <vector>
7 
8 namespace Pythia8
9 {
10  class Pythia;
11 }
12 
14 {
15  protected:
17  PHPy8GenTrigger(const std::string &name = "PHPy8GenTrigger");
18 
19  public:
20  virtual ~PHPy8GenTrigger(){}
21 
22  virtual bool Apply(Pythia8::Pythia */*pythia*/)
23  {
24  std::cout << "PHPy8GenTrigger::Apply - in virtual function" << std::endl;
25  return false;
26  }
27 
28  virtual std::string GetName() { return m_Name; }
29 
30  std::vector<int> convertToInts(std::string s);
31  int Verbosity() const { return m_Verbosity; }
32  void Verbosity(int v) { m_Verbosity = v; }
33 
34  private:
36  std::string m_Name;
37 };
38 
39 #endif