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
PHG4Prototype2HcalCellReco.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4Prototype2HcalCellReco.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4CALOPROTOTYPE_PHG4PROTOTYPE2HCALCELLRECO_H
4
#define G4CALOPROTOTYPE_PHG4PROTOTYPE2HCALCELLRECO_H
5
6
#include <phparameter/PHParameterInterface.h>
7
8
#include <
fun4all/SubsysReco.h
>
9
#include <string>
10
11
class
PHCompositeNode
;
12
13
class
PHG4Prototype2HcalCellReco
:
public
SubsysReco
,
public
PHParameterInterface
14
{
15
public
:
16
PHG4Prototype2HcalCellReco
(
const
std::string
&
name
=
"Prototype2HcalCELLRECO"
);
17
18
virtual
~PHG4Prototype2HcalCellReco
() {}
20
int
InitRun
(
PHCompositeNode
*topNode);
21
23
int
process_event
(
PHCompositeNode
*topNode);
24
25
void
SetDefaultParameters
();
26
27
void
Detector
(
const
std::string
&d) {
m_Detector
= d; }
28
void
checkenergy
(
const
int
i
= 1) {
m_CheckEnergyConservationFlag
=
i
; }
29
void
set_timing_window
(
const
double
tmi,
const
double
tma);
30
31
private
:
32
int
CheckEnergy
(
PHCompositeNode
*topNode);
33
std::string
m_Detector
;
34
std::string
m_HitNodeName
;
35
std::string
m_CellNodeName
;
36
int
m_CheckEnergyConservationFlag
;
37
38
double
m_Tmin
;
39
double
m_Tmax
;
40
};
41
42
#endif // G4DETECTORS_PHG4PROTOTYPE2HCALCELLRECO_H
prototype
blob
master
simulation
g4simulation
g4caloprototype
PHG4Prototype2HcalCellReco.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:29
using
1.8.2 with
sPHENIX GitHub integration