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
sPHElectron.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file sPHElectron.h
1
#ifndef SPHELECTRON_H
2
#define SPHELECTRON_H
3
4
#include <
phool/PHObject.h
>
5
6
#include <climits>
7
#include <cmath>
8
#include <iostream>
9
10
class
sPHElectron
:
public
PHObject
11
{
12
public
:
13
virtual
~sPHElectron
() {}
14
15
virtual
void
identify
(std::ostream&
os
= std::cout)
const
16
{
os
<<
"sPHElectron base class"
<< std::endl; }
17
virtual
void
Reset
() {}
18
virtual
int
isValid
()
const
{
return
0; }
19
virtual
PHObject
*
CloneMe
()
const
{
return
nullptr
; }
20
21
virtual
unsigned
int
get_id
()
const
{
return
99999; }
22
virtual
int
get_charge
()
const
{
return
0; }
23
virtual
double
get_px
()
const
{
return
NAN;}
24
virtual
double
get_py
()
const
{
return
NAN;}
25
virtual
double
get_pz
()
const
{
return
NAN;}
26
virtual
double
get_dphi
()
const
{
return
NAN;}
27
virtual
double
get_deta
()
const
{
return
NAN;}
28
virtual
double
get_emce
()
const
{
return
NAN;}
29
virtual
double
get_e3x3
()
const
{
return
NAN;}
30
virtual
double
get_e5x5
()
const
{
return
NAN;}
31
32
virtual
double
get_chi2
()
const
{
return
NAN;}
33
virtual
unsigned
int
get_ndf
()
const
{
return
99999;}
34
virtual
double
get_zvtx
()
const
{
return
NAN;}
35
virtual
double
get_dca2d
()
const
{
return
NAN;}
36
virtual
double
get_dca2d_error
()
const
{
return
NAN;}
37
virtual
double
get_dca3d_xy
()
const
{
return
NAN;}
38
virtual
double
get_dca3d_z
()
const
{
return
NAN;}
39
40
virtual
int
get_nmvtx
()
const
{
return
-1;}
41
virtual
int
get_ntpc
()
const
{
return
-1;}
42
43
virtual
double
get_cemc_ecore
()
const
{
return
NAN;}
44
virtual
double
get_cemc_chi2
()
const
{
return
NAN;}
45
virtual
double
get_cemc_prob
()
const
{
return
NAN;}
46
virtual
double
get_cemc_dphi
()
const
{
return
NAN;}
47
virtual
double
get_cemc_deta
()
const
{
return
NAN;}
48
virtual
double
get_hcalin_e
()
const
{
return
NAN;}
49
virtual
double
get_hcalin_dphi
()
const
{
return
NAN;}
50
virtual
double
get_hcalin_deta
()
const
{
return
NAN;}
51
52
virtual
void
set_id
(
unsigned
int
id
) { }
53
virtual
void
set_charge
(
int
charge
) { }
54
virtual
void
set_px
(
double
px) { }
55
virtual
void
set_py
(
double
px) { }
56
virtual
void
set_pz
(
double
pz) { }
57
virtual
void
set_dphi
(
double
dphi
) { }
58
virtual
void
set_deta
(
double
deta) { }
59
virtual
void
set_emce
(
double
emce) { }
60
virtual
void
set_e3x3
(
double
e3x3) { }
61
virtual
void
set_e5x5
(
double
e5x5) { }
62
63
virtual
void
set_chi2
(
double
a
) { }
64
virtual
void
set_ndf
(
unsigned
int
a
) { }
65
virtual
void
set_zvtx
(
double
a
) { }
66
virtual
void
set_dca2d
(
double
a
) { }
67
virtual
void
set_dca2d_error
(
double
a
) { }
68
virtual
void
set_dca3d_xy
(
double
a
) { }
69
virtual
void
set_dca3d_z
(
double
a
) { }
70
71
virtual
void
set_nmvtx
(
int
i
) { }
72
virtual
void
set_ntpc
(
int
i
) { }
73
74
virtual
void
set_cemc_ecore
(
double
a
) { }
75
virtual
void
set_cemc_chi2
(
double
a
) { }
76
virtual
void
set_cemc_prob
(
double
a
) { }
77
virtual
void
set_cemc_dphi
(
double
a
) { }
78
virtual
void
set_cemc_deta
(
double
a
) { }
79
virtual
void
set_hcalin_e
(
double
a
) { }
80
virtual
void
set_hcalin_dphi
(
double
a
) { }
81
virtual
void
set_hcalin_deta
(
double
a
) { }
82
83
protected
:
84
sPHElectron
() {}
85
ClassDef(
sPHElectron
, 1)
86
};
87
88
#endif
analysis
blob
master
EventMix
src
sPHElectron.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:51
using
1.8.2 with
sPHENIX GitHub integration