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
PHG4InputFilter.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4InputFilter.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4MAIN_PHG4INPUTFILTER_H
4
#define G4MAIN_PHG4INPUTFILTER_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <string>
9
10
class
PHCompositeNode
;
11
12
class
PHG4InputFilter
:
public
SubsysReco
13
{
14
public
:
15
PHG4InputFilter
(
const
std::string &
name
=
"G4INPUTFILTER"
);
16
~PHG4InputFilter
()
override
{}
17
18
int
process_event
(
PHCompositeNode
*topNode)
override
;
19
20
void
set_eta_range
(
const
double
min
,
const
double
max
) {
etamin
=
min
;
etamax
=
max
;}
21
void
set_etamin
(
const
double
min
) {
etamin
=
min
;}
22
void
set_etamax
(
const
double
max
) {
etamax
=
max
;}
23
void
set_ptmin
(
const
double
min
) {
ptmin
=
min
;}
24
void
set_ptmax
(
const
double
max
) {
ptmax
=
max
;}
25
26
protected
:
27
double
get_eta
(
const
double
x
,
const
double
y
,
const
double
z
);
28
double
etamin
;
29
double
etamax
;
30
double
ptmin
;
31
double
ptmax
;
32
33
};
34
35
#endif
36
coresoftware
blob
master
simulation
g4simulation
g4main
PHG4InputFilter.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:44
using
1.8.2 with
ECCE GitHub integration