Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHPy6ParticleTrigger.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHPy6ParticleTrigger.h
1 #ifndef PHPy6ParticleTrigger_h
2 #define PHPy6ParticleTrigger_h
3 
4 #include "PHPy6GenTrigger.h"
5 #include <HepMC/GenEvent.h>
6 
7 namespace HepMC
8 {
9  class GenEvent;
10 };
11 
21 {
22 public:
23 
25  PHPy6ParticleTrigger(const std::string &name = "PHPy6ParticleTriggerger");
26 
29 
30 #ifndef __CINT__
31  bool Apply(const HepMC::GenEvent* evt);
32 #endif
33 
34 
35  void SetParticleType(int pid);
36  void SetQ2Min(double Q2);
37 
38 protected:
39 
40  // trigger variables
41  std::vector<int> _theParents;
42  std::vector<int> _theParticles;
43 
44 
46  double _Q2Min;
47 
49 };
50 
51 #endif