ECCE @ EIC Software
Reference for
ECCE @ 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
GlobalVertexFastSimReco.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file GlobalVertexFastSimReco.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4VERTEX_GLOBALVERTEXFASTSIMRECO_H
4
#define G4VERTEX_GLOBALVERTEXFASTSIMRECO_H
5
6
//===========================================================
10
//===========================================================
11
12
#include <
fun4all/SubsysReco.h
>
13
14
#include <gsl/gsl_rng.h>
15
16
#include <string>
// for string
17
18
class
PHCompositeNode
;
19
24
class
GlobalVertexFastSimReco
:
public
SubsysReco
25
{
26
public
:
27
GlobalVertexFastSimReco
(
const
std::string &
name
=
"GlobalVertexFastSimReco"
);
28
~GlobalVertexFastSimReco
()
override
;
29
30
int
Init
(
PHCompositeNode
*topNode)
override
;
31
int
InitRun
(
PHCompositeNode
*topNode)
override
;
32
int
process_event
(
PHCompositeNode
*topNode)
override
;
33
int
End
(
PHCompositeNode
*topNode)
override
;
34
35
void
set_x_smearing
(
const
float
x_smear) {
_x_smear
= x_smear; }
36
void
set_y_smearing
(
const
float
y_smear) {
_y_smear
= y_smear; }
37
void
set_z_smearing
(
const
float
z_smear) {
_z_smear
= z_smear; }
38
void
set_t_smearing
(
const
float
t_smear) {
_t_smear
= t_smear; }
39
40
private
:
41
int
CreateNodes
(
PHCompositeNode
*topNode);
42
43
float
_x_smear
;
44
float
_y_smear
;
45
float
_z_smear
;
46
float
_t_smear
;
47
gsl_rng *
RandomGenerator
;
48
};
49
50
#endif // G4VERTEX_GLOBALVERTEXFASTSIMRECO_H
coresoftware
blob
master
simulation
g4simulation
g4vertex
GlobalVertexFastSimReco.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:45
using
1.8.2 with
ECCE GitHub integration