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