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
GlobalVertexReco.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file GlobalVertexReco.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4VERTEX_GLOBALVERTEXRECO_H
4
#define G4VERTEX_GLOBALVERTEXRECO_H
5
6
//===========================================================
11
//===========================================================
12
13
#include <
fun4all/SubsysReco.h
>
14
15
#include <string>
// for string
16
17
class
PHCompositeNode
;
18
23
class
GlobalVertexReco
:
public
SubsysReco
24
{
25
public
:
26
GlobalVertexReco
(
const
std::string &
name
=
"GlobalVertexReco"
);
27
~GlobalVertexReco
()
override
;
28
29
int
Init
(
PHCompositeNode
*topNode)
override
;
30
int
InitRun
(
PHCompositeNode
*topNode)
override
;
31
int
process_event
(
PHCompositeNode
*topNode)
override
;
32
int
End
(
PHCompositeNode
*topNode)
override
;
33
34
void
set_x_defaults
(
float
xdefault,
float
xerr)
35
{
36
_xdefault
= xdefault;
37
_xerr
= xerr;
38
}
39
void
set_y_defaults
(
float
ydefault,
float
yerr)
40
{
41
_ydefault
= ydefault;
42
_yerr
= yerr;
43
}
44
void
set_t_defaults
(
float
tdefault,
float
terr)
45
{
46
_tdefault
= tdefault;
47
_terr
= terr;
48
}
49
50
private
:
51
int
CreateNodes
(
PHCompositeNode
*topNode);
52
53
float
_xdefault
,
_xerr
;
54
float
_ydefault
,
_yerr
;
55
float
_tdefault
,
_terr
;
56
};
57
58
#endif // G4VERTEX_GLOBALVERTEXRECO_H
fun4all_coresoftware
blob
master
simulation
g4simulation
g4vertex
GlobalVertexReco.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:51
using
1.8.2 with
EIC GitHub integration