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
G4RawTowerTTree.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4RawTowerTTree.h
1
#ifndef G4HISTOS_G4RAWTOWERTTREE_H
2
#define G4HISTOS_G4RAWTOWERTTREE_H
3
4
#include <
fun4all/SubsysReco.h
>
5
6
#include <string>
7
8
class
Fun4AllHistoManager
;
9
class
PHCompositeNode
;
10
class
TH1;
11
12
class
G4RawTowerTTree
:
public
SubsysReco
13
{
14
public
:
15
G4RawTowerTTree
(
const
std::string
&
name
=
"RAWTOWERTTREE"
);
16
~G4RawTowerTTree
()
override
{}
17
19
int
Init
(
PHCompositeNode
*)
override
;
20
22
int
process_event
(
PHCompositeNode
*)
override
;
23
24
int
End
(
PHCompositeNode
*)
override
;
25
26
void
Detector
(
const
std::string
&det);
27
28
void
SaveRawTowers
(
const
int
i
= 1) {
savetowers
=
i
; }
29
30
void
HistoFileName
(
const
std::string
&
name
) {
_histofilename
=
name
; }
31
32
protected
:
33
std::string
_detector
;
34
std::string
_outnodename
;
35
std::string
_towernodename
;
36
std::string
_towergeomnodename
;
37
std::string
_histofilename
;
38
int
savetowers
;
39
int
evtno
;
40
Fun4AllHistoManager
*
hm
;
41
TH1 *
etot_hist
;
42
};
43
44
#endif
coresoftware
blob
master
simulation
g4simulation
g4histos
G4RawTowerTTree.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:14
using
1.8.2 with
sPHENIX GitHub integration