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
PHG4HcalCellReco.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4HcalCellReco.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4HCALCELLRECO_H
4
#define G4DETECTORS_PHG4HCALCELLRECO_H
5
6
#include <phparameter/PHParameterInterface.h>
7
8
#include <
fun4all/SubsysReco.h
>
9
10
#include <cmath>
11
#include <string>
12
13
class
PHCompositeNode
;
14
15
class
PHG4HcalCellReco
:
public
SubsysReco
,
public
PHParameterInterface
16
{
17
public
:
18
PHG4HcalCellReco
(
const
std::string
&
name
=
"HcalCellReco"
);
19
20
~PHG4HcalCellReco
()
override
{}
21
23
int
InitRun
(
PHCompositeNode
*topNode)
override
;
24
26
int
process_event
(
PHCompositeNode
*topNode)
override
;
27
28
void
SetDefaultParameters
()
override
;
29
30
void
Detector
(
const
std::string
&d) {
detector
= d; }
31
void
checkenergy
(
const
int
i
= 1) {
chkenergyconservation
=
i
; }
32
33
void
set_timing_window
(
const
double
tmi,
const
double
tma);
34
35
void
set_fixed_energy
(
const
double
efix) {
m_FixedEnergy
= efix; }
36
37
protected
:
38
int
CheckEnergy
(
PHCompositeNode
*topNode);
39
std::string
detector
;
40
std::string
hitnodename
;
41
std::string
cellnodename
;
42
43
int
chkenergyconservation
= 0;
44
45
double
tmin
= NAN;
46
double
tmax
= NAN;
47
double
m_DeltaT
= NAN;
48
double
m_FixedEnergy
= NAN;
49
};
50
51
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4HcalCellReco.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration