File indexing completed on 2025-08-05 08:16:00
0001 #ifndef PHPYTHIA8_PHPY8GENTRIGGER_H
0002 #define PHPYTHIA8_PHPY8GENTRIGGER_H
0003
0004 #include <iostream>
0005 #include <string>
0006 #include <vector>
0007
0008 namespace Pythia8
0009 {
0010 class Pythia;
0011 }
0012
0013 class PHPy8GenTrigger
0014 {
0015 protected:
0016
0017 PHPy8GenTrigger(const std::string &name = "PHPy8GenTrigger");
0018
0019 public:
0020 virtual ~PHPy8GenTrigger() {}
0021
0022 virtual bool Apply(Pythia8::Pythia * )
0023 {
0024 std::cout << "PHPy8GenTrigger::Apply - in virtual function" << std::endl;
0025 return false;
0026 }
0027
0028 virtual std::string GetName() { return m_Name; }
0029
0030 std::vector<int> convertToInts(const std::string &s);
0031 int Verbosity() const { return m_Verbosity; }
0032 void Verbosity(int v) { m_Verbosity = v; }
0033
0034 private:
0035 int m_Verbosity;
0036 std::string m_Name;
0037 };
0038
0039 #endif