Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
simulation
g4simulation
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
g4epd
g4eval
g4gdml
g4histos
G4CellNtuple.cc
G4CellNtuple.h
G4EdepNtuple.cc
G4EdepNtuple.h
G4EvtTree.h
G4HitNtuple.cc
G4HitNtuple.h
G4HitTTree.cc
G4HitTTree.h
G4RawTowerTTree.cc
G4RawTowerTTree.h
G4RootHitContainer.cc
G4RootHitContainer.h
G4RootHitContainerLinkDef.h
G4RootRawTower.cc
G4RootRawTower.h
G4RootRawTowerContainer.cc
G4RootRawTowerContainer.h
G4RootRawTowerContainerLinkDef.h
G4RootRawTowerLinkDef.h
G4RootScintillatorSlat.cc
G4RootScintillatorSlat.h
G4RootScintillatorSlatContainer.cc
G4RootScintillatorSlatContainer.h
G4RootScintillatorSlatContainerLinkDef.h
G4RootScintillatorSlatLinkDef.h
G4RootScintillatorTower.cc
G4RootScintillatorTower.h
G4RootScintillatorTowerContainer.cc
G4RootScintillatorTowerContainer.h
G4RootScintillatorTowerContainerLinkDef.h
G4RootScintillatorTowerLinkDef.h
G4ScintillatorSlatTTree.cc
G4ScintillatorSlatTTree.h
G4ScintillatorTowerTTree.cc
G4ScintillatorTowerTTree.h
G4SnglNtuple.cc
G4SnglNtuple.h
G4SnglTree.cc
G4SnglTree.h
G4TowerNtuple.cc
G4TowerNtuple.h
G4VtxNtuple.cc
G4VtxNtuple.h
g4ihcal
g4intt
g4jets
g4main
g4micromegas
g4mvtx
g4ohcal
g4tpc
g4trackfastsim
g4tracking
g4vertex
g4waveformsim
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
G4RootHitContainer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4RootHitContainer.h
1
#ifndef G4HISTOS_G4ROOTHITCONTAINER_H
2
#define G4HISTOS_G4ROOTHITCONTAINER_H
3
4
#include <
phool/PHObject.h
>
5
6
#include <iostream>
// for cout, ostream
7
8
class
PHG4Hit
;
9
class
TClonesArray;
10
11
class
G4RootHitContainer
:
public
PHObject
12
{
13
public
:
14
G4RootHitContainer
();
15
~G4RootHitContainer
()
override
;
16
17
// from PHObject
18
void
identify
(std::ostream&
os
= std::cout)
const override
;
19
void
Reset
()
override
;
20
21
PHG4Hit
*
AddHit
(
const
PHG4Hit
*g4hit);
22
void
set_etotal
(
const
float
e
) {
etotal
=
e
; }
23
float
get_etotal
()
const
{
return
etotal
; }
24
25
void
set_eion
(
const
float
e
) {
eion
=
e
; }
26
float
get_eion
()
const
{
return
eion
; }
27
28
void
set_leakage
(
const
float
f
) {
leakage
=
f
; }
29
float
get_leakage
()
const
{
return
leakage
; }
30
31
void
set_event
(
const
int
i
) {
event
=
i
; }
32
int
get_event
()
const
{
return
event
; }
33
34
35
protected
:
36
float
etotal
;
37
float
eion
;
38
float
leakage
;
39
int
event
;
40
TClonesArray*
SnglHits
;
41
42
ClassDefOverride(
G4RootHitContainer
, 1)
43
};
44
45
#endif
coresoftware
blob
master
simulation
g4simulation
g4histos
G4RootHitContainer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:14
using
1.8.2 with
sPHENIX GitHub integration