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
sPHElectronv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file sPHElectronv1.h
1
#ifndef SPHELECTRONV1_H
2
#define SPHELECTRONV1_H
3
4
#include "
sPHElectron.h
"
5
6
#include <iostream>
7
8
class
SvtxTrack
;
9
10
class
PHObject
;
11
12
class
sPHElectronv1
:
public
sPHElectron
13
{
14
public
:
15
sPHElectronv1
();
16
sPHElectronv1
(
const
SvtxTrack
*);
17
sPHElectronv1
(
const
sPHElectronv1
&
electron
);
18
sPHElectronv1
&
operator=
(
const
sPHElectronv1
& electron);
19
20
virtual
~sPHElectronv1
() {}
21
22
virtual
void
identify
(std::ostream&
os
= std::cout)
const
;
23
virtual
void
Reset
() {}
24
virtual
int
isValid
()
const
;
25
virtual
PHObject
*
CloneMe
()
const
{
return
new
sPHElectronv1
(*
this
); }
26
27
virtual
unsigned
int
get_id
()
const
{
return
_id
; }
28
virtual
int
get_charge
()
const
{
return
_charge
; }
29
virtual
double
get_px
()
const
{
return
_px
;}
30
virtual
double
get_py
()
const
{
return
_py
;}
31
virtual
double
get_pz
()
const
{
return
_pz
;}
32
virtual
double
get_dphi
()
const
{
return
_dphi
;}
33
virtual
double
get_deta
()
const
{
return
_deta
;}
34
virtual
double
get_emce
()
const
{
return
_emce
;}
35
virtual
double
get_e3x3
()
const
{
return
_e3x3
;}
36
virtual
double
get_e5x5
()
const
{
return
_e5x5
;}
37
38
virtual
double
get_chi2
()
const
{
return
_chi2
;}
39
virtual
unsigned
int
get_ndf
()
const
{
return
_ndf
;}
40
virtual
double
get_zvtx
()
const
{
return
_zvtx
;}
41
virtual
double
get_dca2d
()
const
{
return
_dca2d
;}
42
virtual
double
get_dca2d_error
()
const
{
return
_dca2d_error
;}
43
virtual
double
get_dca3d_xy
()
const
{
return
_dca3d_xy
;}
44
virtual
double
get_dca3d_z
()
const
{
return
_dca3d_z
;}
45
46
virtual
int
get_nmvtx
()
const
{
return
_nmvtx
;}
47
virtual
int
get_ntpc
()
const
{
return
_ntpc
;}
48
49
virtual
double
get_cemc_ecore
()
const
{
return
_cemc_ecore
;}
50
virtual
double
get_cemc_chi2
()
const
{
return
_cemc_chi2
;}
51
virtual
double
get_cemc_prob
()
const
{
return
_cemc_prob
;}
52
virtual
double
get_cemc_dphi
()
const
{
return
_cemc_dphi
;}
53
virtual
double
get_cemc_deta
()
const
{
return
_cemc_deta
;}
54
virtual
double
get_hcalin_e
()
const
{
return
_hcalin_e
;}
55
virtual
double
get_hcalin_dphi
()
const
{
return
_hcalin_dphi
;}
56
virtual
double
get_hcalin_deta
()
const
{
return
_hcalin_deta
;}
57
58
virtual
void
set_id
(
unsigned
int
id
) {
_id
=
id
;}
59
virtual
void
set_charge
(
int
charge
) {
_charge
=
charge
;}
60
virtual
void
set_px
(
double
px) {
_px
= px;}
61
virtual
void
set_py
(
double
py) {
_py
= py;}
62
virtual
void
set_pz
(
double
pz) {
_pz
= pz;}
63
virtual
void
set_dphi
(
double
dphi
) {
_dphi
=
dphi
;}
64
virtual
void
set_deta
(
double
deta) {
_deta
= deta;}
65
virtual
void
set_emce
(
double
emce) {
_emce
= emce;}
66
virtual
void
set_e3x3
(
double
e3x3) {
_e3x3
= e3x3;}
67
virtual
void
set_e5x5
(
double
e5x5) {
_e5x5
= e5x5;}
68
69
virtual
void
set_chi2
(
double
a
) {
_chi2
=
a
;}
70
virtual
void
set_ndf
(
unsigned
int
a
) {
_ndf
=
a
;}
71
virtual
void
set_zvtx
(
double
a
) {
_zvtx
=
a
;}
72
virtual
void
set_dca2d
(
double
a
) {
_dca2d
=
a
;}
73
virtual
void
set_dca2d_error
(
double
a
) {
_dca2d_error
=
a
;}
74
virtual
void
set_dca3d_xy
(
double
a
) {
_dca3d_xy
=
a
;}
75
virtual
void
set_dca3d_z
(
double
a
) {
_dca3d_z
=
a
;}
76
77
virtual
void
set_nmvtx
(
int
i
) {
_nmvtx
=
i
;}
78
virtual
void
set_ntpc
(
int
i
) {
_ntpc
=
i
;}
79
80
virtual
void
set_cemc_ecore
(
double
a
) {
_cemc_ecore
=
a
;}
81
virtual
void
set_cemc_chi2
(
double
a
) {
_cemc_chi2
=
a
;}
82
virtual
void
set_cemc_prob
(
double
a
) {
_cemc_prob
=
a
;}
83
virtual
void
set_cemc_dphi
(
double
a
) {
_cemc_dphi
=
a
;}
84
virtual
void
set_cemc_deta
(
double
a
) {
_cemc_deta
=
a
;}
85
virtual
void
set_hcalin_e
(
double
a
) {
_hcalin_e
=
a
;}
86
virtual
void
set_hcalin_dphi
(
double
a
) {
_hcalin_dphi
=
a
;}
87
virtual
void
set_hcalin_deta
(
double
a
) {
_hcalin_deta
=
a
;}
88
89
protected
:
90
91
unsigned
int
_id
;
92
int
_charge
;
93
double
_px
;
94
double
_py
;
95
double
_pz
;
96
double
_dphi
;
97
double
_deta
;
98
double
_emce
;
99
double
_e3x3
;
100
double
_e5x5
;
101
102
double
_chi2
;
103
unsigned
int
_ndf
;
104
double
_zvtx
;
105
double
_dca2d
;
106
double
_dca2d_error
;
107
double
_dca3d_xy
;
108
double
_dca3d_z
;
109
110
int
_nmvtx
;
111
int
_ntpc
;
112
113
double
_cemc_ecore
;
114
double
_cemc_chi2
;
115
double
_cemc_prob
;
116
double
_cemc_dphi
;
117
double
_cemc_deta
;
118
double
_hcalin_e
;
119
double
_hcalin_dphi
;
120
double
_hcalin_deta
;
121
122
ClassDef(
sPHElectronv1
, 1)
123
};
124
125
#endif
analysis
blob
master
EventMix
src
sPHElectronv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:51
using
1.8.2 with
sPHENIX GitHub integration