EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
EvalHit.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EvalHit.h
1
#ifndef EVALHIT_H
2
#define EVALHIT_H
3
4
#include <
phool/PHObject.h
>
5
6
#include <cmath>
7
8
class
PHG4Hit
;
9
10
class
EvalHit
:
public
PHObject
11
{
12
public
:
13
// ctor with no args to make root happ
14
EvalHit
() {}
15
16
EvalHit
(
const
PHG4Hit
*g4hit);
17
virtual
~EvalHit
() {}
18
19
int
get_detid
()
const
{
return
detid
; }
20
int
get_trackid
()
const
{
return
trackid
; }
21
22
float
get_xin
()
const
{
return
xin
; }
23
float
get_xout
()
const
{
return
xout
; }
24
25
float
get_yin
()
const
{
return
yin
; }
26
float
get_yout
()
const
{
return
yout
; }
27
28
float
get_zin
()
const
{
return
zin
; }
29
float
get_zout
()
const
{
return
zout
; }
30
31
float
get_tin
()
const
{
return
tin
; }
32
float
get_tout
()
const
{
return
tout
; }
33
34
float
get_edep
()
const
{
return
edep
; }
35
float
get_eion
()
const
{
return
eion
; }
36
float
get_light_yield
()
const
{
return
light_yield
; }
37
38
private
:
39
int
detid
= -9999;
40
int
trackid
= 0;
41
float
xin
= NAN;
42
float
xout
= NAN;
43
float
yin
= NAN;
44
float
yout
= NAN;
45
float
zin
= NAN;
46
float
zout
= NAN;
47
float
tin
= NAN;
48
float
tout
= NAN;
49
float
edep
= NAN;
50
float
eion
= NAN;
51
float
light_yield
= NAN;
52
53
ClassDef(
EvalHit
, 1)
54
};
55
56
#endif
fun4all_eic_qa
blob
master
source
EvalHit.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:51
using
1.8.2 with
EIC GitHub integration