Class Reference for E1039 Core & Analysis Software
PHG4InputFilter.h
Go to the documentation of this file.
1
#ifndef PHG4INPUTFILTER_H__
2
#define PHG4INPUTFILTER_H__
3
4
#include <
fun4all/SubsysReco.h
>
5
6
#include <string>
7
8
class
PHCompositeNode
;
9
10
class
PHG4InputFilter
:
public
SubsysReco
11
{
12
public
:
13
PHG4InputFilter
(
const
std::string &name =
"G4INPUTFILTER"
);
14
virtual
~PHG4InputFilter
() {}
15
16
int
process_event
(
PHCompositeNode
*topNode);
17
18
void
set_eta_range
(
const
double
min,
const
double
max) {
etamin
= min;
etamax
= max;}
19
void
set_etamin
(
const
double
min) {
etamin
= min;}
20
void
set_etamax
(
const
double
max) {
etamax
= max;}
21
void
set_ptmin
(
const
double
min) {
ptmin
= min;}
22
void
set_ptmax
(
const
double
max) {
ptmax
= max;}
23
24
protected
:
25
double
get_eta
(
const
double
x,
const
double
y,
const
double
z);
26
double
etamin
;
27
double
etamax
;
28
double
ptmin
;
29
double
ptmax
;
30
31
};
32
33
#endif
34
SubsysReco.h
PHCompositeNode
Definition:
PHCompositeNode.h:14
PHG4InputFilter
Definition:
PHG4InputFilter.h:11
PHG4InputFilter::~PHG4InputFilter
virtual ~PHG4InputFilter()
Definition:
PHG4InputFilter.h:14
PHG4InputFilter::set_ptmax
void set_ptmax(const double max)
Definition:
PHG4InputFilter.h:22
PHG4InputFilter::set_etamax
void set_etamax(const double max)
Definition:
PHG4InputFilter.h:20
PHG4InputFilter::etamin
double etamin
Definition:
PHG4InputFilter.h:26
PHG4InputFilter::process_event
int process_event(PHCompositeNode *topNode)
Definition:
PHG4InputFilter.cc:21
PHG4InputFilter::ptmin
double ptmin
Definition:
PHG4InputFilter.h:28
PHG4InputFilter::etamax
double etamax
Definition:
PHG4InputFilter.h:27
PHG4InputFilter::PHG4InputFilter
PHG4InputFilter(const std::string &name="G4INPUTFILTER")
Definition:
PHG4InputFilter.cc:12
PHG4InputFilter::set_ptmin
void set_ptmin(const double min)
Definition:
PHG4InputFilter.h:21
PHG4InputFilter::get_eta
double get_eta(const double x, const double y, const double z)
Definition:
PHG4InputFilter.cc:98
PHG4InputFilter::ptmax
double ptmax
Definition:
PHG4InputFilter.h:29
PHG4InputFilter::set_eta_range
void set_eta_range(const double min, const double max)
Definition:
PHG4InputFilter.h:18
PHG4InputFilter::set_etamin
void set_etamin(const double min)
Definition:
PHG4InputFilter.h:19
SubsysReco
Definition:
SubsysReco.h:21
e1039-core
simulation
g4main
PHG4InputFilter.h
Built by
Haiwang Yu
. updated:
Thu Jan 30 2025 10:15:16
using
1.9.1 with
SeaQuest GitHub integration