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
RawClusterBuilderGraph.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RawClusterBuilderGraph.h
1
#ifndef CALORECO_RAWCLUSTERBUILDER_H
2
#define CALORECO_RAWCLUSTERBUILDER_H
3
4
#include <
fun4all/SubsysReco.h
>
5
6
#include <string>
7
8
class
PHCompositeNode
;
9
class
RawClusterContainer
;
10
11
class
RawClusterBuilderGraph
:
public
SubsysReco
12
{
13
public
:
14
explicit
RawClusterBuilderGraph
(
const
std::string
&
name
=
"RawClusterBuilderGraph"
);
15
~RawClusterBuilderGraph
()
override
{}
16
17
int
InitRun
(
PHCompositeNode
*topNode)
override
;
18
int
process_event
(
PHCompositeNode
*topNode)
override
;
19
int
End
(
PHCompositeNode
*topNode)
override
;
20
void
Detector
(
const
std::string
&d) {
detector
= d; }
21
22
void
set_threshold_energy
(
const
float
e
) {
_min_tower_e
=
e
; }
23
void
checkenergy
(
const
int
i
= 1) {
chkenergyconservation
=
i
; }
24
25
private
:
26
void
CreateNodes
(
PHCompositeNode
*topNode);
27
28
RawClusterContainer
*
_clusters
;
29
30
float
_min_tower_e
;
31
int
chkenergyconservation
;
32
33
std::string
detector
;
34
std::string
ClusterNodeName
;
35
};
36
37
#endif
coresoftware
blob
master
offline
packages
CaloReco
RawClusterBuilderGraph.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration