Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
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
20
class
PHPy6ParticleTrigger
:
public
PHPy6GenTrigger
21
{
22
public
:
23
25
PHPy6ParticleTrigger
(
const
std::string
&
name
=
"PHPy6ParticleTriggerger"
);
26
28
~PHPy6ParticleTrigger
(
void
){}
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
45
int
_theParticleType
;
46
double
_Q2Min
;
47
48
bool
_doTheParticleType
,
_doQ2Min
;
49
};
50
51
#endif
analysis
blob
master
EICTrigger
PHPy6ParticleTrigger.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:49
using
1.8.2 with
sPHENIX GitHub integration