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
MomentumEvaluator.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MomentumEvaluator.h
1
#ifndef G4EVAL_MOMENTUMEVALUATOR_H
2
#define G4EVAL_MOMENTUMEVALUATOR_H
3
4
#include <
fun4all/SubsysReco.h
>
5
6
#include <string>
7
8
class
PHCompositeNode
;
9
class
TNtuple;
10
11
class
MomentumEvaluator
:
public
SubsysReco
12
{
13
public
:
14
MomentumEvaluator
(
const
std::string
&
fname
,
float
pt_s = 0.1,
float
pz_s = 0.2,
unsigned
int
n_l = 62,
unsigned
int
n_i = 2,
unsigned
int
n_r = 50,
float
i_z = 10.,
float
o_z = 80.);
15
~MomentumEvaluator
()
override
;
16
17
int
Init
(
PHCompositeNode
*topNode)
override
;
18
int
process_event
(
PHCompositeNode
*topNode)
override
;
19
int
End
(
PHCompositeNode
*topNode)
override
;
20
21
private
:
22
TNtuple *
ntp_true
;
23
TNtuple *
ntp_reco
;
24
float
pt_search_scale
;
25
float
pz_search_scale
;
26
unsigned
int
event_counter
;
27
std::string
file_name
;
28
unsigned
int
n_inner_layers
;
29
unsigned
int
n_required_layers
;
30
float
inner_z_length
;
31
float
outer_z_length
;
32
};
33
34
#endif
coresoftware
blob
master
simulation
g4simulation
g4eval
MomentumEvaluator.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:14
using
1.8.2 with
sPHENIX GitHub integration