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
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
=
default
;
28
29
int
InitRun
(
PHCompositeNode
*topNode)
override
;
30
int
process_event
(
PHCompositeNode
*topNode)
override
;
31
32
void
set_x_defaults
(
float
xdefault,
float
xerr)
33
{
34
_xdefault
= xdefault;
35
_xerr
= xerr;
36
}
37
void
set_y_defaults
(
float
ydefault,
float
yerr)
38
{
39
_ydefault
= ydefault;
40
_yerr
= yerr;
41
}
42
void
set_t_defaults
(
float
tdefault,
float
terr)
43
{
44
_tdefault
= tdefault;
45
_terr
= terr;
46
}
47
48
private
:
49
int
CreateNodes
(
PHCompositeNode
*topNode);
50
51
float
_xdefault
= 0.;
52
float
_xerr
= 0.3;
53
float
_ydefault
= 0.;
54
float
_yerr
= 0.3;
55
float
_tdefault
= 0.;
56
float
_terr
= 0.2;
57
};
58
59
#endif // G4VERTEX_GLOBALVERTEXRECO_H
coresoftware
blob
master
offline
packages
globalvertex
GlobalVertexReco.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:06
using
1.8.2 with
sPHENIX GitHub integration