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
Leptoquarks.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Leptoquarks.h
1
#ifndef __Leptoquarks_H__
2
#define __Leptoquarks_H__
3
4
#include <
fun4all/SubsysReco.h
>
5
#include <math.h>
6
7
class
TNtuple;
8
class
TFile;
9
class
TH1D;
10
11
class
PHCompositeNode
;
12
namespace
HepMC
13
{
14
class
GenEvent;
15
class
GenParticle;
16
}
17
18
class
Leptoquarks
:
public
SubsysReco
19
{
20
21
public
:
22
23
Leptoquarks
(
std::string
filename
);
24
25
int
26
Init
(
PHCompositeNode
*);
27
int
28
process_event
(
PHCompositeNode
*);
29
int
30
End
(
PHCompositeNode
*);
31
32
void
33
set_beam_energies
(
float
beam_electron ,
float
beam_proton )
34
{
35
_ebeam_E
= fabs( beam_electron );
36
_pbeam_E
= fabs( beam_proton );
37
}
38
44
int
get_embedding_id
()
const
{
return
_embedding_id
; }
45
//
51
void
set_embedding_id
(
int
id
) {
_embedding_id
=
id
; }
52
private
:
53
54
bool
_verbose
;
55
56
int
_ievent
;
57
int
_total_pass
;
58
59
std::string
_foutname
;
60
TFile *
_fout_root
;
61
62
/* output tree and variables */
63
TNtuple*
_tree_event
;
64
65
/* beam energies electron and proton */
66
float
_ebeam_E
;
67
float
_pbeam_E
;
72
int
_embedding_id
;
73
75
void
UpdateFinalStateParticle
( HepMC::GenParticle *& );
76
77
};
78
79
#endif // __Leptoquarks_H__
analysis
blob
master
EICAnalysis
Leptoquarks.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:48
using
1.8.2 with
sPHENIX GitHub integration